From 8e492104307e7bf760df046e3008b84435b517e7 Mon Sep 17 00:00:00 2001 From: Ewout Kramer Date: Tue, 19 Nov 2024 14:24:42 +0100 Subject: [PATCH 1/5] Changed code to expose GetElementPairs() --- .../Model/Generated/Attachment.cs | 17 +- .../Model/Generated/BackboneElement.cs | 6 +- .../Model/Generated/BackboneType.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Binary.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Bundle.cs | 36 ++-- .../Model/Generated/CodeableConcept.cs | 6 +- .../Model/Generated/CodeableReference.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Coding.cs | 6 +- .../Model/Generated/ContactDetail.cs | 6 +- .../Model/Generated/ContactPoint.cs | 6 +- .../Model/Generated/DomainResource.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Element.cs | 6 +- .../Model/Generated/Extension.cs | 6 +- .../Model/Generated/Identifier.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Meta.cs | 6 +- .../Model/Generated/Narrative.cs | 6 +- .../Model/Generated/OperationOutcome.cs | 12 +- .../Model/Generated/Parameters.cs | 12 +- src/Hl7.Fhir.Base/Model/Generated/Period.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Quantity.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Range.cs | 6 +- src/Hl7.Fhir.Base/Model/Generated/Resource.cs | 6 +- .../Model/Generated/ResourceReference.cs | 6 +- .../Model/Generated/Signature.cs | 6 +- .../Model/Generated/UsageContext.cs | 6 +- .../Model/Generated/CapabilityStatement.cs | 84 ++++----- .../Model/Generated/CodeSystem.cs | 36 ++-- .../Model/Generated/ElementDefinition.cs | 60 +++---- .../Model/Generated/RelatedArtifact.cs | 6 +- .../Model/Generated/StructureDefinition.cs | 30 ++-- .../Model/Generated/ValueSet.cs | 78 ++++----- src/Hl7.Fhir.R4/Model/Generated/Account.cs | 18 +- .../Model/Generated/ActivityDefinition.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Address.cs | 6 +- .../Model/Generated/AdverseEvent.cs | 18 +- .../Model/Generated/AllergyIntolerance.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/Annotation.cs | 6 +- .../Model/Generated/Appointment.cs | 12 +- .../Model/Generated/AppointmentResponse.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs | 36 ++-- src/Hl7.Fhir.R4/Model/Generated/Basic.cs | 6 +- .../Generated/BiologicallyDerivedProduct.cs | 30 ++-- .../Model/Generated/BodyStructure.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs | 12 +- .../Model/Generated/CatalogEntry.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs | 12 +- .../Model/Generated/ChargeItemDefinition.cs | 24 +-- src/Hl7.Fhir.R4/Model/Generated/Claim.cs | 72 ++++---- .../Model/Generated/ClaimResponse.cs | 78 ++++----- .../Model/Generated/ClinicalImpression.cs | 18 +- .../Model/Generated/Communication.cs | 12 +- .../Model/Generated/CommunicationRequest.cs | 12 +- .../Model/Generated/CompartmentDefinition.cs | 12 +- .../Model/Generated/Composition.cs | 30 ++-- src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs | 36 ++-- src/Hl7.Fhir.R4/Model/Generated/Condition.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Consent.cs | 36 ++-- src/Hl7.Fhir.R4/Model/Generated/Contract.cs | 96 +++++------ .../Model/Generated/Contributor.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Coverage.cs | 24 +-- .../Generated/CoverageEligibilityRequest.cs | 30 ++-- .../Generated/CoverageEligibilityResponse.cs | 30 ++-- .../Model/Generated/DataRequirement.cs | 24 +-- .../Model/Generated/DetectedIssue.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Device.cs | 36 ++-- .../Model/Generated/DeviceDefinition.cs | 42 ++--- .../Model/Generated/DeviceMetric.cs | 12 +- .../Model/Generated/DeviceRequest.cs | 12 +- .../Model/Generated/DeviceUseStatement.cs | 6 +- .../Model/Generated/DiagnosticReport.cs | 12 +- .../Model/Generated/DocumentManifest.cs | 12 +- .../Model/Generated/DocumentReference.cs | 24 +-- src/Hl7.Fhir.R4/Model/Generated/Dosage.cs | 12 +- .../Generated/EffectEvidenceSynthesis.cs | 42 ++--- src/Hl7.Fhir.R4/Model/Generated/Encounter.cs | 42 ++--- src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs | 6 +- .../Model/Generated/EnrollmentRequest.cs | 6 +- .../Model/Generated/EnrollmentResponse.cs | 6 +- .../Model/Generated/EpisodeOfCare.cs | 18 +- .../Model/Generated/EventDefinition.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Evidence.cs | 6 +- .../Model/Generated/EvidenceVariable.cs | 12 +- .../Model/Generated/ExampleScenario.cs | 54 +++--- .../Model/Generated/ExplanationOfBenefit.cs | 126 +++++++------- src/Hl7.Fhir.R4/Model/Generated/Expression.cs | 6 +- .../Model/Generated/FamilyMemberHistory.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/Flag.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Goal.cs | 12 +- .../Model/Generated/GraphDefinition.cs | 24 +-- src/Hl7.Fhir.R4/Model/Generated/Group.cs | 18 +- .../Model/Generated/GuidanceResponse.cs | 6 +- .../Model/Generated/HealthcareService.cs | 24 +-- src/Hl7.Fhir.R4/Model/Generated/HumanName.cs | 6 +- .../Model/Generated/ImagingStudy.cs | 24 +-- .../Model/Generated/Immunization.cs | 30 ++-- .../Model/Generated/ImmunizationEvaluation.cs | 6 +- .../Generated/ImmunizationRecommendation.cs | 18 +- .../Model/Generated/ImplementationGuide.cs | 72 ++++---- .../Model/Generated/InsurancePlan.cs | 60 +++---- src/Hl7.Fhir.R4/Model/Generated/Invoice.cs | 24 +-- src/Hl7.Fhir.R4/Model/Generated/Library.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Linkage.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/List.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/Location.cs | 18 +- .../Model/Generated/MarketingStatus.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Measure.cs | 36 ++-- .../Model/Generated/MeasureReport.cs | 42 ++--- src/Hl7.Fhir.R4/Model/Generated/Media.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Medication.cs | 18 +- .../Generated/MedicationAdministration.cs | 18 +- .../Model/Generated/MedicationDispense.cs | 18 +- .../Model/Generated/MedicationKnowledge.cs | 102 +++++------ .../Model/Generated/MedicationRequest.cs | 24 +-- .../Model/Generated/MedicationStatement.cs | 6 +- .../Model/Generated/MedicinalProduct.cs | 36 ++-- .../MedicinalProductAuthorization.cs | 18 +- .../MedicinalProductContraindication.cs | 12 +- .../Generated/MedicinalProductIndication.cs | 12 +- .../Generated/MedicinalProductIngredient.cs | 30 ++-- .../Generated/MedicinalProductInteraction.cs | 12 +- .../Generated/MedicinalProductManufactured.cs | 6 +- .../Generated/MedicinalProductPackaged.cs | 18 +- .../MedicinalProductPharmaceutical.cs | 30 ++-- .../MedicinalProductUndesirableEffect.cs | 6 +- .../Model/Generated/MessageDefinition.cs | 18 +- .../Model/Generated/MessageHeader.cs | 24 +-- .../Model/Generated/MolecularSequence.cs | 54 +++--- src/Hl7.Fhir.R4/Model/Generated/Money.cs | 6 +- .../Model/Generated/NamingSystem.cs | 12 +- .../Model/Generated/NutritionOrder.cs | 42 ++--- .../Model/Generated/Observation.cs | 18 +- .../Model/Generated/ObservationDefinition.cs | 18 +- .../Model/Generated/OperationDefinition.cs | 30 ++-- .../Model/Generated/Organization.cs | 12 +- .../Generated/OrganizationAffiliation.cs | 6 +- .../Model/Generated/ParameterDefinition.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Patient.cs | 24 +-- .../Model/Generated/PaymentNotice.cs | 6 +- .../Model/Generated/PaymentReconciliation.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Person.cs | 12 +- .../Model/Generated/PlanDefinition.cs | 48 +++--- src/Hl7.Fhir.R4/Model/Generated/Population.cs | 6 +- .../Model/Generated/Practitioner.cs | 12 +- .../Model/Generated/PractitionerRole.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Procedure.cs | 18 +- .../Model/Generated/ProdCharacteristic.cs | 6 +- .../Model/Generated/ProductShelfLife.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Provenance.cs | 18 +- .../Model/Generated/Questionnaire.cs | 30 ++-- .../Model/Generated/QuestionnaireResponse.cs | 18 +- src/Hl7.Fhir.R4/Model/Generated/Ratio.cs | 6 +- .../Model/Generated/RelatedPerson.cs | 12 +- .../Model/Generated/RequestGroup.cs | 24 +-- .../Model/Generated/ResearchDefinition.cs | 6 +- .../Generated/ResearchElementDefinition.cs | 12 +- .../Model/Generated/ResearchStudy.cs | 18 +- .../Model/Generated/ResearchSubject.cs | 6 +- .../Model/Generated/RiskAssessment.cs | 12 +- .../Model/Generated/RiskEvidenceSynthesis.cs | 36 ++-- .../Model/Generated/SampledData.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Schedule.cs | 6 +- .../Model/Generated/SearchParameter.cs | 12 +- .../Model/Generated/ServiceRequest.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Slot.cs | 6 +- src/Hl7.Fhir.R4/Model/Generated/Specimen.cs | 24 +-- .../Model/Generated/SpecimenDefinition.cs | 30 ++-- .../Model/Generated/StructureMap.cs | 54 +++--- .../Model/Generated/Subscription.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/Substance.cs | 18 +- .../Model/Generated/SubstanceAmount.cs | 12 +- .../Model/Generated/SubstanceNucleicAcid.cs | 24 +-- .../Model/Generated/SubstancePolymer.cs | 42 ++--- .../Model/Generated/SubstanceProtein.cs | 12 +- .../SubstanceReferenceInformation.cs | 30 ++-- .../Generated/SubstanceSourceMaterial.cs | 42 ++--- .../Model/Generated/SubstanceSpecification.cs | 66 +++---- .../Model/Generated/SupplyDelivery.cs | 12 +- .../Model/Generated/SupplyRequest.cs | 12 +- src/Hl7.Fhir.R4/Model/Generated/Task.cs | 24 +-- .../Generated/TerminologyCapabilities.cs | 66 +++---- src/Hl7.Fhir.R4/Model/Generated/TestReport.cs | 60 +++---- src/Hl7.Fhir.R4/Model/Generated/TestScript.cs | 102 +++++------ src/Hl7.Fhir.R4/Model/Generated/Timing.cs | 12 +- .../Model/Generated/TriggerDefinition.cs | 6 +- .../Model/Generated/VerificationResult.cs | 24 +-- .../Model/Generated/VisionPrescription.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Account.cs | 18 +- .../Model/Generated/ActivityDefinition.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Address.cs | 6 +- .../AdministrableProductDefinition.cs | 30 ++-- .../Model/Generated/AdverseEvent.cs | 18 +- .../Model/Generated/AllergyIntolerance.cs | 12 +- .../Model/Generated/Annotation.cs | 6 +- .../Model/Generated/Appointment.cs | 12 +- .../Model/Generated/AppointmentResponse.cs | 6 +- .../Model/Generated/AuditEvent.cs | 36 ++-- src/Hl7.Fhir.R4B/Model/Generated/Basic.cs | 6 +- .../Generated/BiologicallyDerivedProduct.cs | 30 ++-- .../Model/Generated/BodyStructure.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs | 12 +- .../Model/Generated/CatalogEntry.cs | 12 +- .../Model/Generated/ChargeItem.cs | 12 +- .../Model/Generated/ChargeItemDefinition.cs | 24 +-- src/Hl7.Fhir.R4B/Model/Generated/Citation.cs | 144 ++++++++-------- src/Hl7.Fhir.R4B/Model/Generated/Claim.cs | 72 ++++---- .../Model/Generated/ClaimResponse.cs | 78 ++++----- .../Model/Generated/ClinicalImpression.cs | 18 +- .../Model/Generated/ClinicalUseDefinition.cs | 48 +++--- .../Model/Generated/Communication.cs | 12 +- .../Model/Generated/CommunicationRequest.cs | 12 +- .../Model/Generated/CompartmentDefinition.cs | 12 +- .../Model/Generated/Composition.cs | 30 ++-- .../Model/Generated/ConceptMap.cs | 36 ++-- src/Hl7.Fhir.R4B/Model/Generated/Condition.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Consent.cs | 36 ++-- src/Hl7.Fhir.R4B/Model/Generated/Contract.cs | 96 +++++------ .../Model/Generated/Contributor.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs | 24 +-- .../Generated/CoverageEligibilityRequest.cs | 30 ++-- .../Generated/CoverageEligibilityResponse.cs | 30 ++-- .../Model/Generated/DataRequirement.cs | 24 +-- .../Model/Generated/DetectedIssue.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Device.cs | 36 ++-- .../Model/Generated/DeviceDefinition.cs | 42 ++--- .../Model/Generated/DeviceMetric.cs | 12 +- .../Model/Generated/DeviceRequest.cs | 12 +- .../Model/Generated/DeviceUseStatement.cs | 6 +- .../Model/Generated/DiagnosticReport.cs | 12 +- .../Model/Generated/DocumentManifest.cs | 12 +- .../Model/Generated/DocumentReference.cs | 24 +-- src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs | 12 +- src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs | 42 ++--- src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs | 6 +- .../Model/Generated/EnrollmentRequest.cs | 6 +- .../Model/Generated/EnrollmentResponse.cs | 6 +- .../Model/Generated/EpisodeOfCare.cs | 18 +- .../Model/Generated/EventDefinition.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs | 48 +++--- .../Model/Generated/EvidenceReport.cs | 30 ++-- .../Model/Generated/EvidenceVariable.cs | 24 +-- .../Model/Generated/ExampleScenario.cs | 54 +++--- .../Model/Generated/ExplanationOfBenefit.cs | 126 +++++++------- .../Model/Generated/Expression.cs | 6 +- .../Model/Generated/FamilyMemberHistory.cs | 12 +- src/Hl7.Fhir.R4B/Model/Generated/Flag.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Goal.cs | 12 +- .../Model/Generated/GraphDefinition.cs | 24 +-- src/Hl7.Fhir.R4B/Model/Generated/Group.cs | 18 +- .../Model/Generated/GuidanceResponse.cs | 6 +- .../Model/Generated/HealthcareService.cs | 24 +-- src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs | 6 +- .../Model/Generated/ImagingStudy.cs | 24 +-- .../Model/Generated/Immunization.cs | 30 ++-- .../Model/Generated/ImmunizationEvaluation.cs | 6 +- .../Generated/ImmunizationRecommendation.cs | 18 +- .../Model/Generated/ImplementationGuide.cs | 72 ++++---- .../Model/Generated/Ingredient.cs | 30 ++-- .../Model/Generated/InsurancePlan.cs | 60 +++---- src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs | 24 +-- src/Hl7.Fhir.R4B/Model/Generated/Library.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs | 12 +- src/Hl7.Fhir.R4B/Model/Generated/List.cs | 12 +- src/Hl7.Fhir.R4B/Model/Generated/Location.cs | 18 +- .../Generated/ManufacturedItemDefinition.cs | 12 +- .../Model/Generated/MarketingStatus.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Measure.cs | 36 ++-- .../Model/Generated/MeasureReport.cs | 42 ++--- src/Hl7.Fhir.R4B/Model/Generated/Media.cs | 6 +- .../Model/Generated/Medication.cs | 18 +- .../Generated/MedicationAdministration.cs | 18 +- .../Model/Generated/MedicationDispense.cs | 18 +- .../Model/Generated/MedicationKnowledge.cs | 102 +++++------ .../Model/Generated/MedicationRequest.cs | 24 +-- .../Model/Generated/MedicationStatement.cs | 6 +- .../Generated/MedicinalProductDefinition.cs | 48 +++--- .../Model/Generated/MessageDefinition.cs | 18 +- .../Model/Generated/MessageHeader.cs | 24 +-- .../Model/Generated/MolecularSequence.cs | 54 +++--- src/Hl7.Fhir.R4B/Model/Generated/Money.cs | 6 +- .../Model/Generated/NamingSystem.cs | 12 +- .../Model/Generated/NutritionOrder.cs | 42 ++--- .../Model/Generated/NutritionProduct.cs | 30 ++-- .../Model/Generated/Observation.cs | 18 +- .../Model/Generated/ObservationDefinition.cs | 18 +- .../Model/Generated/OperationDefinition.cs | 30 ++-- .../Model/Generated/Organization.cs | 12 +- .../Generated/OrganizationAffiliation.cs | 6 +- .../Generated/PackagedProductDefinition.cs | 36 ++-- .../Model/Generated/ParameterDefinition.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Patient.cs | 24 +-- .../Model/Generated/PaymentNotice.cs | 6 +- .../Model/Generated/PaymentReconciliation.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Person.cs | 12 +- .../Model/Generated/PlanDefinition.cs | 48 +++--- .../Model/Generated/Population.cs | 6 +- .../Model/Generated/Practitioner.cs | 12 +- .../Model/Generated/PractitionerRole.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs | 18 +- .../Model/Generated/ProdCharacteristic.cs | 6 +- .../Model/Generated/ProductShelfLife.cs | 6 +- .../Model/Generated/Provenance.cs | 18 +- .../Model/Generated/Questionnaire.cs | 30 ++-- .../Model/Generated/QuestionnaireResponse.cs | 18 +- src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs | 6 +- .../Model/Generated/RatioRange.cs | 6 +- .../Model/Generated/RegulatedAuthorization.cs | 12 +- .../Model/Generated/RelatedPerson.cs | 12 +- .../Model/Generated/RequestGroup.cs | 24 +-- .../Model/Generated/ResearchDefinition.cs | 6 +- .../Generated/ResearchElementDefinition.cs | 12 +- .../Model/Generated/ResearchStudy.cs | 18 +- .../Model/Generated/ResearchSubject.cs | 6 +- .../Model/Generated/RiskAssessment.cs | 12 +- .../Model/Generated/SampledData.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs | 6 +- .../Model/Generated/SearchParameter.cs | 12 +- .../Model/Generated/ServiceRequest.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Slot.cs | 6 +- src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs | 24 +-- .../Model/Generated/SpecimenDefinition.cs | 30 ++-- .../Model/Generated/StructureMap.cs | 54 +++--- .../Model/Generated/Subscription.cs | 12 +- .../Model/Generated/SubscriptionStatus.cs | 12 +- .../Model/Generated/SubscriptionTopic.cs | 36 ++-- src/Hl7.Fhir.R4B/Model/Generated/Substance.cs | 18 +- .../Model/Generated/SubstanceDefinition.cs | 66 +++---- .../Model/Generated/SupplyDelivery.cs | 12 +- .../Model/Generated/SupplyRequest.cs | 12 +- src/Hl7.Fhir.R4B/Model/Generated/Task.cs | 24 +-- .../Generated/TerminologyCapabilities.cs | 66 +++---- .../Model/Generated/TestReport.cs | 60 +++---- .../Model/Generated/TestScript.cs | 102 +++++------ src/Hl7.Fhir.R4B/Model/Generated/Timing.cs | 12 +- .../Model/Generated/TriggerDefinition.cs | 6 +- .../Model/Generated/VerificationResult.cs | 24 +-- .../Model/Generated/VisionPrescription.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Account.cs | 42 ++--- .../Model/Generated/ActivityDefinition.cs | 18 +- .../Model/Generated/ActorDefinition.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Address.cs | 6 +- .../AdministrableProductDefinition.cs | 30 ++-- .../Model/Generated/AdverseEvent.cs | 48 +++--- .../Model/Generated/AllergyIntolerance.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Annotation.cs | 6 +- .../Model/Generated/Appointment.cs | 36 ++-- .../Model/Generated/AppointmentResponse.cs | 6 +- .../Model/Generated/ArtifactAssessment.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs | 36 ++-- .../Model/Generated/Availability.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Basic.cs | 6 +- .../Generated/BiologicallyDerivedProduct.cs | 18 +- .../BiologicallyDerivedProductDispense.cs | 12 +- .../Model/Generated/BodyStructure.cs | 24 +-- src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs | 12 +- .../Model/Generated/ChargeItemDefinition.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Citation.cs | 114 ++++++------ src/Hl7.Fhir.R5/Model/Generated/Claim.cs | 84 ++++----- .../Model/Generated/ClaimResponse.cs | 96 +++++------ .../Model/Generated/ClinicalImpression.cs | 12 +- .../Model/Generated/ClinicalUseDefinition.cs | 48 +++--- .../Model/Generated/Communication.cs | 12 +- .../Model/Generated/CommunicationRequest.cs | 12 +- .../Model/Generated/CompartmentDefinition.cs | 12 +- .../Model/Generated/Composition.cs | 24 +-- src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs | 54 +++--- src/Hl7.Fhir.R5/Model/Generated/Condition.cs | 18 +- .../Model/Generated/ConditionDefinition.cs | 36 ++-- src/Hl7.Fhir.R5/Model/Generated/Consent.cs | 36 ++-- src/Hl7.Fhir.R5/Model/Generated/Contract.cs | 96 +++++------ .../Model/Generated/Contributor.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Coverage.cs | 30 ++-- .../Generated/CoverageEligibilityRequest.cs | 36 ++-- .../Generated/CoverageEligibilityResponse.cs | 36 ++-- .../Model/Generated/DataRequirement.cs | 30 ++-- .../Model/Generated/DetectedIssue.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Device.cs | 36 ++-- .../Model/Generated/DeviceAssociation.cs | 12 +- .../Model/Generated/DeviceDefinition.cs | 102 +++++------ .../Model/Generated/DeviceDispense.cs | 12 +- .../Model/Generated/DeviceMetric.cs | 12 +- .../Model/Generated/DeviceRequest.cs | 12 +- .../Model/Generated/DeviceUsage.cs | 12 +- .../Model/Generated/DiagnosticReport.cs | 18 +- .../Model/Generated/DocumentReference.cs | 30 ++-- src/Hl7.Fhir.R5/Model/Generated/Dosage.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/Encounter.cs | 36 ++-- .../Model/Generated/EncounterHistory.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs | 12 +- .../Model/Generated/EnrollmentRequest.cs | 6 +- .../Model/Generated/EnrollmentResponse.cs | 6 +- .../Model/Generated/EpisodeOfCare.cs | 24 +-- .../Model/Generated/EventDefinition.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Evidence.cs | 48 +++--- .../Model/Generated/EvidenceReport.cs | 36 ++-- .../Model/Generated/EvidenceVariable.cs | 36 ++-- .../Model/Generated/ExampleScenario.cs | 54 +++--- .../Model/Generated/ExplanationOfBenefit.cs | 150 ++++++++-------- src/Hl7.Fhir.R5/Model/Generated/Expression.cs | 6 +- .../Model/Generated/ExtendedContactDetail.cs | 6 +- .../Model/Generated/FamilyMemberHistory.cs | 24 +-- src/Hl7.Fhir.R5/Model/Generated/Flag.cs | 6 +- .../Model/Generated/FormularyItem.cs | 6 +- .../Model/Generated/GenomicStudy.cs | 36 ++-- src/Hl7.Fhir.R5/Model/Generated/Goal.cs | 12 +- .../Model/Generated/GraphDefinition.cs | 24 +-- src/Hl7.Fhir.R5/Model/Generated/Group.cs | 18 +- .../Model/Generated/GuidanceResponse.cs | 6 +- .../Model/Generated/HealthcareService.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/HumanName.cs | 6 +- .../Model/Generated/ImagingSelection.cs | 30 ++-- .../Model/Generated/ImagingStudy.cs | 24 +-- .../Model/Generated/Immunization.cs | 30 ++-- .../Model/Generated/ImmunizationEvaluation.cs | 6 +- .../Generated/ImmunizationRecommendation.cs | 18 +- .../Model/Generated/ImplementationGuide.cs | 72 ++++---- src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs | 30 ++-- .../Model/Generated/InsurancePlan.cs | 54 +++--- .../Model/Generated/InventoryItem.cs | 42 ++--- .../Model/Generated/InventoryReport.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Invoice.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Library.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Linkage.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/List.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/Location.cs | 12 +- .../Generated/ManufacturedItemDefinition.cs | 24 +-- .../Model/Generated/MarketingStatus.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Measure.cs | 42 ++--- .../Model/Generated/MeasureReport.cs | 42 ++--- src/Hl7.Fhir.R5/Model/Generated/Medication.cs | 18 +- .../Generated/MedicationAdministration.cs | 18 +- .../Model/Generated/MedicationDispense.cs | 18 +- .../Model/Generated/MedicationKnowledge.cs | 114 ++++++------ .../Model/Generated/MedicationRequest.cs | 24 +-- .../Model/Generated/MedicationStatement.cs | 12 +- .../Generated/MedicinalProductDefinition.cs | 48 +++--- .../Model/Generated/MessageDefinition.cs | 18 +- .../Model/Generated/MessageHeader.cs | 24 +-- .../Model/Generated/MolecularSequence.cs | 24 +-- .../Model/Generated/MonetaryComponent.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Money.cs | 6 +- .../Model/Generated/NamingSystem.cs | 12 +- .../Model/Generated/NutritionIntake.cs | 24 +-- .../Model/Generated/NutritionOrder.cs | 66 +++---- .../Model/Generated/NutritionProduct.cs | 30 ++-- .../Model/Generated/Observation.cs | 24 +-- .../Model/Generated/ObservationDefinition.cs | 18 +- .../Model/Generated/OperationDefinition.cs | 30 ++-- .../Model/Generated/Organization.cs | 12 +- .../Generated/OrganizationAffiliation.cs | 6 +- .../Generated/PackagedProductDefinition.cs | 30 ++-- .../Model/Generated/ParameterDefinition.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Patient.cs | 24 +-- .../Model/Generated/PaymentNotice.cs | 6 +- .../Model/Generated/PaymentReconciliation.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Permission.cs | 36 ++-- src/Hl7.Fhir.R5/Model/Generated/Person.cs | 18 +- .../Model/Generated/PlanDefinition.cs | 72 ++++---- .../Model/Generated/Practitioner.cs | 18 +- .../Model/Generated/PractitionerRole.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Procedure.cs | 18 +- .../Model/Generated/ProductShelfLife.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Provenance.cs | 18 +- .../Model/Generated/Questionnaire.cs | 30 ++-- .../Model/Generated/QuestionnaireResponse.cs | 18 +- src/Hl7.Fhir.R5/Model/Generated/Ratio.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs | 6 +- .../Model/Generated/RegulatedAuthorization.cs | 12 +- .../Model/Generated/RelatedPerson.cs | 12 +- .../Model/Generated/RequestOrchestration.cs | 48 +++--- .../Model/Generated/Requirements.cs | 12 +- .../Model/Generated/ResearchStudy.cs | 48 +++--- .../Model/Generated/ResearchSubject.cs | 12 +- .../Model/Generated/RiskAssessment.cs | 12 +- .../Model/Generated/SampledData.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Schedule.cs | 6 +- .../Model/Generated/SearchParameter.cs | 12 +- .../Model/Generated/ServiceRequest.cs | 24 +-- src/Hl7.Fhir.R5/Model/Generated/Slot.cs | 6 +- src/Hl7.Fhir.R5/Model/Generated/Specimen.cs | 30 ++-- .../Model/Generated/SpecimenDefinition.cs | 30 ++-- .../Model/Generated/StructureMap.cs | 60 +++---- .../Model/Generated/Subscription.cs | 18 +- .../Model/Generated/SubscriptionStatus.cs | 12 +- .../Model/Generated/SubscriptionTopic.cs | 36 ++-- src/Hl7.Fhir.R5/Model/Generated/Substance.cs | 12 +- .../Model/Generated/SubstanceDefinition.cs | 72 ++++---- .../Model/Generated/SubstanceNucleicAcid.cs | 24 +-- .../Model/Generated/SubstancePolymer.cs | 42 ++--- .../Model/Generated/SubstanceProtein.cs | 12 +- .../SubstanceReferenceInformation.cs | 24 +-- .../Generated/SubstanceSourceMaterial.cs | 42 ++--- .../Model/Generated/SupplyDelivery.cs | 12 +- .../Model/Generated/SupplyRequest.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/Task.cs | 30 ++-- .../Generated/TerminologyCapabilities.cs | 66 +++---- src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs | 48 +++--- src/Hl7.Fhir.R5/Model/Generated/TestReport.cs | 66 +++---- src/Hl7.Fhir.R5/Model/Generated/TestScript.cs | 114 ++++++------ src/Hl7.Fhir.R5/Model/Generated/Timing.cs | 12 +- src/Hl7.Fhir.R5/Model/Generated/Transport.cs | 24 +-- .../Model/Generated/TriggerDefinition.cs | 6 +- .../Model/Generated/VerificationResult.cs | 24 +-- .../Model/Generated/VirtualServiceDetail.cs | 6 +- .../Model/Generated/VisionPrescription.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Account.cs | 18 +- .../Model/Generated/ActivityDefinition.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Address.cs | 6 +- .../Model/Generated/AdverseEvent.cs | 12 +- .../Model/Generated/AllergyIntolerance.cs | 12 +- .../Model/Generated/Annotation.cs | 6 +- .../Model/Generated/Appointment.cs | 12 +- .../Model/Generated/AppointmentResponse.cs | 6 +- .../Model/Generated/AuditEvent.cs | 36 ++-- src/Hl7.Fhir.STU3/Model/Generated/Basic.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs | 6 +- .../Model/Generated/CapabilityStatement.cs | 96 +++++------ src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs | 12 +- .../Model/Generated/ChargeItem.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Claim.cs | 72 ++++---- .../Model/Generated/ClaimResponse.cs | 66 +++---- .../Model/Generated/ClinicalImpression.cs | 18 +- .../Model/Generated/CodeSystem.cs | 36 ++-- .../Model/Generated/Communication.cs | 12 +- .../Model/Generated/CommunicationRequest.cs | 18 +- .../Model/Generated/CompartmentDefinition.cs | 12 +- .../Model/Generated/Composition.cs | 30 ++-- .../Model/Generated/ConceptMap.cs | 36 ++-- .../Model/Generated/Condition.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Consent.cs | 42 ++--- src/Hl7.Fhir.STU3/Model/Generated/Contract.cs | 60 +++---- .../Model/Generated/Contributor.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs | 12 +- .../Model/Generated/DataElement.cs | 12 +- .../Model/Generated/DataRequirement.cs | 18 +- .../Model/Generated/DetectedIssue.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Device.cs | 12 +- .../Model/Generated/DeviceComponent.cs | 12 +- .../Model/Generated/DeviceMetric.cs | 12 +- .../Model/Generated/DeviceRequest.cs | 12 +- .../Model/Generated/DeviceUseStatement.cs | 6 +- .../Model/Generated/DiagnosticReport.cs | 18 +- .../Model/Generated/DocumentManifest.cs | 18 +- .../Model/Generated/DocumentReference.cs | 30 ++-- src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs | 6 +- .../Model/Generated/ElementDefinition.cs | 54 +++--- .../Model/Generated/EligibilityRequest.cs | 6 +- .../Model/Generated/EligibilityResponse.cs | 30 ++-- .../Model/Generated/Encounter.cs | 42 ++--- src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs | 6 +- .../Model/Generated/EnrollmentRequest.cs | 6 +- .../Model/Generated/EnrollmentResponse.cs | 6 +- .../Model/Generated/EpisodeOfCare.cs | 18 +- .../Model/Generated/ExpansionProfile.cs | 48 +++--- .../Model/Generated/ExplanationOfBenefit.cs | 114 ++++++------ .../Model/Generated/FamilyMemberHistory.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Flag.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Goal.cs | 12 +- .../Model/Generated/GraphDefinition.cs | 24 +-- src/Hl7.Fhir.STU3/Model/Generated/Group.cs | 18 +- .../Model/Generated/GuidanceResponse.cs | 6 +- .../Model/Generated/HealthcareService.cs | 18 +- .../Model/Generated/HumanName.cs | 6 +- .../Model/Generated/ImagingManifest.cs | 24 +-- .../Model/Generated/ImagingStudy.cs | 18 +- .../Model/Generated/Immunization.cs | 30 ++-- .../Generated/ImmunizationRecommendation.cs | 24 +-- .../Model/Generated/ImplementationGuide.cs | 36 ++-- src/Hl7.Fhir.STU3/Model/Generated/Library.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/List.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Location.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Measure.cs | 30 ++-- .../Model/Generated/MeasureReport.cs | 36 ++-- src/Hl7.Fhir.STU3/Model/Generated/Media.cs | 6 +- .../Model/Generated/Medication.cs | 30 ++-- .../Generated/MedicationAdministration.cs | 18 +- .../Model/Generated/MedicationDispense.cs | 18 +- .../Model/Generated/MedicationRequest.cs | 24 +-- .../Model/Generated/MedicationStatement.cs | 6 +- .../Model/Generated/MessageDefinition.cs | 18 +- .../Model/Generated/MessageHeader.cs | 24 +-- .../Model/Generated/NamingSystem.cs | 12 +- .../Model/Generated/NutritionOrder.cs | 42 ++--- .../Model/Generated/Observation.cs | 24 +-- .../Model/Generated/OperationDefinition.cs | 24 +-- .../Model/Generated/Organization.cs | 12 +- .../Model/Generated/ParameterDefinition.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Patient.cs | 30 ++-- .../Model/Generated/PaymentNotice.cs | 6 +- .../Model/Generated/PaymentReconciliation.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Person.cs | 12 +- .../Model/Generated/PlanDefinition.cs | 48 +++--- .../Model/Generated/Practitioner.cs | 12 +- .../Model/Generated/PractitionerRole.cs | 18 +- .../Model/Generated/Procedure.cs | 18 +- .../Model/Generated/ProcedureRequest.cs | 12 +- .../Model/Generated/ProcessRequest.cs | 12 +- .../Model/Generated/ProcessResponse.cs | 12 +- .../Model/Generated/Provenance.cs | 18 +- .../Model/Generated/Questionnaire.cs | 24 +-- .../Model/Generated/QuestionnaireResponse.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs | 6 +- .../Model/Generated/ReferralRequest.cs | 12 +- .../Model/Generated/RelatedArtifact.cs | 6 +- .../Model/Generated/RelatedPerson.cs | 6 +- .../Model/Generated/RequestGroup.cs | 24 +-- .../Model/Generated/ResearchStudy.cs | 12 +- .../Model/Generated/ResearchSubject.cs | 6 +- .../Model/Generated/RiskAssessment.cs | 12 +- .../Model/Generated/SampledData.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs | 6 +- .../Model/Generated/SearchParameter.cs | 12 +- src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs | 30 ++-- .../Model/Generated/ServiceDefinition.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Slot.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs | 24 +-- .../Model/Generated/StructureDefinition.cs | 24 +-- .../Model/Generated/StructureMap.cs | 54 +++--- .../Model/Generated/Subscription.cs | 12 +- .../Model/Generated/Substance.cs | 18 +- .../Model/Generated/SupplyDelivery.cs | 12 +- .../Model/Generated/SupplyRequest.cs | 18 +- src/Hl7.Fhir.STU3/Model/Generated/Task.cs | 30 ++-- .../Model/Generated/TestReport.cs | 60 +++---- .../Model/Generated/TestScript.cs | 162 +++++++++--------- src/Hl7.Fhir.STU3/Model/Generated/Timing.cs | 12 +- .../Model/Generated/TriggerDefinition.cs | 6 +- src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs | 54 +++--- .../Model/Generated/VisionPrescription.cs | 12 +- 634 files changed, 7419 insertions(+), 7418 deletions(-) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs b/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs index a40a2431f..bb7f076c0 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs @@ -159,14 +159,15 @@ public byte[] Data /// Uri where the data can be found /// [FhirElement("url", InSummary=true, Order=60)] + [DeclaredType(Type = typeof(FhirUrl), Since = FhirRelease.R4)] [DataMember] - public Hl7.Fhir.Model.FhirUrl UrlElement + public Hl7.Fhir.Model.FhirUri UrlElement { get { return _UrlElement; } set { _UrlElement = value; OnPropertyChanged("UrlElement"); } } - private Hl7.Fhir.Model.FhirUrl _UrlElement; + private Hl7.Fhir.Model.FhirUri _UrlElement; /// /// Uri where the data can be found @@ -181,7 +182,7 @@ public string Url if (value == null) UrlElement = null; else - UrlElement = new Hl7.Fhir.Model.FhirUrl(value); + UrlElement = new Hl7.Fhir.Model.FhirUri(value); OnPropertyChanged("Url"); } } @@ -480,7 +481,7 @@ public override IDeepCopyable CopyTo(IDeepCopyable other) if(ContentTypeElement != null) dest.ContentTypeElement = (Hl7.Fhir.Model.Code)ContentTypeElement.DeepCopy(); if(LanguageElement != null) dest.LanguageElement = (Hl7.Fhir.Model.Code)LanguageElement.DeepCopy(); if(DataElement != null) dest.DataElement = (Hl7.Fhir.Model.Base64Binary)DataElement.DeepCopy(); - if(UrlElement != null) dest.UrlElement = (Hl7.Fhir.Model.FhirUrl)UrlElement.DeepCopy(); + if(UrlElement != null) dest.UrlElement = (Hl7.Fhir.Model.FhirUri)UrlElement.DeepCopy(); if(SizeElement != null) dest.SizeElement = (Hl7.Fhir.Model.Integer64)SizeElement.DeepCopy(); if(HashElement != null) dest.HashElement = (Hl7.Fhir.Model.Base64Binary)HashElement.DeepCopy(); if(TitleElement != null) dest.TitleElement = (Hl7.Fhir.Model.FhirString)TitleElement.DeepCopy(); @@ -589,7 +590,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -652,7 +653,7 @@ protected override Base SetValue(string key, object value) DataElement = (Hl7.Fhir.Model.Base64Binary)value; return this; case "url": - UrlElement = (Hl7.Fhir.Model.FhirUrl)value; + UrlElement = (Hl7.Fhir.Model.FhirUri)value; return this; case "size": SizeElement = (Hl7.Fhir.Model.Integer64)value; @@ -687,7 +688,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContentTypeElement is not null) yield return new KeyValuePair("contentType",ContentTypeElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs b/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs index aa72143c0..3834806bc 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs @@ -125,7 +125,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -138,7 +138,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -151,7 +151,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModifierExtension?.Any() == true) yield return new KeyValuePair("modifierExtension",ModifierExtension); diff --git a/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs b/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs index a174b8829..cd94c8719 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs @@ -125,7 +125,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -138,7 +138,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -151,7 +151,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModifierExtension?.Any() == true) yield return new KeyValuePair("modifierExtension",ModifierExtension); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Binary.cs b/src/Hl7.Fhir.Base/Model/Generated/Binary.cs index 911bd9d09..c16ced223 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Binary.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Binary.cs @@ -251,7 +251,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -273,7 +273,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -295,7 +295,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContentTypeElement is not null) yield return new KeyValuePair("contentType",ContentTypeElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs b/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs index 793a72561..5cf913df2 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs @@ -1085,7 +1085,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1101,7 +1101,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1117,7 +1117,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationElement is not null) yield return new KeyValuePair("relation",RelationElement); @@ -1328,7 +1328,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1356,7 +1356,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1384,7 +1384,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link?.Any() == true) yield return new KeyValuePair("link",Link); @@ -1544,7 +1544,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1560,7 +1560,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1576,7 +1576,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -1878,7 +1878,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1906,7 +1906,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1934,7 +1934,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MethodElement is not null) yield return new KeyValuePair("method",MethodElement); @@ -2185,7 +2185,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2210,7 +2210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2235,7 +2235,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -2511,7 +2511,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2545,7 +2545,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2579,7 +2579,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs b/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs index 9825ebe1c..dc541e085 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs @@ -172,7 +172,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -188,7 +188,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -204,7 +204,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coding?.Any() == true) yield return new KeyValuePair("coding",Coding); diff --git a/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs b/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs index 433875d3d..c5d6e819b 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs @@ -152,7 +152,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -168,7 +168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -184,7 +184,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Concept is not null) yield return new KeyValuePair("concept",Concept); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Coding.cs b/src/Hl7.Fhir.Base/Model/Generated/Coding.cs index 9764a7646..29c35bd0a 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Coding.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Coding.cs @@ -296,7 +296,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -321,7 +321,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -346,7 +346,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs b/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs index 9a7fefd46..cea275a33 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs b/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs index 584e78501..ade9a1412 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -399,7 +399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -424,7 +424,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs b/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs index 576631b9e..b41917542 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs @@ -183,7 +183,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -205,7 +205,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -227,7 +227,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Text is not null) yield return new KeyValuePair("text",Text); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Element.cs b/src/Hl7.Fhir.Base/Model/Generated/Element.cs index 0fcbbe6c0..63dd9ad37 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Element.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Element.cs @@ -144,7 +144,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -160,7 +160,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -176,7 +176,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ElementId is not null) yield return new KeyValuePair("id",ElementId); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Extension.cs b/src/Hl7.Fhir.Base/Model/Generated/Extension.cs index 24a52096a..a13aff91c 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Extension.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Extension.cs @@ -155,7 +155,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -171,7 +171,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -187,7 +187,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Url is not null) yield return new KeyValuePair("url",Url); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs b/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs index 9badd7daf..4067d6e14 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs @@ -324,7 +324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -352,7 +352,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -380,7 +380,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Meta.cs b/src/Hl7.Fhir.Base/Model/Generated/Meta.cs index b45fb8753..fafffd169 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Meta.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Meta.cs @@ -302,7 +302,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -330,7 +330,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -358,7 +358,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VersionIdElement is not null) yield return new KeyValuePair("versionId",VersionIdElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs b/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs index d42405c0e..1f388e7d3 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs @@ -226,7 +226,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -242,7 +242,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -258,7 +258,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs b/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs index a50383dd6..2e113813f 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs @@ -589,7 +589,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -617,7 +617,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -645,7 +645,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SeverityElement is not null) yield return new KeyValuePair("severity",SeverityElement); @@ -734,7 +734,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -747,7 +747,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -760,7 +760,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Issue?.Any() == true) yield return new KeyValuePair("issue",Issue); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs b/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs index 03e70f9f4..b2010c454 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -249,7 +249,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -271,7 +271,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -358,7 +358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -371,7 +371,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -384,7 +384,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Parameter?.Any() == true) yield return new KeyValuePair("parameter",Parameter); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Period.cs b/src/Hl7.Fhir.Base/Model/Generated/Period.cs index 32425c64c..024a0c9ce 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Period.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Period.cs @@ -190,7 +190,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -206,7 +206,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -222,7 +222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs b/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs index 4adf5780a..9d30507ed 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs @@ -339,7 +339,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -364,7 +364,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -389,7 +389,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Range.cs b/src/Hl7.Fhir.Base/Model/Generated/Range.cs index 4040a2849..c6d770523 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Range.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Range.cs @@ -153,7 +153,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -169,7 +169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -185,7 +185,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Low is not null) yield return new KeyValuePair("low",Low); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Resource.cs b/src/Hl7.Fhir.Base/Model/Generated/Resource.cs index 216336e36..3931c0496 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Resource.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Resource.cs @@ -233,7 +233,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -255,7 +255,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -277,7 +277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdElement is not null) yield return new KeyValuePair("id",IdElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs b/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs index ff20cdf08..9aaf19e55 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs @@ -243,7 +243,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -265,7 +265,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -287,7 +287,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ReferenceElement is not null) yield return new KeyValuePair("reference",ReferenceElement); diff --git a/src/Hl7.Fhir.Base/Model/Generated/Signature.cs b/src/Hl7.Fhir.Base/Model/Generated/Signature.cs index 1df5c4dfa..6427fffff 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Signature.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Signature.cs @@ -411,7 +411,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -448,7 +448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -485,7 +485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); diff --git a/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs b/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs index 0a3dd0fe3..344042beb 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs @@ -159,7 +159,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -175,7 +175,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -191,7 +191,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs b/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs index edc3979a1..1da78c45f 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs @@ -536,7 +536,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -555,7 +555,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -574,7 +574,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -752,7 +752,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -771,7 +771,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -790,7 +790,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1080,7 +1080,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1114,7 +1114,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1148,7 +1148,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -1328,7 +1328,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1347,7 +1347,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1366,7 +1366,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CorsElement is not null) yield return new KeyValuePair("cors",CorsElement); @@ -2061,7 +2061,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2125,7 +2125,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2189,7 +2189,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2363,7 +2363,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2379,7 +2379,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2395,7 +2395,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2626,7 +2626,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2648,7 +2648,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2670,7 +2670,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2866,7 +2866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2885,7 +2885,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2904,7 +2904,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3062,7 +3062,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3078,7 +3078,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3094,7 +3094,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -3287,7 +3287,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3309,7 +3309,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3331,7 +3331,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Endpoint?.Any() == true) yield return new KeyValuePair("endpoint",Endpoint); @@ -3472,7 +3472,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3488,7 +3488,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3504,7 +3504,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Protocol is not null) yield return new KeyValuePair("protocol",Protocol); @@ -3663,7 +3663,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3679,7 +3679,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3695,7 +3695,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -3889,7 +3889,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3908,7 +3908,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3927,7 +3927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -4925,7 +4925,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5025,7 +5025,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5125,7 +5125,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs b/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs index 6c4761bdf..8a4d7cb22 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs @@ -368,7 +368,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -390,7 +390,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -412,7 +412,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -645,7 +645,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -667,7 +667,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -689,7 +689,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -940,7 +940,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -968,7 +968,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -996,7 +996,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1196,7 +1196,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1218,7 +1218,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1240,7 +1240,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -1382,7 +1382,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1398,7 +1398,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1414,7 +1414,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2569,7 +2569,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2690,7 +2690,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2811,7 +2811,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs b/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs index 07c4c86a1..b2dca53d5 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs @@ -504,7 +504,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -526,7 +526,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -548,7 +548,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Discriminator?.Any() == true) yield return new KeyValuePair("discriminator",Discriminator); @@ -709,7 +709,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -725,7 +725,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -741,7 +741,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -935,7 +935,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -954,7 +954,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -973,7 +973,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1246,7 +1246,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1271,7 +1271,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1296,7 +1296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1438,7 +1438,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1454,7 +1454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1470,7 +1470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -1849,7 +1849,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1883,7 +1883,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1917,7 +1917,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -2138,7 +2138,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2160,7 +2160,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2182,7 +2182,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -2469,7 +2469,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2497,7 +2497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2525,7 +2525,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PurposeElement is not null) yield return new KeyValuePair("purpose",PurposeElement); @@ -2761,7 +2761,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2783,7 +2783,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2805,7 +2805,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentityElement is not null) yield return new KeyValuePair("identity",IdentityElement); @@ -3952,7 +3952,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4070,7 +4070,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4188,7 +4188,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs b/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs index 287a243a0..9f3bc1e56 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs @@ -695,7 +695,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -738,7 +738,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -781,7 +781,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs b/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs index 2f82e963e..a4645be68 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -383,7 +383,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -405,7 +405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentityElement is not null) yield return new KeyValuePair("identity",IdentityElement); @@ -565,7 +565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -581,7 +581,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -597,7 +597,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -698,7 +698,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -711,7 +711,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -724,7 +724,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Element?.Any() == true) yield return new KeyValuePair("element",Element); @@ -824,7 +824,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -837,7 +837,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -850,7 +850,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Element?.Any() == true) yield return new KeyValuePair("element",Element); @@ -1808,7 +1808,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1905,7 +1905,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2002,7 +2002,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs b/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs index ffb38af3f..e2c161e11 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs @@ -279,7 +279,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -304,7 +304,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -329,7 +329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LockedDateElement is not null) yield return new KeyValuePair("lockedDate",LockedDateElement); @@ -597,7 +597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -625,7 +625,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -653,7 +653,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -832,7 +832,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -851,7 +851,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -870,7 +870,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1067,7 +1067,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1089,7 +1089,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1111,7 +1111,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -1309,7 +1309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1328,7 +1328,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1347,7 +1347,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PropertyElement is not null) yield return new KeyValuePair("property",PropertyElement); @@ -1670,7 +1670,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1704,7 +1704,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1738,7 +1738,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentifierElement is not null) yield return new KeyValuePair("identifier",IdentifierElement); @@ -1884,7 +1884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1900,7 +1900,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1916,7 +1916,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2071,7 +2071,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2087,7 +2087,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2103,7 +2103,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2458,7 +2458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2495,7 +2495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2532,7 +2532,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -2698,7 +2698,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2717,7 +2717,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2736,7 +2736,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2877,7 +2877,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2893,7 +2893,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2909,7 +2909,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -3097,7 +3097,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3116,7 +3116,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3135,7 +3135,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InclusionCriteriaElement is not null) yield return new KeyValuePair("inclusionCriteria",InclusionCriteriaElement); @@ -4031,7 +4031,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4131,7 +4131,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4231,7 +4231,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Account.cs b/src/Hl7.Fhir.R4/Model/Generated/Account.cs index 030c5e3bb..ed7eb6d7d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Account.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -263,7 +263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -420,7 +420,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -458,7 +458,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Party is not null) yield return new KeyValuePair("party",Party); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -839,7 +839,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -882,7 +882,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs index 4b3054373..5e960b575 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs @@ -290,7 +290,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -306,7 +306,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -322,7 +322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -461,7 +461,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -477,7 +477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -493,7 +493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1837,7 +1837,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1985,7 +1985,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2133,7 +2133,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Address.cs b/src/Hl7.Fhir.R4/Model/Generated/Address.cs index 049d372ae..739e49abd 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Address.cs @@ -532,7 +532,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -612,7 +612,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs index 99cd32e82..70c0db96a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs @@ -268,7 +268,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -284,7 +284,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -300,7 +300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Instance is not null) yield return new KeyValuePair("instance",Instance); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -517,7 +517,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Assessment is not null) yield return new KeyValuePair("assessment",Assessment); @@ -1056,7 +1056,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1126,7 +1126,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1196,7 +1196,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs index 8e4a9a476..239b76b4d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs @@ -494,7 +494,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -556,7 +556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1034,7 +1034,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1092,7 +1092,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1150,7 +1150,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs index 694f27347..0f81cbabe 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -249,7 +249,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Author is not null) yield return new KeyValuePair("author",Author); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs index cdac934dd..0b3954f75 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs @@ -362,7 +362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -387,7 +387,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -412,7 +412,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -1072,7 +1072,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1148,7 +1148,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1224,7 +1224,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs index 8fd4699c8..3adcfa989 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs @@ -342,7 +342,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -410,7 +410,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs index a2d01919b..c3ef7e4ad 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs @@ -531,7 +531,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -574,7 +574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -617,7 +617,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -782,7 +782,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -798,7 +798,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -814,7 +814,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AddressElement is not null) yield return new KeyValuePair("address",AddressElement); @@ -974,7 +974,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -993,7 +993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1012,7 +1012,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SiteElement is not null) yield return new KeyValuePair("site",SiteElement); @@ -1320,7 +1320,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1357,7 +1357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1394,7 +1394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (What is not null) yield return new KeyValuePair("what",What); @@ -1541,7 +1541,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1557,7 +1557,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1573,7 +1573,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1923,7 +1923,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1966,7 +1966,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2009,7 +2009,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Basic.cs b/src/Hl7.Fhir.R4/Model/Generated/Basic.cs index ee64f48ba..f0becb979 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Basic.cs @@ -236,7 +236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -261,7 +261,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -286,7 +286,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs index 41ec2d9cc..8475d529a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -300,7 +300,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -497,7 +497,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -519,7 +519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -681,7 +681,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -697,7 +697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -713,7 +713,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -920,7 +920,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1300,7 +1300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1386,7 +1386,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs index 4f5e3efc1..4862d3f80 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs @@ -310,7 +310,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -344,7 +344,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -378,7 +378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs index adb4d5e6d..ddd1b0ede 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs @@ -386,7 +386,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -411,7 +411,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -436,7 +436,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OutcomeCodeableConcept?.Any() == true) yield return new KeyValuePair("outcomeCodeableConcept",OutcomeCodeableConcept); @@ -962,7 +962,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1023,7 +1023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1084,7 +1084,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1754,7 +1754,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1833,7 +1833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1912,7 +1912,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs index d4b7e9a02..c8e1399e5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs @@ -250,7 +250,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -272,7 +272,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -294,7 +294,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role?.Any() == true) yield return new KeyValuePair("role",Role); @@ -657,7 +657,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -706,7 +706,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -755,7 +755,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs b/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs index 54b82e155..d6342dc5c 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs @@ -214,7 +214,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -246,7 +246,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationtypeElement is not null) yield return new KeyValuePair("relationtype",RelationtypeElement); @@ -632,7 +632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -681,7 +681,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -730,7 +730,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs index 3f22ad1d9..d5a494013 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -948,7 +948,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1036,7 +1036,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1124,7 +1124,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs index 7f3b7771f..63072eac2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs @@ -241,7 +241,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -260,7 +260,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -279,7 +279,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -400,7 +400,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -416,7 +416,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -432,7 +432,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Applicability?.Any() == true) yield return new KeyValuePair("applicability",Applicability); @@ -625,7 +625,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -647,7 +647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -669,7 +669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1426,7 +1426,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1505,7 +1505,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1584,7 +1584,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Claim.cs b/src/Hl7.Fhir.R4/Model/Generated/Claim.cs index 032ac8410..21c10b49d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Claim.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -599,7 +599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -624,7 +624,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -649,7 +649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -871,7 +871,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -899,7 +899,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -927,7 +927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1131,7 +1131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1156,7 +1156,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1181,7 +1181,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1403,7 +1403,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1428,7 +1428,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1453,7 +1453,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1745,7 +1745,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1776,7 +1776,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1807,7 +1807,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1971,7 +1971,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1990,7 +1990,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2009,7 +2009,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2607,7 +2607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2680,7 +2680,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2753,7 +2753,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3119,7 +3119,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3165,7 +3165,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3211,7 +3211,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3549,7 +3549,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3592,7 +3592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3635,7 +3635,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4294,7 +4294,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4385,7 +4385,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4476,7 +4476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs index b8949d427..f5e534c54 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs @@ -244,7 +244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -266,7 +266,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -288,7 +288,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -465,7 +465,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -487,7 +487,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -509,7 +509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -705,7 +705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -727,7 +727,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -749,7 +749,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DetailSequenceElement is not null) yield return new KeyValuePair("detailSequence",DetailSequenceElement); @@ -926,7 +926,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -945,7 +945,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubDetailSequenceElement is not null) yield return new KeyValuePair("subDetailSequence",SubDetailSequenceElement); @@ -1485,7 +1485,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1549,7 +1549,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1613,7 +1613,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -1916,7 +1916,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1953,7 +1953,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1990,7 +1990,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -2265,7 +2265,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2299,7 +2299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2333,7 +2333,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -2461,7 +2461,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2477,7 +2477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2493,7 +2493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -2705,7 +2705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2733,7 +2733,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2761,7 +2761,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2977,7 +2977,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2999,7 +2999,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3021,7 +3021,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -3257,7 +3257,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3282,7 +3282,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3307,7 +3307,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3521,7 +3521,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3543,7 +3543,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3565,7 +3565,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -4266,7 +4266,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4357,7 +4357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4448,7 +4448,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs index 149567b76..544271762 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -390,7 +390,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -409,7 +409,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -428,7 +428,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemCodeableConcept is not null) yield return new KeyValuePair("itemCodeableConcept",ItemCodeableConcept); @@ -982,7 +982,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1052,7 +1052,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1122,7 +1122,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Communication.cs b/src/Hl7.Fhir.R4/Model/Generated/Communication.cs index 162987fd3..d0b227886 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Communication.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -814,7 +814,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -893,7 +893,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -972,7 +972,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs index 9f7484eed..ce6a7825e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -758,7 +758,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -834,7 +834,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -910,7 +910,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs index a784aa575..ab6831a4a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -812,7 +812,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -864,7 +864,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -916,7 +916,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Composition.cs b/src/Hl7.Fhir.R4/Model/Generated/Composition.cs index e0b6677ac..2bef5a9f3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Composition.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -364,7 +364,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -509,7 +509,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -683,7 +683,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -702,7 +702,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -721,7 +721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -1034,7 +1034,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1074,7 +1074,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1114,7 +1114,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1559,7 +1559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1614,7 +1614,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1669,7 +1669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs index 63521c402..762c52547 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs @@ -341,7 +341,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -397,7 +397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -575,7 +575,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -594,7 +594,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -613,7 +613,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -882,7 +882,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -910,7 +910,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -938,7 +938,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1170,7 +1170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1192,7 +1192,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1214,7 +1214,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PropertyElement is not null) yield return new KeyValuePair("property",PropertyElement); @@ -1446,7 +1446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1490,7 +1490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -2094,7 +2094,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2158,7 +2158,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2222,7 +2222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Condition.cs b/src/Hl7.Fhir.R4/Model/Generated/Condition.cs index f4cceb9ea..eaf7da517 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Condition.cs @@ -283,7 +283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -302,7 +302,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Summary is not null) yield return new KeyValuePair("summary",Summary); @@ -446,7 +446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -462,7 +462,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -478,7 +478,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -898,7 +898,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -959,7 +959,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Consent.cs b/src/Hl7.Fhir.R4/Model/Generated/Consent.cs index c59c727a4..e7de5f3c3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Consent.cs @@ -307,7 +307,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -323,7 +323,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -339,7 +339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AuthorityElement is not null) yield return new KeyValuePair("authority",AuthorityElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -533,7 +533,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -552,7 +552,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VerifiedElement is not null) yield return new KeyValuePair("verified",VerifiedElement); @@ -866,7 +866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -909,7 +909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -952,7 +952,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1116,7 +1116,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -1258,7 +1258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1274,7 +1274,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1290,7 +1290,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -1653,7 +1653,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1702,7 +1702,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1751,7 +1751,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Contract.cs b/src/Hl7.Fhir.R4/Model/Generated/Contract.cs index 9655948af..d1cb402f9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Contract.cs @@ -502,7 +502,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -530,7 +530,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -558,7 +558,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -906,7 +906,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -952,7 +952,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -998,7 +998,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1187,7 +1187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1209,7 +1209,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1231,7 +1231,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement?.Any() == true) yield return new KeyValuePair("number",NumberElement); @@ -1560,7 +1560,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1600,7 +1600,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1640,7 +1640,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1768,7 +1768,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1784,7 +1784,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1800,7 +1800,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -1901,7 +1901,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1914,7 +1914,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1927,7 +1927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2365,7 +2365,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2420,7 +2420,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2475,7 +2475,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Scope is not null) yield return new KeyValuePair("scope",Scope); @@ -2643,7 +2643,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2662,7 +2662,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2681,7 +2681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3148,7 +3148,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3200,7 +3200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3252,7 +3252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -3902,7 +3902,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3975,7 +3975,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4048,7 +4048,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DoNotPerformElement is not null) yield return new KeyValuePair("doNotPerform",DoNotPerformElement); @@ -4186,7 +4186,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4202,7 +4202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4218,7 +4218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -4362,7 +4362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4381,7 +4381,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4400,7 +4400,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4505,7 +4505,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4518,7 +4518,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4531,7 +4531,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4634,7 +4634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4647,7 +4647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4660,7 +4660,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4763,7 +4763,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4776,7 +4776,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4789,7 +4789,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -5656,7 +5656,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5765,7 +5765,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5874,7 +5874,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs index 2f078cc91..3ee0a78f5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs index 35a5028c7..9af08423d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -246,7 +246,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -265,7 +265,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -427,7 +427,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -567,7 +567,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -583,7 +583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -599,7 +599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1105,7 +1105,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1166,7 +1166,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1227,7 +1227,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs index 97280be90..170b4ec50 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -280,7 +280,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -299,7 +299,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -476,7 +476,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -514,7 +514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -808,7 +808,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -848,7 +848,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -888,7 +888,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SupportingInfoSequenceElement?.Any() == true) yield return new KeyValuePair("supportingInfoSequence",SupportingInfoSequenceElement); @@ -1000,7 +1000,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1013,7 +1013,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1026,7 +1026,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Diagnosis is not null) yield return new KeyValuePair("diagnosis",Diagnosis); @@ -1425,7 +1425,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1477,7 +1477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1529,7 +1529,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs index c0e40913a..6deea82ca 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -283,7 +283,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -305,7 +305,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -743,7 +743,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -795,7 +795,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1001,7 +1001,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1039,7 +1039,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1142,7 +1142,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1155,7 +1155,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1168,7 +1168,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1640,7 +1640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1695,7 +1695,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1750,7 +1750,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs index 488766bc2..81c5464b9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -303,7 +303,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -325,7 +325,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -501,7 +501,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -520,7 +520,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -539,7 +539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -699,7 +699,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -715,7 +715,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1025,7 +1025,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1059,7 +1059,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1093,7 +1093,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs index 195bff0dc..978f4e258 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -410,7 +410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -429,7 +429,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -807,7 +807,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -853,7 +853,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -899,7 +899,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Device.cs b/src/Hl7.Fhir.R4/Model/Generated/Device.cs index 7d779f69e..31bd998d2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Device.cs @@ -431,7 +431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -459,7 +459,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -487,7 +487,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -649,7 +649,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -665,7 +665,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -681,7 +681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -815,7 +815,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -831,7 +831,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemType is not null) yield return new KeyValuePair("systemType",SystemType); @@ -999,7 +999,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1018,7 +1018,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1037,7 +1037,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1174,7 +1174,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1193,7 +1193,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1956,7 +1956,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2044,7 +2044,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2132,7 +2132,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs index 0c488f75b..8da79f7b9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs @@ -244,7 +244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -263,7 +263,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -282,7 +282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -438,7 +438,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -454,7 +454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -622,7 +622,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +638,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemTypeElement is not null) yield return new KeyValuePair("systemType",SystemTypeElement); @@ -771,7 +771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -787,7 +787,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -803,7 +803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -939,7 +939,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -958,7 +958,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -977,7 +977,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1148,7 +1148,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1167,7 +1167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1186,7 +1186,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1745,7 +1745,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1821,7 +1821,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1897,7 +1897,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs index add986262..315881311 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -474,7 +474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -836,7 +836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -876,7 +876,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs index 5a0564e46..e4cff614a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -863,7 +863,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -945,7 +945,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1027,7 +1027,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs index d93354648..05e9a83f9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs @@ -460,7 +460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -509,7 +509,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -558,7 +558,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs index 24d9b305a..904290672 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs @@ -260,7 +260,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -292,7 +292,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); @@ -777,7 +777,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -841,7 +841,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -905,7 +905,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs index 716dd2142..25e67e57f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -576,7 +576,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -622,7 +622,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -668,7 +668,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs index 5295dbe8c..7956f58c2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs @@ -194,7 +194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -226,7 +226,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -346,7 +346,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -362,7 +362,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -378,7 +378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Attachment is not null) yield return new KeyValuePair("attachment",Attachment); @@ -599,7 +599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -630,7 +630,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -661,7 +661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Encounter?.Any() == true) yield return new KeyValuePair("encounter",Encounter); @@ -1116,7 +1116,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1174,7 +1174,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1232,7 +1232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs index 1fa2a2a36..e77b90e8e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -593,7 +593,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -642,7 +642,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -691,7 +691,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs b/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs index 1ca8ff482..a6ca433e2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs @@ -262,7 +262,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -281,7 +281,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -300,7 +300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -497,7 +497,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -519,7 +519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -773,7 +773,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -801,7 +801,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -829,7 +829,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1042,7 +1042,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1064,7 +1064,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1086,7 +1086,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1228,7 +1228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1247,7 +1247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1266,7 +1266,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Rating?.Any() == true) yield return new KeyValuePair("rating",Rating); @@ -1407,7 +1407,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1426,7 +1426,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1445,7 +1445,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2339,7 +2339,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2448,7 +2448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2557,7 +2557,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs index 07d61b061..511e562c2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -307,7 +307,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -323,7 +323,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -444,7 +444,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -460,7 +460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -476,7 +476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Class is not null) yield return new KeyValuePair("class",Class); @@ -616,7 +616,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -635,7 +635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -810,7 +810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -829,7 +829,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -848,7 +848,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -1107,7 +1107,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1144,7 +1144,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1181,7 +1181,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreAdmissionIdentifier is not null) yield return new KeyValuePair("preAdmissionIdentifier",PreAdmissionIdentifier); @@ -1367,7 +1367,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1389,7 +1389,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1411,7 +1411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -1954,7 +1954,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2033,7 +2033,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2112,7 +2112,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs index d005f9fcb..cb9f3c96f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -510,7 +510,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -553,7 +553,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs index 8f0ed7c2c..7b71cbf02 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -322,7 +322,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -353,7 +353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs index 6f3b5e969..9e00194b7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs @@ -345,7 +345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -379,7 +379,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -413,7 +413,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs index fb6146368..f7acf50f7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs @@ -242,7 +242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -429,7 +429,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -448,7 +448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -467,7 +467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -797,7 +797,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -843,7 +843,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -889,7 +889,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs index 8186e3e05..cfa771c22 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs @@ -912,7 +912,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1006,7 +1006,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs index 0c95952a1..02e10d543 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs @@ -881,7 +881,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -975,7 +975,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1069,7 +1069,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs index 40e9c9800..222afec63 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs @@ -323,7 +323,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -354,7 +354,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1215,7 +1215,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1306,7 +1306,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1397,7 +1397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs index 5d6938b8b..30e10d241 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs @@ -296,7 +296,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -318,7 +318,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -340,7 +340,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActorIdElement is not null) yield return new KeyValuePair("actorId",ActorIdElement); @@ -607,7 +607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -635,7 +635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -663,7 +663,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceIdElement is not null) yield return new KeyValuePair("resourceId",ResourceIdElement); @@ -820,7 +820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -836,7 +836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -852,7 +852,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VersionIdElement is not null) yield return new KeyValuePair("versionId",VersionIdElement); @@ -1007,7 +1007,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1023,7 +1023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1039,7 +1039,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceIdElement is not null) yield return new KeyValuePair("resourceId",ResourceIdElement); @@ -1282,7 +1282,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1307,7 +1307,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1332,7 +1332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1506,7 +1506,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1528,7 +1528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1550,7 +1550,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Process?.Any() == true) yield return new KeyValuePair("process",Process); @@ -1956,7 +1956,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1996,7 +1996,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2036,7 +2036,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -2218,7 +2218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2237,7 +2237,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2256,7 +2256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -2823,7 +2823,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2884,7 +2884,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2945,7 +2945,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs index bb99511a7..397f705f4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -262,7 +262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -385,7 +385,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -401,7 +401,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -417,7 +417,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -631,7 +631,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -656,7 +656,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -681,7 +681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -903,7 +903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -931,7 +931,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -959,7 +959,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1163,7 +1163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1213,7 +1213,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1435,7 +1435,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1460,7 +1460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1485,7 +1485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1666,7 +1666,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1685,7 +1685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1704,7 +1704,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -1863,7 +1863,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1882,7 +1882,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1901,7 +1901,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2555,7 +2555,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2634,7 +2634,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2713,7 +2713,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -2909,7 +2909,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2931,7 +2931,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2953,7 +2953,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -3358,7 +3358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3410,7 +3410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3462,7 +3462,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3858,7 +3858,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3907,7 +3907,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3956,7 +3956,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4487,7 +4487,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4551,7 +4551,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4615,7 +4615,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -4918,7 +4918,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4955,7 +4955,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4992,7 +4992,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -5267,7 +5267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5301,7 +5301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5335,7 +5335,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -5463,7 +5463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5479,7 +5479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5495,7 +5495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -5705,7 +5705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5733,7 +5733,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5761,7 +5761,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -5976,7 +5976,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5998,7 +5998,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6020,7 +6020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -6305,7 +6305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6339,7 +6339,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6373,7 +6373,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -6521,7 +6521,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6540,7 +6540,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6559,7 +6559,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -7586,7 +7586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7725,7 +7725,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7864,7 +7864,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Expression.cs b/src/Hl7.Fhir.R4/Model/Generated/Expression.cs index b8a4edb77..7fd030dbc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Expression.cs @@ -298,7 +298,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -323,7 +323,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -348,7 +348,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs index 146572227..07dbdbfea 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs @@ -280,7 +280,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -305,7 +305,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -859,7 +859,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -923,7 +923,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -987,7 +987,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Flag.cs b/src/Hl7.Fhir.R4/Model/Generated/Flag.cs index 7d7fa6b7c..c235d2151 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Flag.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -360,7 +360,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -394,7 +394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Goal.cs b/src/Hl7.Fhir.R4/Model/Generated/Goal.cs index dd52e810b..ceb84ff9c 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Goal.cs @@ -258,7 +258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -277,7 +277,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -296,7 +296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -738,7 +738,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -796,7 +796,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -854,7 +854,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs index 32b9e513e..9b71d8b4a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs @@ -384,7 +384,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -412,7 +412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -440,7 +440,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -672,7 +672,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -697,7 +697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -722,7 +722,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -993,7 +993,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1018,7 +1018,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); @@ -1592,7 +1592,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1647,7 +1647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1702,7 +1702,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Group.cs b/src/Hl7.Fhir.R4/Model/Generated/Group.cs index ce0ae6507..08024eca0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Group.cs @@ -277,7 +277,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -299,7 +299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -480,7 +480,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -499,7 +499,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -518,7 +518,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -870,7 +870,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -910,7 +910,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -950,7 +950,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs index 0809e16cf..2fdef800d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs @@ -499,7 +499,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -554,7 +554,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -609,7 +609,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequestIdentifier is not null) yield return new KeyValuePair("requestIdentifier",RequestIdentifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs index acf9174e6..60c536ed9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs @@ -184,7 +184,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -200,7 +200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -216,7 +216,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -446,7 +446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -468,7 +468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -490,7 +490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -629,7 +629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -645,7 +645,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -661,7 +661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1304,7 +1304,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1386,7 +1386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs index 62267f186..94907ee7a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs index 2c8a12860..cea84aa7d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs @@ -491,7 +491,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -537,7 +537,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -583,7 +583,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -716,7 +716,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -748,7 +748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -959,7 +959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -981,7 +981,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -1558,7 +1558,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1628,7 +1628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1698,7 +1698,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs index 64a5a50bc..423c20d46 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -480,7 +480,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -502,7 +502,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DocumentTypeElement is not null) yield return new KeyValuePair("documentType",DocumentTypeElement); @@ -679,7 +679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -698,7 +698,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -717,7 +717,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -917,7 +917,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -967,7 +967,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SeriesElement is not null) yield return new KeyValuePair("series",SeriesElement); @@ -1690,7 +1690,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1784,7 +1784,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1878,7 +1878,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs index 0348804f6..8dfb22d79 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs @@ -468,7 +468,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -517,7 +517,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -566,7 +566,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs index cdd30c27d..6ca64139d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs @@ -401,7 +401,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -447,7 +447,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -493,7 +493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VaccineCode?.Any() == true) yield return new KeyValuePair("vaccineCode",VaccineCode); @@ -642,7 +642,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -658,7 +658,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -674,7 +674,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -858,7 +858,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -883,7 +883,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -908,7 +908,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs index 076d9c3fb..0c8ce32d0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs @@ -2431,7 +2431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2450,7 +2450,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2469,7 +2469,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -2629,7 +2629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2645,7 +2645,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2661,7 +2661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2838,7 +2838,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2863,7 +2863,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2888,7 +2888,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Grouping?.Any() == true) yield return new KeyValuePair("grouping",Grouping); @@ -3047,7 +3047,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3063,7 +3063,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3079,7 +3079,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3349,7 +3349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3377,7 +3377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3405,7 +3405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3609,7 +3609,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3631,7 +3631,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3653,7 +3653,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Name is not null) yield return new KeyValuePair("name",Name); @@ -3810,7 +3810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3826,7 +3826,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3842,7 +3842,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -4031,7 +4031,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4050,7 +4050,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4069,7 +4069,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -4300,7 +4300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4325,7 +4325,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4350,7 +4350,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RenderingElement is not null) yield return new KeyValuePair("rendering",RenderingElement); @@ -4512,7 +4512,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4531,7 +4531,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4550,7 +4550,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -4743,7 +4743,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4762,7 +4762,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4781,7 +4781,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -5459,7 +5459,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5529,7 +5529,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5599,7 +5599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs index 41d944d24..99a66bbcb 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs @@ -232,7 +232,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -254,7 +254,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -276,7 +276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); @@ -419,7 +419,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -438,7 +438,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -457,7 +457,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -614,7 +614,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -633,7 +633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -652,7 +652,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -771,7 +771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -787,7 +787,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -803,7 +803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1002,7 +1002,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1030,7 +1030,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1058,7 +1058,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1252,7 +1252,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1274,7 +1274,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1296,7 +1296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1418,7 +1418,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1434,7 +1434,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1450,7 +1450,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1570,7 +1570,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1602,7 +1602,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1759,7 +1759,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1781,7 +1781,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1803,7 +1803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2201,7 +2201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2253,7 +2253,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2305,7 +2305,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs index c1de7c009..789ae1a32 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -227,7 +227,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -243,7 +243,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -402,7 +402,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -421,7 +421,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -440,7 +440,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -634,7 +634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -656,7 +656,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -678,7 +678,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1124,7 +1124,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1240,7 +1240,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Library.cs b/src/Hl7.Fhir.R4/Model/Generated/Library.cs index fcbed94a7..b7c9a65df 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Library.cs @@ -973,7 +973,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1076,7 +1076,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1179,7 +1179,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs index 91fd395b1..8779c4496 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs @@ -220,7 +220,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -236,7 +236,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -252,7 +252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -393,7 +393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -412,7 +412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -431,7 +431,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActiveElement is not null) yield return new KeyValuePair("active",ActiveElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/List.cs b/src/Hl7.Fhir.R4/Model/Generated/List.cs index e94fde452..d3a554289 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/List.cs @@ -270,7 +270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -292,7 +292,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -314,7 +314,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Flag is not null) yield return new KeyValuePair("flag",Flag); @@ -711,7 +711,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -760,7 +760,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -809,7 +809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Location.cs b/src/Hl7.Fhir.R4/Model/Generated/Location.cs index c5453f90a..f99ac6fab 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Location.cs @@ -292,7 +292,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LongitudeElement is not null) yield return new KeyValuePair("longitude",LongitudeElement); @@ -561,7 +561,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -583,7 +583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -605,7 +605,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -1111,7 +1111,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1172,7 +1172,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1233,7 +1233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs index c06c65392..93d802747 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -249,7 +249,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Measure.cs b/src/Hl7.Fhir.R4/Model/Generated/Measure.cs index 3dfc3e889..566508f36 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Measure.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -246,7 +246,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -268,7 +268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -426,7 +426,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -445,7 +445,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -464,7 +464,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -638,7 +638,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -660,7 +660,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -682,7 +682,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -840,7 +840,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -859,7 +859,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -878,7 +878,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1055,7 +1055,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1077,7 +1077,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1099,7 +1099,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -2352,7 +2352,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2485,7 +2485,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2618,7 +2618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs index 425dac26f..29149bf2b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs @@ -268,7 +268,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -290,7 +290,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -312,7 +312,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -471,7 +471,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -490,7 +490,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -509,7 +509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -630,7 +630,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -646,7 +646,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -662,7 +662,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -818,7 +818,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -840,7 +840,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -862,7 +862,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -984,7 +984,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1000,7 +1000,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1016,7 +1016,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1173,7 +1173,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1192,7 +1192,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1211,7 +1211,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1568,7 +1568,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1611,7 +1611,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1654,7 +1654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Media.cs b/src/Hl7.Fhir.R4/Model/Generated/Media.cs index a7eb0aff3..baefccf1b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Media.cs @@ -665,7 +665,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -741,7 +741,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -817,7 +817,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Medication.cs b/src/Hl7.Fhir.R4/Model/Generated/Medication.cs index 38d6b8fc0..672c772cc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Medication.cs @@ -237,7 +237,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -256,7 +256,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -275,7 +275,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -430,7 +430,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -446,7 +446,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -462,7 +462,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LotNumberElement is not null) yield return new KeyValuePair("lotNumber",LotNumberElement); @@ -703,7 +703,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -737,7 +737,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -771,7 +771,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs index eb304c6d7..bfa7a9411 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -469,7 +469,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -497,7 +497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -525,7 +525,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TextElement is not null) yield return new KeyValuePair("text",TextElement); @@ -1020,7 +1020,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1087,7 +1087,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1154,7 +1154,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs index f674642ba..f14ac8078 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs @@ -236,7 +236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -268,7 +268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -447,7 +447,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -469,7 +469,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -491,7 +491,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (WasSubstitutedElement is not null) yield return new KeyValuePair("wasSubstituted",WasSubstitutedElement); @@ -1094,7 +1094,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1176,7 +1176,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1258,7 +1258,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs index 62d7f1cbf..d3e1819c1 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -349,7 +349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -365,7 +365,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -381,7 +381,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -539,7 +539,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -558,7 +558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -577,7 +577,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -734,7 +734,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -753,7 +753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -772,7 +772,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -909,7 +909,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -925,7 +925,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -941,7 +941,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1082,7 +1082,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1101,7 +1101,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1120,7 +1120,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Dosage?.Any() == true) yield return new KeyValuePair("dosage",Dosage); @@ -1238,7 +1238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1254,7 +1254,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1270,7 +1270,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1410,7 +1410,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1426,7 +1426,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1442,7 +1442,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Characteristic is not null) yield return new KeyValuePair("characteristic",Characteristic); @@ -1559,7 +1559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1575,7 +1575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1591,7 +1591,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1710,7 +1710,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1726,7 +1726,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1742,7 +1742,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1863,7 +1863,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1879,7 +1879,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1895,7 +1895,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2051,7 +2051,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2073,7 +2073,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2095,7 +2095,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RegulatoryAuthority is not null) yield return new KeyValuePair("regulatoryAuthority",RegulatoryAuthority); @@ -2232,7 +2232,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2248,7 +2248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2264,7 +2264,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2362,7 +2362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2375,7 +2375,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2388,7 +2388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -2503,7 +2503,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2519,7 +2519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2535,7 +2535,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -2670,7 +2670,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2689,7 +2689,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2708,7 +2708,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AreaUnderCurve?.Any() == true) yield return new KeyValuePair("areaUnderCurve",AreaUnderCurve); @@ -3254,7 +3254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3330,7 +3330,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3406,7 +3406,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs index d86c52ec5..d1bf77576 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs @@ -394,7 +394,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -425,7 +425,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -456,7 +456,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InitialFill is not null) yield return new KeyValuePair("initialFill",InitialFill); @@ -580,7 +580,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -596,7 +596,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -612,7 +612,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -735,7 +735,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -751,7 +751,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -767,7 +767,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Allowed is not null) yield return new KeyValuePair("allowed",Allowed); @@ -1599,7 +1599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1705,7 +1705,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1811,7 +1811,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs index db362d1fa..e607298f8 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs @@ -569,7 +569,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -630,7 +630,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -691,7 +691,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs index fdbd9e569..dafd6f911 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -220,7 +220,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -239,7 +239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductNameElement is not null) yield return new KeyValuePair("productName",ProductNameElement); @@ -375,7 +375,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -391,7 +391,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -407,7 +407,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PartElement is not null) yield return new KeyValuePair("part",PartElement); @@ -542,7 +542,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -561,7 +561,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -580,7 +580,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); @@ -791,7 +791,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -819,7 +819,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OperationType is not null) yield return new KeyValuePair("operationType",OperationType); @@ -1078,7 +1078,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1109,7 +1109,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1140,7 +1140,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1617,7 +1617,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1687,7 +1687,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1757,7 +1757,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs index e1eae3fd0..655fd9637 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs @@ -218,7 +218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -268,7 +268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -426,7 +426,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -448,7 +448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -910,7 +910,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -968,7 +968,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1026,7 +1026,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs index a88e03ec7..7cd17b0ea 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs @@ -170,7 +170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -186,7 +186,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -202,7 +202,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TherapyRelationshipType is not null) yield return new KeyValuePair("therapyRelationshipType",TherapyRelationshipType); @@ -403,7 +403,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -434,7 +434,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -465,7 +465,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Subject?.Any() == true) yield return new KeyValuePair("subject",Subject); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs index 7e58250f7..96b31dca9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs @@ -170,7 +170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -186,7 +186,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -202,7 +202,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TherapyRelationshipType is not null) yield return new KeyValuePair("therapyRelationshipType",TherapyRelationshipType); @@ -439,7 +439,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -476,7 +476,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -513,7 +513,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Subject?.Any() == true) yield return new KeyValuePair("subject",Subject); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs index 7dd2f43bc..82be0a332 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -223,7 +223,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -245,7 +245,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -504,7 +504,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -535,7 +535,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Presentation is not null) yield return new KeyValuePair("presentation",Presentation); @@ -729,7 +729,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -754,7 +754,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -779,7 +779,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -899,7 +899,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -915,7 +915,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -931,7 +931,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1130,7 +1130,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1158,7 +1158,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1186,7 +1186,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs index 2274a26d2..2495b106c 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs @@ -151,7 +151,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -164,7 +164,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -177,7 +177,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -390,7 +390,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -421,7 +421,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -452,7 +452,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Subject?.Any() == true) yield return new KeyValuePair("subject",Subject); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs index e10313c78..9613147ee 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs @@ -248,7 +248,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -279,7 +279,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -310,7 +310,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ManufacturedDoseForm is not null) yield return new KeyValuePair("manufacturedDoseForm",ManufacturedDoseForm); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs index c3d4326e1..a1db71d51 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs @@ -163,7 +163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -179,7 +179,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -195,7 +195,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OuterPackaging is not null) yield return new KeyValuePair("outerPackaging",OuterPackaging); @@ -507,7 +507,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -553,7 +553,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -599,7 +599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -869,7 +869,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -906,7 +906,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -943,7 +943,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs index 8f78ce4a0..38ea830b2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs @@ -163,7 +163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -179,7 +179,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -195,7 +195,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -402,7 +402,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -433,7 +433,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -464,7 +464,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -586,7 +586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -602,7 +602,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -618,7 +618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -771,7 +771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -790,7 +790,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -809,7 +809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Tissue is not null) yield return new KeyValuePair("tissue",Tissue); @@ -1014,7 +1014,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1045,7 +1045,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1076,7 +1076,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs index a66824fda..b79716fa7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs @@ -210,7 +210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -235,7 +235,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Subject?.Any() == true) yield return new KeyValuePair("subject",Subject); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs index 19db4dcd2..e09ab87be 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs @@ -309,7 +309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -331,7 +331,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -353,7 +353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -511,7 +511,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -543,7 +543,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MessageElement is not null) yield return new KeyValuePair("message",MessageElement); @@ -1374,7 +1374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1456,7 +1456,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1538,7 +1538,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs index 7451ba1f9..18dd367d0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs @@ -274,7 +274,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -296,7 +296,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -318,7 +318,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -565,7 +565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -590,7 +590,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -615,7 +615,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -815,7 +815,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -834,7 +834,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentifierElement is not null) yield return new KeyValuePair("identifier",IdentifierElement); @@ -1135,7 +1135,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1178,7 +1178,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1221,7 +1221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Event is not null) yield return new KeyValuePair("event",Event); diff --git a/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs index cdc3d3bb1..f176f228a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs @@ -550,7 +550,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -587,7 +587,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -624,7 +624,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Chromosome is not null) yield return new KeyValuePair("chromosome",Chromosome); @@ -913,7 +913,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -941,7 +941,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -969,7 +969,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -1528,7 +1528,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1583,7 +1583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1638,7 +1638,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1992,7 +1992,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2023,7 +2023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2054,7 +2054,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ScoreElement?.Any() == true) yield return new KeyValuePair("score",ScoreElement); @@ -2360,7 +2360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2388,7 +2388,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2416,7 +2416,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2629,7 +2629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2654,7 +2654,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2679,7 +2679,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VariantType is not null) yield return new KeyValuePair("variantType",VariantType); @@ -2833,7 +2833,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2849,7 +2849,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2865,7 +2865,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -3016,7 +3016,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3032,7 +3032,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3048,7 +3048,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -3495,7 +3495,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3553,7 +3553,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3611,7 +3611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Money.cs b/src/Hl7.Fhir.R4/Model/Generated/Money.cs index bdcc95f88..83dc9c4dd 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Money.cs @@ -1289,7 +1289,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1305,7 +1305,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1321,7 +1321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs index a150932f3..246d78674 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -411,7 +411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -872,7 +872,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -921,7 +921,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -970,7 +970,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs index 76479e521..7840e41a2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs @@ -266,7 +266,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -294,7 +294,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -322,7 +322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -445,7 +445,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -461,7 +461,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -477,7 +477,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -597,7 +597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -613,7 +613,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -629,7 +629,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -839,7 +839,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -864,7 +864,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -889,7 +889,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1194,7 +1194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1231,7 +1231,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1268,7 +1268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (BaseFormulaType is not null) yield return new KeyValuePair("baseFormulaType",BaseFormulaType); @@ -1414,7 +1414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1433,7 +1433,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1452,7 +1452,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -1962,7 +1962,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2023,7 +2023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2084,7 +2084,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Observation.cs b/src/Hl7.Fhir.R4/Model/Generated/Observation.cs index 05ece6b0f..802f70530 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Observation.cs @@ -263,7 +263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Low is not null) yield return new KeyValuePair("low",Low); @@ -504,7 +504,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -529,7 +529,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1142,7 +1142,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1224,7 +1224,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1306,7 +1306,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs index d75cc7fee..6a97576f9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs @@ -347,7 +347,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -391,7 +391,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CustomaryUnit is not null) yield return new KeyValuePair("customaryUnit",CustomaryUnit); @@ -680,7 +680,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -714,7 +714,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -748,7 +748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CategoryElement is not null) yield return new KeyValuePair("category",CategoryElement); @@ -1131,7 +1131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1180,7 +1180,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1229,7 +1229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category?.Any() == true) yield return new KeyValuePair("category",Category); diff --git a/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs index ea0e94b3e..a96699348 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs @@ -510,7 +510,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -553,7 +553,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -596,7 +596,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -763,7 +763,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -779,7 +779,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -795,7 +795,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -951,7 +951,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -967,7 +967,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -983,7 +983,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -1139,7 +1139,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1155,7 +1155,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1171,7 +1171,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ParameterNameElement?.Any() == true) yield return new KeyValuePair("parameterName",ParameterNameElement); @@ -2106,7 +2106,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2194,7 +2194,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2282,7 +2282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Organization.cs b/src/Hl7.Fhir.R4/Model/Generated/Organization.cs index c586a1263..1b9291460 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Organization.cs @@ -206,7 +206,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -228,7 +228,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -250,7 +250,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs index 09a1326ab..f177ffc46 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs @@ -371,7 +371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -417,7 +417,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -463,7 +463,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs index 78b4a2951..814c80ffd 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -405,7 +405,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -436,7 +436,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Patient.cs b/src/Hl7.Fhir.R4/Model/Generated/Patient.cs index 078234022..f373854dc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Patient.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -348,7 +348,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relationship?.Any() == true) yield return new KeyValuePair("relationship",Relationship); @@ -522,7 +522,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -538,7 +538,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -697,7 +697,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -713,7 +713,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -729,7 +729,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Other is not null) yield return new KeyValuePair("other",Other); @@ -1161,7 +1161,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1219,7 +1219,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1277,7 +1277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs index 783b970ef..a7132257f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs @@ -409,7 +409,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -501,7 +501,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs index e90062ee6..a3ca17f76 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs @@ -342,7 +342,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -382,7 +382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -422,7 +422,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -586,7 +586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -602,7 +602,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -618,7 +618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1064,7 +1064,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1119,7 +1119,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1174,7 +1174,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Person.cs b/src/Hl7.Fhir.R4/Model/Generated/Person.cs index 5a0c08127..cbde83c01 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Person.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs index b5cb65a61..6e5981382 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs @@ -267,7 +267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -298,7 +298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -329,7 +329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -511,7 +511,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -1330,7 +1330,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1421,7 +1421,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1512,7 +1512,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PrefixElement is not null) yield return new KeyValuePair("prefix",PrefixElement); @@ -1677,7 +1677,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1693,7 +1693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1709,7 +1709,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1888,7 +1888,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1907,7 +1907,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1926,7 +1926,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -2067,7 +2067,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2083,7 +2083,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2099,7 +2099,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2236,7 +2236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2252,7 +2252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2268,7 +2268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -3205,7 +3205,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3308,7 +3308,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3411,7 +3411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Population.cs b/src/Hl7.Fhir.R4/Model/Generated/Population.cs index 81e4feebc..2cc417abb 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Population.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Population.cs @@ -190,7 +190,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -212,7 +212,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -234,7 +234,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Age is not null) yield return new KeyValuePair("age",Age); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs index 81bc21c53..5cdc2d138 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs @@ -209,7 +209,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -231,7 +231,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -253,7 +253,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -567,7 +567,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -607,7 +607,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -647,7 +647,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs index c57f9b551..92e7b829d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs @@ -280,7 +280,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -302,7 +302,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -324,7 +324,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -463,7 +463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -479,7 +479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -495,7 +495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -875,7 +875,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -927,7 +927,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -979,7 +979,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs index 5ea229a39..bd63ef3af 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs @@ -192,7 +192,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -211,7 +211,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -1068,7 +1068,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1162,7 +1162,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1256,7 +1256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs b/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs index dfd21924d..1fa165052 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs @@ -368,7 +368,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -411,7 +411,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -454,7 +454,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Height is not null) yield return new KeyValuePair("height",Height); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs index 869004f77..f97122284 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs index bf066ff04..c790f6693 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs @@ -254,7 +254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -298,7 +298,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -477,7 +477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -496,7 +496,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -794,7 +794,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -834,7 +834,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -874,7 +874,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs index 2d05b408b..bfeec2213 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs @@ -811,7 +811,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -869,7 +869,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -927,7 +927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1123,7 +1123,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1142,7 +1142,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1161,7 +1161,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (QuestionElement is not null) yield return new KeyValuePair("question",QuestionElement); @@ -1304,7 +1304,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1320,7 +1320,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1336,7 +1336,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1442,7 +1442,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2219,7 +2219,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2295,7 +2295,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2371,7 +2371,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs index 824284d9b..98c0aa594 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs @@ -321,7 +321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -346,7 +346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -371,7 +371,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -498,7 +498,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -514,7 +514,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -530,7 +530,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -868,7 +868,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -911,7 +911,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -954,7 +954,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs index 944ba772c..e33792369 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs @@ -153,7 +153,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -169,7 +169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -185,7 +185,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Numerator is not null) yield return new KeyValuePair("numerator",Numerator); diff --git a/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs index 71b6fec83..d808e004a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -204,7 +204,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -220,7 +220,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -574,7 +574,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -620,7 +620,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -666,7 +666,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs index 1029fc036..a58874556 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs @@ -679,7 +679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -746,7 +746,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -813,7 +813,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PrefixElement is not null) yield return new KeyValuePair("prefix",PrefixElement); @@ -970,7 +970,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -986,7 +986,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1002,7 +1002,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1180,7 +1180,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1199,7 +1199,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1218,7 +1218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -1751,7 +1751,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1815,7 +1815,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1879,7 +1879,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs index 56cef94cf..6afc11240 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1196,7 +1196,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1308,7 +1308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs index a1c52585b..a05987120 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs @@ -481,7 +481,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -573,7 +573,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Definition is not null) yield return new KeyValuePair("definition",Definition); @@ -1632,7 +1632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1741,7 +1741,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1850,7 +1850,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs index 6585f1292..393cbcd0a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs @@ -300,7 +300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -319,7 +319,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -338,7 +338,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -476,7 +476,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -508,7 +508,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1100,7 +1100,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1264,7 +1264,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs index 564746c9c..13c85e7c7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs @@ -417,7 +417,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -451,7 +451,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -485,7 +485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs index e8c81c16c..49b71bbda 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs @@ -283,7 +283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -339,7 +339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Outcome is not null) yield return new KeyValuePair("outcome",Outcome); @@ -785,7 +785,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -846,7 +846,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -907,7 +907,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs b/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs index 6cd2876fe..bf8c322e0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs @@ -240,7 +240,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -259,7 +259,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -278,7 +278,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -562,7 +562,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -593,7 +593,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -624,7 +624,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -838,7 +838,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -860,7 +860,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -882,7 +882,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1024,7 +1024,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1062,7 +1062,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Rating?.Any() == true) yield return new KeyValuePair("rating",Rating); @@ -1203,7 +1203,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1222,7 +1222,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1241,7 +1241,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2093,7 +2093,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2196,7 +2196,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2299,7 +2299,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs index 2fbc6a90b..e723a2ab8 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs @@ -354,7 +354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -385,7 +385,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -416,7 +416,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Origin is not null) yield return new KeyValuePair("origin",Origin); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs index e1a9e98ef..bf866213a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs @@ -305,7 +305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -339,7 +339,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -373,7 +373,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs index 9c9b63db3..78eae7a77 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs @@ -393,7 +393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -409,7 +409,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -425,7 +425,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DefinitionElement is not null) yield return new KeyValuePair("definition",DefinitionElement); @@ -1388,7 +1388,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1476,7 +1476,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1564,7 +1564,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs index b25da3d4d..2913804fa 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs @@ -924,7 +924,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1033,7 +1033,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1142,7 +1142,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Slot.cs b/src/Hl7.Fhir.R4/Model/Generated/Slot.cs index f65d2dab2..38b47e8e7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Slot.cs @@ -459,7 +459,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -502,7 +502,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -545,7 +545,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs index 65a5df9e6..f44fb8f03 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs @@ -301,7 +301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -332,7 +332,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -363,7 +363,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -546,7 +546,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -568,7 +568,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -590,7 +590,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -806,7 +806,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -834,7 +834,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -862,7 +862,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1224,7 +1224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1273,7 +1273,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1322,7 +1322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs index 157b8ba93..0b870fad5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs @@ -359,7 +359,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -393,7 +393,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -427,7 +427,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IsDerivedElement is not null) yield return new KeyValuePair("isDerived",IsDerivedElement); @@ -698,7 +698,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -766,7 +766,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Material is not null) yield return new KeyValuePair("material",Material); @@ -877,7 +877,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -890,7 +890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -903,7 +903,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Additive is not null) yield return new KeyValuePair("additive",Additive); @@ -1075,7 +1075,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1097,7 +1097,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1119,7 +1119,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TemperatureQualifier is not null) yield return new KeyValuePair("temperatureQualifier",TemperatureQualifier); @@ -1321,7 +1321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1349,7 +1349,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1377,7 +1377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs index c90eb80d9..70da21fd4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs @@ -570,7 +570,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -592,7 +592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -614,7 +614,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -884,7 +884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -940,7 +940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1175,7 +1175,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1197,7 +1197,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1219,7 +1219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1449,7 +1449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1477,7 +1477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1505,7 +1505,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1971,7 +1971,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2014,7 +2014,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2057,7 +2057,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2423,7 +2423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2457,7 +2457,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2491,7 +2491,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2597,7 +2597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2610,7 +2610,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2623,7 +2623,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2775,7 +2775,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2791,7 +2791,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2807,7 +2807,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3428,7 +3428,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3492,7 +3492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3556,7 +3556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs index d2afd1b39..bf0348942 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs @@ -355,7 +355,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -377,7 +377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -399,7 +399,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -690,7 +690,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -721,7 +721,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -752,7 +752,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Substance.cs b/src/Hl7.Fhir.R4/Model/Generated/Substance.cs index d386e66e3..038c7437b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Substance.cs @@ -229,7 +229,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -248,7 +248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -407,7 +407,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -423,7 +423,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -665,7 +665,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -696,7 +696,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -727,7 +727,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs index 2cccf107f..7fce3637b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs @@ -162,7 +162,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -178,7 +178,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -194,7 +194,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LowLimit is not null) yield return new KeyValuePair("lowLimit",LowLimit); @@ -352,7 +352,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -374,7 +374,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -396,7 +396,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Amount is not null) yield return new KeyValuePair("amount",Amount); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs index 97fef2e00..8ccae1d51 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -360,7 +360,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -394,7 +394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubunitElement is not null) yield return new KeyValuePair("subunit",SubunitElement); @@ -605,7 +605,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -627,7 +627,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -649,7 +649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ConnectivityElement is not null) yield return new KeyValuePair("connectivity",ConnectivityElement); @@ -820,7 +820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -839,7 +839,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -858,7 +858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1052,7 +1052,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1077,7 +1077,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1102,7 +1102,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceType is not null) yield return new KeyValuePair("sequenceType",SequenceType); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs index b6366ac49..8c52f63ed 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs @@ -163,7 +163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -179,7 +179,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -195,7 +195,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RatioType is not null) yield return new KeyValuePair("ratioType",RatioType); @@ -364,7 +364,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -408,7 +408,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Material is not null) yield return new KeyValuePair("material",Material); @@ -598,7 +598,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -620,7 +620,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -642,7 +642,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberOfUnitsElement is not null) yield return new KeyValuePair("numberOfUnits",NumberOfUnitsElement); @@ -833,7 +833,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -858,7 +858,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -883,7 +883,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OrientationOfPolymerisation is not null) yield return new KeyValuePair("orientationOfPolymerisation",OrientationOfPolymerisation); @@ -1001,7 +1001,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1017,7 +1017,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1033,7 +1033,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Degree is not null) yield return new KeyValuePair("degree",Degree); @@ -1184,7 +1184,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1203,7 +1203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1222,7 +1222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1419,7 +1419,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1447,7 +1447,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1475,7 +1475,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Class is not null) yield return new KeyValuePair("class",Class); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs index f093f7322..0f2ca81e0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs @@ -360,7 +360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -394,7 +394,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -428,7 +428,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubunitElement is not null) yield return new KeyValuePair("subunit",SubunitElement); @@ -610,7 +610,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -632,7 +632,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceType is not null) yield return new KeyValuePair("sequenceType",SequenceType); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs index bfc69a78e..5f59409e2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs @@ -183,7 +183,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -202,7 +202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -221,7 +221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (GeneSequenceOrigin is not null) yield return new KeyValuePair("geneSequenceOrigin",GeneSequenceOrigin); @@ -358,7 +358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -377,7 +377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -396,7 +396,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -552,7 +552,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -574,7 +574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -596,7 +596,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Domain is not null) yield return new KeyValuePair("domain",Domain); @@ -826,7 +826,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -860,7 +860,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -894,7 +894,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -1078,7 +1078,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1128,7 +1128,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs index b78fa85ac..ccd32136d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs @@ -180,7 +180,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -196,7 +196,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -212,7 +212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FractionElement is not null) yield return new KeyValuePair("fraction",FractionElement); @@ -454,7 +454,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -488,7 +488,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -522,7 +522,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Family is not null) yield return new KeyValuePair("family",Family); @@ -661,7 +661,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -677,7 +677,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -693,7 +693,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AuthorType is not null) yield return new KeyValuePair("authorType",AuthorType); @@ -934,7 +934,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -959,7 +959,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -984,7 +984,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MaternalOrganismIdElement is not null) yield return new KeyValuePair("maternalOrganismId",MaternalOrganismIdElement); @@ -1138,7 +1138,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1160,7 +1160,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Kingdom is not null) yield return new KeyValuePair("kingdom",Kingdom); @@ -1299,7 +1299,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1315,7 +1315,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1331,7 +1331,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Part is not null) yield return new KeyValuePair("part",Part); @@ -1691,7 +1691,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1740,7 +1740,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1789,7 +1789,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceMaterialClass is not null) yield return new KeyValuePair("sourceMaterialClass",SourceMaterialClass); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs index e7ea4d3ae..299ff28c6 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs @@ -290,7 +290,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -321,7 +321,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -352,7 +352,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -549,7 +549,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -574,7 +574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -599,7 +599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -866,7 +866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -900,7 +900,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -934,7 +934,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Stereochemistry is not null) yield return new KeyValuePair("stereochemistry",Stereochemistry); @@ -1109,7 +1109,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1134,7 +1134,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1159,7 +1159,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1295,7 +1295,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1314,7 +1314,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1333,7 +1333,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Method is not null) yield return new KeyValuePair("method",Method); @@ -1485,7 +1485,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1504,7 +1504,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1523,7 +1523,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1732,7 +1732,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1757,7 +1757,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1782,7 +1782,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -2108,7 +2108,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2151,7 +2151,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2194,7 +2194,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2354,7 +2354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2373,7 +2373,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2392,7 +2392,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Authority is not null) yield return new KeyValuePair("authority",Authority); @@ -2624,7 +2624,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2655,7 +2655,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2686,7 +2686,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -3156,7 +3156,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3223,7 +3223,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3290,7 +3290,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs index a9a18ea8c..d0de570c4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs @@ -228,7 +228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -244,7 +244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -568,7 +568,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -611,7 +611,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs index 3d17f8933..21a0e8aec 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -679,7 +679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -734,7 +734,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -789,7 +789,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Task.cs b/src/Hl7.Fhir.R4/Model/Generated/Task.cs index 19545db70..5687f250d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Task.cs @@ -350,7 +350,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -388,7 +388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RepetitionsElement is not null) yield return new KeyValuePair("repetitions",RepetitionsElement); @@ -512,7 +512,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -528,7 +528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -544,7 +544,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -667,7 +667,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -683,7 +683,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1516,7 +1516,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1619,7 +1619,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1722,7 +1722,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs index e01dfe168..7d4eb738b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -259,7 +259,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -414,7 +414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -430,7 +430,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -620,7 +620,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -639,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -658,7 +658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -943,7 +943,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -971,7 +971,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -999,7 +999,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1156,7 +1156,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1172,7 +1172,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1430,7 +1430,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1480,7 +1480,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (HierarchicalElement is not null) yield return new KeyValuePair("hierarchical",HierarchicalElement); @@ -1635,7 +1635,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1651,7 +1651,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1667,7 +1667,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1783,7 +1783,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1796,7 +1796,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1809,7 +1809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationsElement is not null) yield return new KeyValuePair("translations",TranslationsElement); @@ -1924,7 +1924,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1937,7 +1937,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1950,7 +1950,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NeedsMapElement is not null) yield return new KeyValuePair("needsMap",NeedsMapElement); @@ -2067,7 +2067,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2080,7 +2080,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2093,7 +2093,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationElement is not null) yield return new KeyValuePair("translation",TranslationElement); @@ -2856,7 +2856,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2938,7 +2938,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3020,7 +3020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs index 691e9e78e..d583e76c5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs @@ -377,7 +377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -415,7 +415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -540,7 +540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -658,7 +658,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -674,7 +674,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -690,7 +690,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -883,7 +883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -902,7 +902,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -921,7 +921,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1115,7 +1115,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1134,7 +1134,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1153,7 +1153,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1324,7 +1324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1362,7 +1362,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1482,7 +1482,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1498,7 +1498,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1514,7 +1514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -1615,7 +1615,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1628,7 +1628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1641,7 +1641,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -1742,7 +1742,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1755,7 +1755,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1768,7 +1768,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2170,7 +2170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2216,7 +2216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2262,7 +2262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs index 5f2099ea3..5813f81d0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs @@ -422,7 +422,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -438,7 +438,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -454,7 +454,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -594,7 +594,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -610,7 +610,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -626,7 +626,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -746,7 +746,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -762,7 +762,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -778,7 +778,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link?.Any() == true) yield return new KeyValuePair("link",Link); @@ -933,7 +933,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -949,7 +949,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -965,7 +965,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -1305,7 +1305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1336,7 +1336,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1367,7 +1367,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequiredElement is not null) yield return new KeyValuePair("required",RequiredElement); @@ -1548,7 +1548,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1567,7 +1567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AutocreateElement is not null) yield return new KeyValuePair("autocreate",AutocreateElement); @@ -1959,7 +1959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1993,7 +1993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2027,7 +2027,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2131,7 +2131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2144,7 +2144,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2157,7 +2157,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -2275,7 +2275,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2291,7 +2291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2307,7 +2307,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2974,7 +2974,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3035,7 +3035,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3096,7 +3096,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3268,7 +3268,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3284,7 +3284,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3300,7 +3300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FieldElement is not null) yield return new KeyValuePair("field",FieldElement); @@ -4187,7 +4187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4263,7 +4263,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4339,7 +4339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -4529,7 +4529,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4548,7 +4548,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4567,7 +4567,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -4687,7 +4687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4703,7 +4703,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4719,7 +4719,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -4820,7 +4820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4833,7 +4833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4846,7 +4846,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -4947,7 +4947,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4960,7 +4960,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4973,7 +4973,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -5687,7 +5687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5769,7 +5769,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5851,7 +5851,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/Timing.cs b/src/Hl7.Fhir.R4/Model/Generated/Timing.cs index ee955366b..60b41cde1 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Timing.cs @@ -891,7 +891,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -946,7 +946,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1001,7 +1001,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Bounds is not null) yield return new KeyValuePair("bounds",Bounds); @@ -1154,7 +1154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1173,7 +1173,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1192,7 +1192,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventElement?.Any() == true) yield return new KeyValuePair("event",EventElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs index 70fcd1c86..291066b28 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs @@ -308,7 +308,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -333,7 +333,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -358,7 +358,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs index 3877b1b1b..b89445415 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -357,7 +357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -388,7 +388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -675,7 +675,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -709,7 +709,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -743,7 +743,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -903,7 +903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -922,7 +922,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -941,7 +941,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Organization is not null) yield return new KeyValuePair("organization",Organization); @@ -1364,7 +1364,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1416,7 +1416,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs index cfe4a5cee..54dc4c3a7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs @@ -627,7 +627,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -679,7 +679,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -901,7 +901,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -917,7 +917,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -933,7 +933,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AmountElement is not null) yield return new KeyValuePair("amount",AmountElement); @@ -1214,7 +1214,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1248,7 +1248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1282,7 +1282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Account.cs b/src/Hl7.Fhir.R4B/Model/Generated/Account.cs index 2f910665a..75d5e9db5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Account.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -263,7 +263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -420,7 +420,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -458,7 +458,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Party is not null) yield return new KeyValuePair("party",Party); @@ -793,7 +793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -836,7 +836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -879,7 +879,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs index c0c177dca..333839e56 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs @@ -290,7 +290,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -306,7 +306,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -322,7 +322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -461,7 +461,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -477,7 +477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -493,7 +493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1834,7 +1834,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1982,7 +1982,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2130,7 +2130,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Address.cs b/src/Hl7.Fhir.R4B/Model/Generated/Address.cs index 92c31a310..86dc6d2ba 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Address.cs @@ -532,7 +532,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -612,7 +612,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs index c94b95fbd..c01a573c6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -207,7 +207,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -226,7 +226,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -438,7 +438,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -469,7 +469,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -500,7 +500,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -623,7 +623,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -639,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -655,7 +655,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -809,7 +809,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -828,7 +828,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Tissue is not null) yield return new KeyValuePair("tissue",Tissue); @@ -1132,7 +1132,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1172,7 +1172,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs index 0d92d79fe..80fe32d25 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs @@ -268,7 +268,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -284,7 +284,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -300,7 +300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Instance is not null) yield return new KeyValuePair("instance",Instance); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -517,7 +517,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Assessment is not null) yield return new KeyValuePair("assessment",Assessment); @@ -1053,7 +1053,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1123,7 +1123,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1193,7 +1193,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs index 9101184ee..5d38d945e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs @@ -494,7 +494,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -556,7 +556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1031,7 +1031,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1089,7 +1089,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1147,7 +1147,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs index 3dc188b36..191586107 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -249,7 +249,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Author is not null) yield return new KeyValuePair("author",Author); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs index 88a798c19..2e60fbde4 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs @@ -362,7 +362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -387,7 +387,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -412,7 +412,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -1069,7 +1069,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1145,7 +1145,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1221,7 +1221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs index 41fb0ea65..896971c09 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs @@ -342,7 +342,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -410,7 +410,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs index 9e447529c..f94224c01 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs @@ -531,7 +531,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -574,7 +574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -617,7 +617,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -782,7 +782,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -798,7 +798,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -814,7 +814,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AddressElement is not null) yield return new KeyValuePair("address",AddressElement); @@ -974,7 +974,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -993,7 +993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1012,7 +1012,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SiteElement is not null) yield return new KeyValuePair("site",SiteElement); @@ -1320,7 +1320,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1357,7 +1357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1394,7 +1394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (What is not null) yield return new KeyValuePair("what",What); @@ -1541,7 +1541,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1557,7 +1557,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1573,7 +1573,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1923,7 +1923,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1966,7 +1966,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2009,7 +2009,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs b/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs index 9f20602b7..07e67dfe8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs @@ -233,7 +233,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs index 4f2c5e3b1..d7678b541 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -300,7 +300,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -497,7 +497,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -519,7 +519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -681,7 +681,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -697,7 +697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -713,7 +713,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -920,7 +920,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1300,7 +1300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1386,7 +1386,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs index 5ddf0fe79..d561452ef 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs @@ -307,7 +307,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -341,7 +341,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -375,7 +375,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs index d87ca2efa..dbb9b0370 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs @@ -386,7 +386,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -411,7 +411,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -436,7 +436,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OutcomeCodeableConcept?.Any() == true) yield return new KeyValuePair("outcomeCodeableConcept",OutcomeCodeableConcept); @@ -962,7 +962,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1023,7 +1023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1084,7 +1084,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1751,7 +1751,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1830,7 +1830,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1909,7 +1909,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs index 3e41dbd23..3fdf32d4e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs @@ -250,7 +250,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -272,7 +272,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -294,7 +294,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role?.Any() == true) yield return new KeyValuePair("role",Role); @@ -654,7 +654,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -703,7 +703,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -752,7 +752,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs b/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs index 5a1e9a73b..3761f34ac 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs @@ -214,7 +214,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -246,7 +246,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationtypeElement is not null) yield return new KeyValuePair("relationtype",RelationtypeElement); @@ -632,7 +632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -681,7 +681,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -730,7 +730,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs index d614aed19..c81a8b13e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -945,7 +945,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1033,7 +1033,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1121,7 +1121,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs index 998752fe7..9c52a15af 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs @@ -241,7 +241,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -260,7 +260,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -279,7 +279,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -400,7 +400,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -416,7 +416,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -432,7 +432,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Applicability?.Any() == true) yield return new KeyValuePair("applicability",Applicability); @@ -625,7 +625,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -647,7 +647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -669,7 +669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1423,7 +1423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1502,7 +1502,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1581,7 +1581,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs index ee6f2ab87..4b9df268c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs @@ -185,7 +185,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -201,7 +201,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -217,7 +217,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Style is not null) yield return new KeyValuePair("style",Style); @@ -335,7 +335,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -351,7 +351,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -367,7 +367,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -521,7 +521,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -540,7 +540,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -559,7 +559,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Activity is not null) yield return new KeyValuePair("activity",Activity); @@ -701,7 +701,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -720,7 +720,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -739,7 +739,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationshipType is not null) yield return new KeyValuePair("relationshipType",RelationshipType); @@ -1119,7 +1119,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1174,7 +1174,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1229,7 +1229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1378,7 +1378,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1394,7 +1394,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1410,7 +1410,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); @@ -1564,7 +1564,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1583,7 +1583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1602,7 +1602,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Activity is not null) yield return new KeyValuePair("activity",Activity); @@ -1758,7 +1758,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1777,7 +1777,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1796,7 +1796,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -1987,7 +1987,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2009,7 +2009,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2031,7 +2031,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2187,7 +2187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2206,7 +2206,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2225,7 +2225,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2367,7 +2367,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2386,7 +2386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2405,7 +2405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationshipType is not null) yield return new KeyValuePair("relationshipType",RelationshipType); @@ -2832,7 +2832,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2875,7 +2875,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2918,7 +2918,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PublishedIn is not null) yield return new KeyValuePair("publishedIn",PublishedIn); @@ -3136,7 +3136,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3161,7 +3161,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3186,7 +3186,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3377,7 +3377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3399,7 +3399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3421,7 +3421,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CitedMedium is not null) yield return new KeyValuePair("citedMedium",CitedMedium); @@ -3718,7 +3718,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3746,7 +3746,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3774,7 +3774,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -3912,7 +3912,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3928,7 +3928,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3944,7 +3944,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4080,7 +4080,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4099,7 +4099,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4118,7 +4118,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4330,7 +4330,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4355,7 +4355,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4380,7 +4380,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Person is not null) yield return new KeyValuePair("person",Person); @@ -4539,7 +4539,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4558,7 +4558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4577,7 +4577,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CompleteElement is not null) yield return new KeyValuePair("complete",CompleteElement); @@ -4957,7 +4957,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5003,7 +5003,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5049,7 +5049,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Name is not null) yield return new KeyValuePair("name",Name); @@ -5232,7 +5232,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5251,7 +5251,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5270,7 +5270,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AffiliationElement is not null) yield return new KeyValuePair("affiliation",AffiliationElement); @@ -5406,7 +5406,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5422,7 +5422,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5438,7 +5438,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -5611,7 +5611,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5633,7 +5633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5655,7 +5655,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -6500,7 +6500,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6597,7 +6597,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6694,7 +6694,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs b/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs index fcd001b86..2edd96f98 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -599,7 +599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -624,7 +624,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -649,7 +649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -871,7 +871,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -899,7 +899,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -927,7 +927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1131,7 +1131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1156,7 +1156,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1181,7 +1181,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1403,7 +1403,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1428,7 +1428,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1453,7 +1453,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1745,7 +1745,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1776,7 +1776,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1807,7 +1807,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1971,7 +1971,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1990,7 +1990,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2009,7 +2009,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2607,7 +2607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2680,7 +2680,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2753,7 +2753,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3119,7 +3119,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3165,7 +3165,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3211,7 +3211,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3549,7 +3549,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3592,7 +3592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3635,7 +3635,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4291,7 +4291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4382,7 +4382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4473,7 +4473,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs index 87b7b2b4a..d3816dab9 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs @@ -244,7 +244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -266,7 +266,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -288,7 +288,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -465,7 +465,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -487,7 +487,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -509,7 +509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -705,7 +705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -727,7 +727,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -749,7 +749,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DetailSequenceElement is not null) yield return new KeyValuePair("detailSequence",DetailSequenceElement); @@ -926,7 +926,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -945,7 +945,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubDetailSequenceElement is not null) yield return new KeyValuePair("subDetailSequence",SubDetailSequenceElement); @@ -1485,7 +1485,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1549,7 +1549,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1613,7 +1613,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -1916,7 +1916,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1953,7 +1953,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1990,7 +1990,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -2265,7 +2265,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2299,7 +2299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2333,7 +2333,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -2461,7 +2461,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2477,7 +2477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2493,7 +2493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -2705,7 +2705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2733,7 +2733,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2761,7 +2761,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2977,7 +2977,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2999,7 +2999,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3021,7 +3021,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -3257,7 +3257,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3282,7 +3282,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3307,7 +3307,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3521,7 +3521,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3543,7 +3543,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3565,7 +3565,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -4266,7 +4266,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4357,7 +4357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4448,7 +4448,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs index b48746d63..451fd780f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -390,7 +390,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -409,7 +409,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -428,7 +428,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemCodeableConcept is not null) yield return new KeyValuePair("itemCodeableConcept",ItemCodeableConcept); @@ -979,7 +979,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1049,7 +1049,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1119,7 +1119,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs index 809a3a0cd..9b464aac0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs @@ -264,7 +264,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -289,7 +289,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -314,7 +314,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DiseaseSymptomProcedure is not null) yield return new KeyValuePair("diseaseSymptomProcedure",DiseaseSymptomProcedure); @@ -439,7 +439,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -471,7 +471,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationshipType is not null) yield return new KeyValuePair("relationshipType",RelationshipType); @@ -687,7 +687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -718,7 +718,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -749,7 +749,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DiseaseSymptomProcedure is not null) yield return new KeyValuePair("diseaseSymptomProcedure",DiseaseSymptomProcedure); @@ -929,7 +929,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -954,7 +954,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -979,7 +979,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Interactant?.Any() == true) yield return new KeyValuePair("interactant",Interactant); @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1097,7 +1097,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1110,7 +1110,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1248,7 +1248,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1267,7 +1267,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1286,7 +1286,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SymptomConditionEffect is not null) yield return new KeyValuePair("symptomConditionEffect",SymptomConditionEffect); @@ -1424,7 +1424,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1440,7 +1440,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1456,7 +1456,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1753,7 +1753,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1796,7 +1796,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1839,7 +1839,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs b/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs index 2b8004a2f..a66f64ce8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -811,7 +811,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -890,7 +890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -969,7 +969,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs index bc3686b6e..4a8440eb4 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -755,7 +755,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -831,7 +831,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -907,7 +907,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs index 081839e37..b243d295d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -812,7 +812,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -864,7 +864,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -916,7 +916,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs b/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs index b0f1beaa5..d8ff0f99f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs @@ -309,7 +309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -328,7 +328,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -347,7 +347,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -492,7 +492,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -508,7 +508,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -524,7 +524,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -666,7 +666,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -685,7 +685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -704,7 +704,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -1017,7 +1017,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1057,7 +1057,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1097,7 +1097,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1539,7 +1539,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1594,7 +1594,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1649,7 +1649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs index 5d0ca3e62..24178a734 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs @@ -341,7 +341,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -397,7 +397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -575,7 +575,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -594,7 +594,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -613,7 +613,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -882,7 +882,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -910,7 +910,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -938,7 +938,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1170,7 +1170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1192,7 +1192,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1214,7 +1214,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PropertyElement is not null) yield return new KeyValuePair("property",PropertyElement); @@ -1446,7 +1446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1490,7 +1490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -2094,7 +2094,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2158,7 +2158,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2222,7 +2222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs b/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs index 0777f0900..660086d65 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs @@ -283,7 +283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -302,7 +302,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Summary is not null) yield return new KeyValuePair("summary",Summary); @@ -446,7 +446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -462,7 +462,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -478,7 +478,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -895,7 +895,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -956,7 +956,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1017,7 +1017,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs b/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs index b85387c16..0ec202755 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs @@ -307,7 +307,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -323,7 +323,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -339,7 +339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AuthorityElement is not null) yield return new KeyValuePair("authority",AuthorityElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -533,7 +533,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -552,7 +552,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VerifiedElement is not null) yield return new KeyValuePair("verified",VerifiedElement); @@ -866,7 +866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -909,7 +909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -952,7 +952,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1116,7 +1116,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -1258,7 +1258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1274,7 +1274,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1290,7 +1290,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -1650,7 +1650,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1699,7 +1699,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1748,7 +1748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs b/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs index d2b4ffb39..b3cabd6c6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs @@ -502,7 +502,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -530,7 +530,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -558,7 +558,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -906,7 +906,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -952,7 +952,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -998,7 +998,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1187,7 +1187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1209,7 +1209,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1231,7 +1231,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement?.Any() == true) yield return new KeyValuePair("number",NumberElement); @@ -1560,7 +1560,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1600,7 +1600,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1640,7 +1640,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1768,7 +1768,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1784,7 +1784,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1800,7 +1800,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -1901,7 +1901,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1914,7 +1914,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1927,7 +1927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2365,7 +2365,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2420,7 +2420,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2475,7 +2475,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Scope is not null) yield return new KeyValuePair("scope",Scope); @@ -2643,7 +2643,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2662,7 +2662,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2681,7 +2681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3148,7 +3148,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3200,7 +3200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3252,7 +3252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -3902,7 +3902,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3975,7 +3975,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4048,7 +4048,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DoNotPerformElement is not null) yield return new KeyValuePair("doNotPerform",DoNotPerformElement); @@ -4186,7 +4186,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4202,7 +4202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4218,7 +4218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -4362,7 +4362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4381,7 +4381,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4400,7 +4400,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4505,7 +4505,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4518,7 +4518,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4531,7 +4531,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4634,7 +4634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4647,7 +4647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4660,7 +4660,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4763,7 +4763,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4776,7 +4776,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4789,7 +4789,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -5656,7 +5656,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5765,7 +5765,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5874,7 +5874,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs index ba0672593..3a3f50850 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs index 13e41ca46..20bc034d8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -246,7 +246,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -265,7 +265,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -427,7 +427,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -567,7 +567,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -583,7 +583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -599,7 +599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1102,7 +1102,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1163,7 +1163,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1224,7 +1224,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs index d8ee87594..0fe897f69 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -280,7 +280,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -299,7 +299,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -476,7 +476,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -514,7 +514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -808,7 +808,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -848,7 +848,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -888,7 +888,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SupportingInfoSequenceElement?.Any() == true) yield return new KeyValuePair("supportingInfoSequence",SupportingInfoSequenceElement); @@ -1000,7 +1000,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1013,7 +1013,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1026,7 +1026,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Diagnosis is not null) yield return new KeyValuePair("diagnosis",Diagnosis); @@ -1425,7 +1425,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1477,7 +1477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1529,7 +1529,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs index 21523ca2e..afda7f4ba 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -283,7 +283,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -305,7 +305,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -743,7 +743,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -795,7 +795,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1001,7 +1001,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1039,7 +1039,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1142,7 +1142,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1155,7 +1155,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1168,7 +1168,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1640,7 +1640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1695,7 +1695,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1750,7 +1750,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs index 278501a5f..cbc1c8519 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -303,7 +303,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -325,7 +325,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -501,7 +501,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -520,7 +520,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -539,7 +539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -699,7 +699,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -715,7 +715,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1025,7 +1025,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1059,7 +1059,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1093,7 +1093,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs index 821671cad..478a1aa64 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -410,7 +410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -429,7 +429,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -804,7 +804,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -850,7 +850,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -896,7 +896,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Device.cs b/src/Hl7.Fhir.R4B/Model/Generated/Device.cs index 6c41a9e54..4d315d140 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Device.cs @@ -431,7 +431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -459,7 +459,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -487,7 +487,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -649,7 +649,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -665,7 +665,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -681,7 +681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -815,7 +815,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -831,7 +831,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemType is not null) yield return new KeyValuePair("systemType",SystemType); @@ -999,7 +999,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1018,7 +1018,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1037,7 +1037,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1174,7 +1174,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1193,7 +1193,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1953,7 +1953,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2041,7 +2041,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2129,7 +2129,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs index ea7676ce3..afe11d958 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs @@ -244,7 +244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -263,7 +263,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -282,7 +282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -438,7 +438,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -454,7 +454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -622,7 +622,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +638,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemTypeElement is not null) yield return new KeyValuePair("systemType",SystemTypeElement); @@ -771,7 +771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -787,7 +787,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -803,7 +803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -939,7 +939,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -958,7 +958,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -977,7 +977,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1148,7 +1148,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1167,7 +1167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1186,7 +1186,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1745,7 +1745,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1821,7 +1821,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1897,7 +1897,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs index 91ca6692c..a846269d0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -474,7 +474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -793,7 +793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -833,7 +833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -873,7 +873,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs index dca0d43f3..d74810675 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -860,7 +860,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1024,7 +1024,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs index 00b3b84fb..5491d21ef 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs @@ -460,7 +460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -509,7 +509,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -558,7 +558,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs index 8ecc5756a..27704da1c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs @@ -260,7 +260,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -292,7 +292,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); @@ -774,7 +774,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -838,7 +838,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -902,7 +902,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs index 221cc60b4..30fb6b374 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -576,7 +576,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -622,7 +622,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -668,7 +668,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs index 6089f9f41..133e286cb 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs @@ -194,7 +194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -226,7 +226,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -346,7 +346,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -362,7 +362,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -378,7 +378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Attachment is not null) yield return new KeyValuePair("attachment",Attachment); @@ -599,7 +599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -630,7 +630,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -661,7 +661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Encounter?.Any() == true) yield return new KeyValuePair("encounter",Encounter); @@ -1116,7 +1116,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1174,7 +1174,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1232,7 +1232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs index 284f4de6c..19659193d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -593,7 +593,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -642,7 +642,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -691,7 +691,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs index 1d35ae3a7..fe4f5d0e3 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -307,7 +307,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -323,7 +323,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -444,7 +444,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -460,7 +460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -476,7 +476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Class is not null) yield return new KeyValuePair("class",Class); @@ -616,7 +616,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -635,7 +635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -810,7 +810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -829,7 +829,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -848,7 +848,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -1107,7 +1107,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1144,7 +1144,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1181,7 +1181,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreAdmissionIdentifier is not null) yield return new KeyValuePair("preAdmissionIdentifier",PreAdmissionIdentifier); @@ -1367,7 +1367,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1389,7 +1389,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1411,7 +1411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -1951,7 +1951,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2030,7 +2030,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2109,7 +2109,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs index e51d75d45..56a68b3c6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -510,7 +510,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -553,7 +553,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs index 1d45182c2..096564db6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -322,7 +322,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -353,7 +353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs index e9d39ab3d..c68f7575c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs @@ -345,7 +345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -379,7 +379,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -413,7 +413,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs index 531d18204..cc6262eb5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs @@ -242,7 +242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -429,7 +429,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -448,7 +448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -467,7 +467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -794,7 +794,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -840,7 +840,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -886,7 +886,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs index 283281dc6..4f5ebe800 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs @@ -912,7 +912,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1006,7 +1006,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs index 3bb6057f8..cb529d644 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs @@ -263,7 +263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -640,7 +640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -680,7 +680,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -720,7 +720,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -970,7 +970,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -995,7 +995,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1270,7 +1270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1301,7 +1301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1332,7 +1332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1495,7 +1495,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1517,7 +1517,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1539,7 +1539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1736,7 +1736,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1761,7 +1761,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1786,7 +1786,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VariableDefinition is not null) yield return new KeyValuePair("variableDefinition",VariableDefinition); @@ -2019,7 +2019,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2047,7 +2047,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2075,7 +2075,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -2797,7 +2797,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2882,7 +2882,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2967,7 +2967,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs index 95078ee47..b25999df8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs @@ -229,7 +229,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -245,7 +245,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -261,7 +261,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Characteristic?.Any() == true) yield return new KeyValuePair("characteristic",Characteristic); @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -458,7 +458,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -480,7 +480,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -626,7 +626,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -642,7 +642,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -658,7 +658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1009,7 +1009,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1055,7 +1055,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1101,7 +1101,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1577,7 +1577,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1641,7 +1641,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1705,7 +1705,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs index ebb71805c..5de4d7ff8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs @@ -345,7 +345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -407,7 +407,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -585,7 +585,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -607,7 +607,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -629,7 +629,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -769,7 +769,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -785,7 +785,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -801,7 +801,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1553,7 +1553,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1635,7 +1635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1717,7 +1717,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs index 0a1726554..fe02d9343 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs @@ -296,7 +296,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -318,7 +318,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -340,7 +340,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActorIdElement is not null) yield return new KeyValuePair("actorId",ActorIdElement); @@ -607,7 +607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -635,7 +635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -663,7 +663,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceIdElement is not null) yield return new KeyValuePair("resourceId",ResourceIdElement); @@ -820,7 +820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -836,7 +836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -852,7 +852,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VersionIdElement is not null) yield return new KeyValuePair("versionId",VersionIdElement); @@ -1007,7 +1007,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1023,7 +1023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1039,7 +1039,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceIdElement is not null) yield return new KeyValuePair("resourceId",ResourceIdElement); @@ -1282,7 +1282,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1307,7 +1307,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1332,7 +1332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1506,7 +1506,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1528,7 +1528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1550,7 +1550,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Process?.Any() == true) yield return new KeyValuePair("process",Process); @@ -1956,7 +1956,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1996,7 +1996,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2036,7 +2036,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -2218,7 +2218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2237,7 +2237,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2256,7 +2256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -2823,7 +2823,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2884,7 +2884,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2945,7 +2945,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs index 7cc5ec41f..bcda9730d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -262,7 +262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -385,7 +385,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -401,7 +401,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -417,7 +417,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -631,7 +631,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -656,7 +656,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -681,7 +681,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -903,7 +903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -931,7 +931,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -959,7 +959,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1163,7 +1163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1213,7 +1213,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1435,7 +1435,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1460,7 +1460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1485,7 +1485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1666,7 +1666,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1685,7 +1685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1704,7 +1704,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -1863,7 +1863,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1882,7 +1882,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1901,7 +1901,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2555,7 +2555,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2634,7 +2634,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2713,7 +2713,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -2909,7 +2909,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2931,7 +2931,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2953,7 +2953,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -3358,7 +3358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3410,7 +3410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3462,7 +3462,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3858,7 +3858,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3907,7 +3907,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3956,7 +3956,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4487,7 +4487,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4551,7 +4551,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4615,7 +4615,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -4918,7 +4918,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4955,7 +4955,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4992,7 +4992,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -5267,7 +5267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5301,7 +5301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5335,7 +5335,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductOrService is not null) yield return new KeyValuePair("productOrService",ProductOrService); @@ -5463,7 +5463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5479,7 +5479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5495,7 +5495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -5705,7 +5705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5733,7 +5733,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5761,7 +5761,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -5976,7 +5976,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5998,7 +5998,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6020,7 +6020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -6305,7 +6305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6339,7 +6339,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6373,7 +6373,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -6521,7 +6521,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6540,7 +6540,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6559,7 +6559,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -7583,7 +7583,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7722,7 +7722,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7861,7 +7861,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs b/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs index 1ad43775f..737115e35 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs @@ -298,7 +298,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -323,7 +323,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -348,7 +348,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs index 57e2f8146..7ff1e0c28 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs @@ -280,7 +280,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -305,7 +305,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -859,7 +859,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -923,7 +923,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -987,7 +987,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs b/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs index 84bb347b2..1b397e51f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs @@ -323,7 +323,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -357,7 +357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -391,7 +391,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs b/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs index b6cc33bdd..081a6b13f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs @@ -258,7 +258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -277,7 +277,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -296,7 +296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -735,7 +735,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -793,7 +793,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -851,7 +851,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs index 9441cc76e..64257419e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs @@ -384,7 +384,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -412,7 +412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -440,7 +440,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -672,7 +672,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -697,7 +697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -722,7 +722,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -993,7 +993,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1018,7 +1018,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); @@ -1592,7 +1592,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1647,7 +1647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1702,7 +1702,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Group.cs b/src/Hl7.Fhir.R4B/Model/Generated/Group.cs index 0531cd021..a0f0f7a70 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Group.cs @@ -277,7 +277,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -299,7 +299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -480,7 +480,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -499,7 +499,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -518,7 +518,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -867,7 +867,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -907,7 +907,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -947,7 +947,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs index f79ea0776..a6ef0dfc5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs @@ -496,7 +496,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -551,7 +551,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -606,7 +606,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequestIdentifier is not null) yield return new KeyValuePair("requestIdentifier",RequestIdentifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs index c0ed0b9eb..8176103a8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs @@ -184,7 +184,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -200,7 +200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -216,7 +216,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -446,7 +446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -468,7 +468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -490,7 +490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -629,7 +629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -645,7 +645,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -661,7 +661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1301,7 +1301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1383,7 +1383,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1465,7 +1465,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs index f8583400b..cddf2282c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs index 5f0a92dc1..7d9fe1f13 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs @@ -491,7 +491,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -537,7 +537,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -583,7 +583,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -716,7 +716,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -748,7 +748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -959,7 +959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -981,7 +981,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -1558,7 +1558,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1628,7 +1628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1698,7 +1698,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs index 8ec27e8e3..0da0abb60 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -480,7 +480,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -502,7 +502,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DocumentTypeElement is not null) yield return new KeyValuePair("documentType",DocumentTypeElement); @@ -679,7 +679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -698,7 +698,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -717,7 +717,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -917,7 +917,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -967,7 +967,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SeriesElement is not null) yield return new KeyValuePair("series",SeriesElement); @@ -1687,7 +1687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1781,7 +1781,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1875,7 +1875,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs index 0809b03c8..c5fcb3314 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs @@ -468,7 +468,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -517,7 +517,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -566,7 +566,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs index 44002f099..b5b1113e5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs @@ -401,7 +401,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -447,7 +447,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -493,7 +493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VaccineCode?.Any() == true) yield return new KeyValuePair("vaccineCode",VaccineCode); @@ -642,7 +642,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -658,7 +658,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -674,7 +674,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -858,7 +858,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -883,7 +883,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -908,7 +908,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs index c2ea48e24..9bf91381f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs @@ -2431,7 +2431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2450,7 +2450,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2469,7 +2469,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -2629,7 +2629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2645,7 +2645,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2661,7 +2661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2838,7 +2838,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2863,7 +2863,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2888,7 +2888,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Grouping?.Any() == true) yield return new KeyValuePair("grouping",Grouping); @@ -3047,7 +3047,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3063,7 +3063,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3079,7 +3079,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3349,7 +3349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3377,7 +3377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3405,7 +3405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3609,7 +3609,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3631,7 +3631,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3653,7 +3653,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Name is not null) yield return new KeyValuePair("name",Name); @@ -3810,7 +3810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3826,7 +3826,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3842,7 +3842,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -4031,7 +4031,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4050,7 +4050,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4069,7 +4069,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -4300,7 +4300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4325,7 +4325,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4350,7 +4350,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RenderingElement is not null) yield return new KeyValuePair("rendering",RenderingElement); @@ -4512,7 +4512,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4531,7 +4531,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4550,7 +4550,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -4743,7 +4743,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4762,7 +4762,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4781,7 +4781,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -5459,7 +5459,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5529,7 +5529,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5599,7 +5599,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs b/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs index 5ed90be07..6ddd396a6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs @@ -216,7 +216,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -232,7 +232,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -248,7 +248,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -366,7 +366,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -382,7 +382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -398,7 +398,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -667,7 +667,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -698,7 +698,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -729,7 +729,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Presentation is not null) yield return new KeyValuePair("presentation",Presentation); @@ -912,7 +912,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -934,7 +934,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -956,7 +956,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1218,7 +1218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1252,7 +1252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1286,7 +1286,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs index 181a7aabc..faddcb327 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs @@ -232,7 +232,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -254,7 +254,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -276,7 +276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); @@ -419,7 +419,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -438,7 +438,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -457,7 +457,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -614,7 +614,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -633,7 +633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -652,7 +652,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -771,7 +771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -787,7 +787,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -803,7 +803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1002,7 +1002,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1030,7 +1030,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1058,7 +1058,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1252,7 +1252,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1274,7 +1274,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1296,7 +1296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1418,7 +1418,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1434,7 +1434,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1450,7 +1450,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1570,7 +1570,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1602,7 +1602,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1759,7 +1759,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1781,7 +1781,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1803,7 +1803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2201,7 +2201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2253,7 +2253,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2305,7 +2305,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs index a7b308e03..99b00fbf0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -227,7 +227,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -243,7 +243,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -402,7 +402,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -421,7 +421,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -440,7 +440,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -634,7 +634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -656,7 +656,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -678,7 +678,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1124,7 +1124,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1240,7 +1240,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Library.cs b/src/Hl7.Fhir.R4B/Model/Generated/Library.cs index c25a49137..22a5a7244 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Library.cs @@ -970,7 +970,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1073,7 +1073,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1176,7 +1176,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs index 583b2a282..6fc5e8682 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs @@ -220,7 +220,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -236,7 +236,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -252,7 +252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -393,7 +393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -412,7 +412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -431,7 +431,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActiveElement is not null) yield return new KeyValuePair("active",ActiveElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/List.cs b/src/Hl7.Fhir.R4B/Model/Generated/List.cs index 7c9776ad3..9761e9f13 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/List.cs @@ -270,7 +270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -292,7 +292,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -314,7 +314,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Flag is not null) yield return new KeyValuePair("flag",Flag); @@ -708,7 +708,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -757,7 +757,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -806,7 +806,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Location.cs b/src/Hl7.Fhir.R4B/Model/Generated/Location.cs index f53fa4218..fad620d11 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Location.cs @@ -292,7 +292,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LongitudeElement is not null) yield return new KeyValuePair("longitude",LongitudeElement); @@ -561,7 +561,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -583,7 +583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -605,7 +605,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -1108,7 +1108,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1169,7 +1169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1230,7 +1230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs index 050952c0e..34ff43dda 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs @@ -166,7 +166,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -182,7 +182,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -198,7 +198,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -423,7 +423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -454,7 +454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -485,7 +485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs index f56662f0e..dc0b2df6c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs @@ -222,7 +222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -272,7 +272,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs b/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs index 118018889..f6ab17f7e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs @@ -225,7 +225,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -269,7 +269,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -427,7 +427,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -446,7 +446,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -465,7 +465,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -640,7 +640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -662,7 +662,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -684,7 +684,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -843,7 +843,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -862,7 +862,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -881,7 +881,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1059,7 +1059,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1081,7 +1081,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -2353,7 +2353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2486,7 +2486,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2619,7 +2619,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs index 6b6ffc00d..9ce78b7a1 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs @@ -269,7 +269,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -313,7 +313,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -472,7 +472,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -491,7 +491,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -510,7 +510,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -632,7 +632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -648,7 +648,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -664,7 +664,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -821,7 +821,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -843,7 +843,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -865,7 +865,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -989,7 +989,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1005,7 +1005,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1021,7 +1021,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1178,7 +1178,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1197,7 +1197,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1216,7 +1216,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1573,7 +1573,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1616,7 +1616,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1659,7 +1659,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Media.cs b/src/Hl7.Fhir.R4B/Model/Generated/Media.cs index a02bb88dc..3a9ad259c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Media.cs @@ -665,7 +665,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -741,7 +741,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -817,7 +817,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs b/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs index e39371790..cc532a404 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs @@ -237,7 +237,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -256,7 +256,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -275,7 +275,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -430,7 +430,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -446,7 +446,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -462,7 +462,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LotNumberElement is not null) yield return new KeyValuePair("lotNumber",LotNumberElement); @@ -700,7 +700,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -734,7 +734,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -768,7 +768,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs index 4a4f747a6..d3139b5ee 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -469,7 +469,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -497,7 +497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -525,7 +525,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TextElement is not null) yield return new KeyValuePair("text",TextElement); @@ -1017,7 +1017,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1084,7 +1084,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1151,7 +1151,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs index b11a9738b..af2da79d6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs @@ -236,7 +236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -268,7 +268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -447,7 +447,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -469,7 +469,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -491,7 +491,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (WasSubstitutedElement is not null) yield return new KeyValuePair("wasSubstituted",WasSubstitutedElement); @@ -1091,7 +1091,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1173,7 +1173,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1255,7 +1255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs index bccc859bc..7d9f699a7 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -349,7 +349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -365,7 +365,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -381,7 +381,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -539,7 +539,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -558,7 +558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -577,7 +577,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -734,7 +734,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -753,7 +753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -772,7 +772,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -909,7 +909,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -925,7 +925,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -941,7 +941,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1082,7 +1082,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1101,7 +1101,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1120,7 +1120,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Dosage?.Any() == true) yield return new KeyValuePair("dosage",Dosage); @@ -1238,7 +1238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1254,7 +1254,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1270,7 +1270,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1410,7 +1410,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1426,7 +1426,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1442,7 +1442,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Characteristic is not null) yield return new KeyValuePair("characteristic",Characteristic); @@ -1559,7 +1559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1575,7 +1575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1591,7 +1591,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1710,7 +1710,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1726,7 +1726,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1742,7 +1742,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1863,7 +1863,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1879,7 +1879,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1895,7 +1895,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2051,7 +2051,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2073,7 +2073,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2095,7 +2095,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RegulatoryAuthority is not null) yield return new KeyValuePair("regulatoryAuthority",RegulatoryAuthority); @@ -2232,7 +2232,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2248,7 +2248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2264,7 +2264,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2362,7 +2362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2375,7 +2375,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2388,7 +2388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -2503,7 +2503,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2519,7 +2519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2535,7 +2535,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -2670,7 +2670,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2689,7 +2689,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2708,7 +2708,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AreaUnderCurve?.Any() == true) yield return new KeyValuePair("areaUnderCurve",AreaUnderCurve); @@ -3251,7 +3251,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3327,7 +3327,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3403,7 +3403,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs index 3ff6cfeaa..b53747e2e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs @@ -394,7 +394,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -425,7 +425,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -456,7 +456,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InitialFill is not null) yield return new KeyValuePair("initialFill",InitialFill); @@ -580,7 +580,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -596,7 +596,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -612,7 +612,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -735,7 +735,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -751,7 +751,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -767,7 +767,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Allowed is not null) yield return new KeyValuePair("allowed",Allowed); @@ -1596,7 +1596,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1702,7 +1702,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1808,7 +1808,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs index d61e52c32..a2b8b43d9 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -627,7 +627,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -688,7 +688,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs index e8d21e36f..9e775327a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs @@ -169,7 +169,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -185,7 +185,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -201,7 +201,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -418,7 +418,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductNameElement is not null) yield return new KeyValuePair("productName",ProductNameElement); @@ -556,7 +556,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -588,7 +588,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PartElement is not null) yield return new KeyValuePair("part",PartElement); @@ -729,7 +729,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -748,7 +748,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -767,7 +767,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); @@ -888,7 +888,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -904,7 +904,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -920,7 +920,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -1078,7 +1078,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1122,7 +1122,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1246,7 +1246,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1262,7 +1262,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1278,7 +1278,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1959,7 +1959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2053,7 +2053,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2147,7 +2147,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs index 054c710d9..674201cfd 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs @@ -309,7 +309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -331,7 +331,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -353,7 +353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -511,7 +511,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -543,7 +543,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MessageElement is not null) yield return new KeyValuePair("message",MessageElement); @@ -1371,7 +1371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1453,7 +1453,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1535,7 +1535,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs index 5642b8f39..ef1a78579 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs @@ -274,7 +274,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -296,7 +296,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -318,7 +318,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -565,7 +565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -590,7 +590,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -615,7 +615,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -815,7 +815,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -834,7 +834,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentifierElement is not null) yield return new KeyValuePair("identifier",IdentifierElement); @@ -1135,7 +1135,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1178,7 +1178,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1221,7 +1221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Event is not null) yield return new KeyValuePair("event",Event); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs index 0836036c5..5c2a45ffc 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs @@ -550,7 +550,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -587,7 +587,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -624,7 +624,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Chromosome is not null) yield return new KeyValuePair("chromosome",Chromosome); @@ -913,7 +913,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -941,7 +941,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -969,7 +969,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -1528,7 +1528,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1583,7 +1583,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1638,7 +1638,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1992,7 +1992,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2023,7 +2023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2054,7 +2054,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ScoreElement?.Any() == true) yield return new KeyValuePair("score",ScoreElement); @@ -2360,7 +2360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2388,7 +2388,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2416,7 +2416,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2629,7 +2629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2654,7 +2654,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2679,7 +2679,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VariantType is not null) yield return new KeyValuePair("variantType",VariantType); @@ -2833,7 +2833,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2849,7 +2849,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2865,7 +2865,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -3016,7 +3016,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3032,7 +3032,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3048,7 +3048,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -3495,7 +3495,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3553,7 +3553,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3611,7 +3611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Money.cs b/src/Hl7.Fhir.R4B/Model/Generated/Money.cs index 4becf501b..c5a1bb272 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Money.cs @@ -1289,7 +1289,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1305,7 +1305,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1321,7 +1321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs index 99266308a..126531078 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -411,7 +411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -872,7 +872,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -921,7 +921,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -970,7 +970,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs index f4c1d1d15..5d4706b28 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs @@ -266,7 +266,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -294,7 +294,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -322,7 +322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -445,7 +445,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -461,7 +461,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -477,7 +477,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -597,7 +597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -613,7 +613,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -629,7 +629,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -839,7 +839,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -864,7 +864,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -889,7 +889,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1194,7 +1194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1231,7 +1231,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1268,7 +1268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (BaseFormulaType is not null) yield return new KeyValuePair("baseFormulaType",BaseFormulaType); @@ -1414,7 +1414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1433,7 +1433,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1452,7 +1452,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -1962,7 +1962,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2023,7 +2023,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2084,7 +2084,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs b/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs index 2595ce65d..d8a2d737b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs @@ -198,7 +198,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -214,7 +214,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -347,7 +347,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -363,7 +363,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -499,7 +499,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -515,7 +515,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -531,7 +531,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -758,7 +758,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -783,7 +783,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -808,7 +808,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -1090,7 +1090,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1130,7 +1130,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1170,7 +1170,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs index 3f46e3cc1..b0d8861c5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs @@ -263,7 +263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Low is not null) yield return new KeyValuePair("low",Low); @@ -504,7 +504,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -529,7 +529,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1139,7 +1139,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1221,7 +1221,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1303,7 +1303,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs index ac17f7757..79b032858 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs @@ -347,7 +347,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -391,7 +391,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CustomaryUnit is not null) yield return new KeyValuePair("customaryUnit",CustomaryUnit); @@ -680,7 +680,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -714,7 +714,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -748,7 +748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CategoryElement is not null) yield return new KeyValuePair("category",CategoryElement); @@ -1128,7 +1128,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1177,7 +1177,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1226,7 +1226,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category?.Any() == true) yield return new KeyValuePair("category",Category); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs index 5e74d61af..34ee96534 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs @@ -510,7 +510,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -553,7 +553,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -596,7 +596,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -763,7 +763,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -779,7 +779,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -795,7 +795,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -951,7 +951,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -967,7 +967,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -983,7 +983,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -1139,7 +1139,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1155,7 +1155,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1171,7 +1171,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ParameterNameElement?.Any() == true) yield return new KeyValuePair("parameterName",ParameterNameElement); @@ -2103,7 +2103,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2191,7 +2191,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2279,7 +2279,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs b/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs index 0a704533b..cf72e15b8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs @@ -206,7 +206,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -228,7 +228,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -250,7 +250,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs index 1b86f6ce0..c300f3cbd 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs @@ -371,7 +371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -417,7 +417,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -463,7 +463,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs index f061d4ac3..5fd2b1427 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs @@ -164,7 +164,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -180,7 +180,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -196,7 +196,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -489,7 +489,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -529,7 +529,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -569,7 +569,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -713,7 +713,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -751,7 +751,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -871,7 +871,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -887,7 +887,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -903,7 +903,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1019,7 +1019,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1035,7 +1035,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1051,7 +1051,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1457,7 +1457,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1509,7 +1509,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1561,7 +1561,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs index 80a722227..91eb1e4f6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -405,7 +405,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -436,7 +436,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs b/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs index 6b7eddee8..54016fb25 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -348,7 +348,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relationship?.Any() == true) yield return new KeyValuePair("relationship",Relationship); @@ -522,7 +522,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -538,7 +538,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -697,7 +697,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -713,7 +713,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -729,7 +729,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Other is not null) yield return new KeyValuePair("other",Other); @@ -1159,7 +1159,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1217,7 +1217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1275,7 +1275,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs index 6fbd3ba0c..2add653eb 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs @@ -409,7 +409,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -501,7 +501,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs index 83b76c8c2..337a390af 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs @@ -342,7 +342,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -382,7 +382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -422,7 +422,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -586,7 +586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -602,7 +602,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -618,7 +618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1064,7 +1064,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1119,7 +1119,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1174,7 +1174,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Person.cs b/src/Hl7.Fhir.R4B/Model/Generated/Person.cs index 4f179340c..feef22439 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Person.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs index 4f2a14f3f..1219b69f1 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs @@ -267,7 +267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -298,7 +298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -329,7 +329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -511,7 +511,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -1332,7 +1332,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1423,7 +1423,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1514,7 +1514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PrefixElement is not null) yield return new KeyValuePair("prefix",PrefixElement); @@ -1679,7 +1679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1695,7 +1695,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1711,7 +1711,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1890,7 +1890,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1909,7 +1909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1928,7 +1928,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -2069,7 +2069,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2085,7 +2085,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2101,7 +2101,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2238,7 +2238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2254,7 +2254,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2270,7 +2270,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -3207,7 +3207,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3310,7 +3310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3413,7 +3413,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Population.cs b/src/Hl7.Fhir.R4B/Model/Generated/Population.cs index b5e81dfc5..981e44c10 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Population.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Population.cs @@ -190,7 +190,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -212,7 +212,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -234,7 +234,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Age is not null) yield return new KeyValuePair("age",Age); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs index 2be5bd6c6..fdf0519c3 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs @@ -209,7 +209,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -231,7 +231,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -253,7 +253,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -567,7 +567,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -607,7 +607,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -647,7 +647,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs index 17c282836..e12fbf676 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs @@ -280,7 +280,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -302,7 +302,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -324,7 +324,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -463,7 +463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -479,7 +479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -495,7 +495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -872,7 +872,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -924,7 +924,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -976,7 +976,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs index 9e12c5afe..86acf55a5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs @@ -192,7 +192,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -211,7 +211,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -1065,7 +1065,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1159,7 +1159,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1253,7 +1253,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs b/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs index 19e43ba53..fd30efa30 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs @@ -368,7 +368,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -411,7 +411,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -454,7 +454,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Height is not null) yield return new KeyValuePair("height",Height); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs index c3f135e5a..13148f00e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs index 86657031f..2b2b53bed 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs @@ -254,7 +254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -298,7 +298,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -477,7 +477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -496,7 +496,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -794,7 +794,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -834,7 +834,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -874,7 +874,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs index 3062cad6a..206cb7ba0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs @@ -817,7 +817,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -875,7 +875,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -933,7 +933,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1129,7 +1129,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1148,7 +1148,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1167,7 +1167,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (QuestionElement is not null) yield return new KeyValuePair("question",QuestionElement); @@ -1310,7 +1310,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1326,7 +1326,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1342,7 +1342,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1448,7 +1448,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1461,7 +1461,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1474,7 +1474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2222,7 +2222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2298,7 +2298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2374,7 +2374,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs index 1986f6301..0ef43f10d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs @@ -321,7 +321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -346,7 +346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -371,7 +371,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -498,7 +498,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -514,7 +514,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -530,7 +530,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -868,7 +868,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -911,7 +911,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -954,7 +954,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs index fe745e91e..836bba957 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs @@ -153,7 +153,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -169,7 +169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -185,7 +185,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Numerator is not null) yield return new KeyValuePair("numerator",Numerator); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs b/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs index e5ae38df1..b81c49b6b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -190,7 +190,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -209,7 +209,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LowNumerator is not null) yield return new KeyValuePair("lowNumerator",LowNumerator); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs b/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs index 14f688396..02c9e2f58 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -277,7 +277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -651,7 +651,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -703,7 +703,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -755,7 +755,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs index 349b390aa..5da2b873c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -204,7 +204,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -220,7 +220,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -571,7 +571,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -617,7 +617,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -663,7 +663,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs index 854e9e1c1..321908e19 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs @@ -679,7 +679,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -746,7 +746,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -813,7 +813,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PrefixElement is not null) yield return new KeyValuePair("prefix",PrefixElement); @@ -970,7 +970,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -986,7 +986,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1002,7 +1002,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1180,7 +1180,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1199,7 +1199,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1218,7 +1218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -1748,7 +1748,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1812,7 +1812,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1876,7 +1876,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs index f05c9ac6f..45139ee29 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1196,7 +1196,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1308,7 +1308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs index a9f2d4061..2fa750b03 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs @@ -509,7 +509,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -555,7 +555,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -601,7 +601,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Definition is not null) yield return new KeyValuePair("definition",Definition); @@ -1660,7 +1660,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1769,7 +1769,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1878,7 +1878,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs index 1679d456a..602fcbd7f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs @@ -300,7 +300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -319,7 +319,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -338,7 +338,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -476,7 +476,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -508,7 +508,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1100,7 +1100,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1264,7 +1264,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs index 16d10b5dc..1634b2616 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs @@ -417,7 +417,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -451,7 +451,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -485,7 +485,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs index bd2b8f02c..20fb83090 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs @@ -283,7 +283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -339,7 +339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Outcome is not null) yield return new KeyValuePair("outcome",Outcome); @@ -782,7 +782,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -843,7 +843,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -904,7 +904,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs index d21ca9859..57021e561 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs @@ -354,7 +354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -385,7 +385,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -416,7 +416,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Origin is not null) yield return new KeyValuePair("origin",Origin); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs index 20d03c7ab..03719d330 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs @@ -305,7 +305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -339,7 +339,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -373,7 +373,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs index de803db64..c9c288406 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs @@ -393,7 +393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -409,7 +409,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -425,7 +425,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DefinitionElement is not null) yield return new KeyValuePair("definition",DefinitionElement); @@ -1385,7 +1385,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1473,7 +1473,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1561,7 +1561,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs index a7e1d4f61..36c270015 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs @@ -921,7 +921,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1030,7 +1030,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1139,7 +1139,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs b/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs index c271d1fb4..84b9716d7 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs @@ -459,7 +459,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -502,7 +502,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -545,7 +545,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs index dcd433cc4..73f75c283 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs @@ -301,7 +301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -332,7 +332,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -363,7 +363,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -546,7 +546,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -568,7 +568,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -590,7 +590,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -806,7 +806,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -834,7 +834,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -862,7 +862,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1221,7 +1221,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1270,7 +1270,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1319,7 +1319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs index 3d3d03604..7b13df010 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs @@ -359,7 +359,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -393,7 +393,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -427,7 +427,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IsDerivedElement is not null) yield return new KeyValuePair("isDerived",IsDerivedElement); @@ -698,7 +698,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -766,7 +766,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Material is not null) yield return new KeyValuePair("material",Material); @@ -877,7 +877,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -890,7 +890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -903,7 +903,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Additive is not null) yield return new KeyValuePair("additive",Additive); @@ -1075,7 +1075,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1097,7 +1097,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1119,7 +1119,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TemperatureQualifier is not null) yield return new KeyValuePair("temperatureQualifier",TemperatureQualifier); @@ -1321,7 +1321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1349,7 +1349,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1377,7 +1377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs index 0ce4d2905..37ead741e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs @@ -570,7 +570,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -592,7 +592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -614,7 +614,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -884,7 +884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -940,7 +940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1175,7 +1175,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1197,7 +1197,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1219,7 +1219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1449,7 +1449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1477,7 +1477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1505,7 +1505,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1971,7 +1971,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2014,7 +2014,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2057,7 +2057,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2423,7 +2423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2457,7 +2457,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2491,7 +2491,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2597,7 +2597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2610,7 +2610,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2623,7 +2623,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2775,7 +2775,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2791,7 +2791,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2807,7 +2807,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3428,7 +3428,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3492,7 +3492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3556,7 +3556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs index b5aa38862..d0d961404 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs @@ -321,7 +321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -343,7 +343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -365,7 +365,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -656,7 +656,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -687,7 +687,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -718,7 +718,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs index 1d09c73b6..e51bc9e0a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs @@ -286,7 +286,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -308,7 +308,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventNumberElement is not null) yield return new KeyValuePair("eventNumber",EventNumberElement); @@ -607,7 +607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +638,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -669,7 +669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs index 850db7d20..43e9fa506 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs @@ -449,7 +449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -474,7 +474,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -499,7 +499,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -768,7 +768,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -793,7 +793,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -818,7 +818,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreviousElement is not null) yield return new KeyValuePair("previous",PreviousElement); @@ -997,7 +997,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1016,7 +1016,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1035,7 +1035,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1303,7 +1303,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1328,7 +1328,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1353,7 +1353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1550,7 +1550,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1569,7 +1569,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1588,7 +1588,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceElement is not null) yield return new KeyValuePair("resource",ResourceElement); @@ -2301,7 +2301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2377,7 +2377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2453,7 +2453,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs b/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs index b1144ba84..9fb6ebacd 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs @@ -229,7 +229,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -248,7 +248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -407,7 +407,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -423,7 +423,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -662,7 +662,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -693,7 +693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -724,7 +724,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs index 82cf699c0..779c68d48 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs @@ -311,7 +311,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -504,7 +504,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -520,7 +520,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -536,7 +536,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -675,7 +675,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -694,7 +694,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -713,7 +713,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Method is not null) yield return new KeyValuePair("method",Method); @@ -981,7 +981,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1015,7 +1015,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1049,7 +1049,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Stereochemistry is not null) yield return new KeyValuePair("stereochemistry",Stereochemistry); @@ -1228,7 +1228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1250,7 +1250,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1272,7 +1272,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1466,7 +1466,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1491,7 +1491,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1516,7 +1516,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1847,7 +1847,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1890,7 +1890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1933,7 +1933,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2095,7 +2095,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2114,7 +2114,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2133,7 +2133,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Authority is not null) yield return new KeyValuePair("authority",Authority); @@ -2371,7 +2371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2402,7 +2402,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2433,7 +2433,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubstanceDefinition is not null) yield return new KeyValuePair("substanceDefinition",SubstanceDefinition); @@ -2616,7 +2616,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2641,7 +2641,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2666,7 +2666,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3137,7 +3137,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3204,7 +3204,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3271,7 +3271,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs index 14caa8380..b9ab43a38 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs @@ -228,7 +228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -244,7 +244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -565,7 +565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -608,7 +608,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -651,7 +651,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs index f498b0db2..d58d25134 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -676,7 +676,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -731,7 +731,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -786,7 +786,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Task.cs b/src/Hl7.Fhir.R4B/Model/Generated/Task.cs index cdec51828..5319e6249 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Task.cs @@ -350,7 +350,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -388,7 +388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RepetitionsElement is not null) yield return new KeyValuePair("repetitions",RepetitionsElement); @@ -512,7 +512,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -528,7 +528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -544,7 +544,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -667,7 +667,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -683,7 +683,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1513,7 +1513,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1616,7 +1616,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1719,7 +1719,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs index e79c8172a..cbf5b57c2 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -259,7 +259,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -414,7 +414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -430,7 +430,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -620,7 +620,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -639,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -658,7 +658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -943,7 +943,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -971,7 +971,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -999,7 +999,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1156,7 +1156,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1172,7 +1172,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1430,7 +1430,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1480,7 +1480,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (HierarchicalElement is not null) yield return new KeyValuePair("hierarchical",HierarchicalElement); @@ -1635,7 +1635,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1651,7 +1651,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1667,7 +1667,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1783,7 +1783,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1796,7 +1796,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1809,7 +1809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationsElement is not null) yield return new KeyValuePair("translations",TranslationsElement); @@ -1924,7 +1924,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1937,7 +1937,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1950,7 +1950,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NeedsMapElement is not null) yield return new KeyValuePair("needsMap",NeedsMapElement); @@ -2067,7 +2067,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2080,7 +2080,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2093,7 +2093,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationElement is not null) yield return new KeyValuePair("translation",TranslationElement); @@ -2856,7 +2856,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2938,7 +2938,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3020,7 +3020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs index 03210719c..2e6ba2ad0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs @@ -377,7 +377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -415,7 +415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -540,7 +540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -658,7 +658,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -674,7 +674,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -690,7 +690,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -883,7 +883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -902,7 +902,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -921,7 +921,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1115,7 +1115,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1134,7 +1134,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1153,7 +1153,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1324,7 +1324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1362,7 +1362,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1482,7 +1482,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1498,7 +1498,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1514,7 +1514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -1615,7 +1615,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1628,7 +1628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1641,7 +1641,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -1742,7 +1742,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1755,7 +1755,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1768,7 +1768,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2170,7 +2170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2216,7 +2216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2262,7 +2262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs index 23645e356..8ccfe746f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs @@ -422,7 +422,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -438,7 +438,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -454,7 +454,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -594,7 +594,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -610,7 +610,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -626,7 +626,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -746,7 +746,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -762,7 +762,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -778,7 +778,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link?.Any() == true) yield return new KeyValuePair("link",Link); @@ -933,7 +933,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -949,7 +949,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -965,7 +965,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -1305,7 +1305,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1336,7 +1336,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1367,7 +1367,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequiredElement is not null) yield return new KeyValuePair("required",RequiredElement); @@ -1548,7 +1548,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1567,7 +1567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AutocreateElement is not null) yield return new KeyValuePair("autocreate",AutocreateElement); @@ -1959,7 +1959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1993,7 +1993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2027,7 +2027,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2131,7 +2131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2144,7 +2144,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2157,7 +2157,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -2275,7 +2275,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2291,7 +2291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2307,7 +2307,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2974,7 +2974,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3035,7 +3035,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3096,7 +3096,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3268,7 +3268,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3284,7 +3284,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3300,7 +3300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FieldElement is not null) yield return new KeyValuePair("field",FieldElement); @@ -4187,7 +4187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4263,7 +4263,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4339,7 +4339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -4529,7 +4529,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4548,7 +4548,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4567,7 +4567,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -4687,7 +4687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4703,7 +4703,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4719,7 +4719,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -4820,7 +4820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4833,7 +4833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4846,7 +4846,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -4947,7 +4947,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4960,7 +4960,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4973,7 +4973,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -5687,7 +5687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5769,7 +5769,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5851,7 +5851,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs b/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs index 019d7fcef..858912b39 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs @@ -887,7 +887,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -942,7 +942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -997,7 +997,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Bounds is not null) yield return new KeyValuePair("bounds",Bounds); @@ -1150,7 +1150,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1169,7 +1169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventElement?.Any() == true) yield return new KeyValuePair("event",EventElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs index 4a34f4b1d..4b42899ad 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs @@ -308,7 +308,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -333,7 +333,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -358,7 +358,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs index 84bb7be7d..0210b72d3 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -357,7 +357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -388,7 +388,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -675,7 +675,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -709,7 +709,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -743,7 +743,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -903,7 +903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -922,7 +922,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -941,7 +941,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Organization is not null) yield return new KeyValuePair("organization",Organization); @@ -1364,7 +1364,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1416,7 +1416,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs index 9ff8590b2..eeb836e2e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs @@ -627,7 +627,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -679,7 +679,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -901,7 +901,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -917,7 +917,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -933,7 +933,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AmountElement is not null) yield return new KeyValuePair("amount",AmountElement); @@ -1214,7 +1214,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1248,7 +1248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1282,7 +1282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Account.cs b/src/Hl7.Fhir.R5/Model/Generated/Account.cs index 3230d42e6..9a217664f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Account.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -263,7 +263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -420,7 +420,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -458,7 +458,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Party is not null) yield return new KeyValuePair("party",Party); @@ -709,7 +709,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -737,7 +737,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -765,7 +765,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1003,7 +1003,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1031,7 +1031,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1059,7 +1059,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1182,7 +1182,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1198,7 +1198,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1214,7 +1214,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relationship is not null) yield return new KeyValuePair("relationship",Relationship); @@ -1390,7 +1390,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1412,7 +1412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1434,7 +1434,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Aggregate is not null) yield return new KeyValuePair("aggregate",Aggregate); @@ -1900,7 +1900,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1961,7 +1961,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2022,7 +2022,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs index c7793d167..5351f7ec9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs @@ -376,7 +376,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -401,7 +401,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -426,7 +426,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -568,7 +568,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -584,7 +584,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -600,7 +600,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -2064,7 +2064,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2221,7 +2221,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2378,7 +2378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs index 3294b10b9..a4a2a22bd 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs @@ -836,7 +836,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -988,7 +988,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Address.cs b/src/Hl7.Fhir.R5/Model/Generated/Address.cs index 6ecb133d2..8a411d7d6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Address.cs @@ -533,7 +533,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -573,7 +573,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -613,7 +613,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs index e57806f88..6013b8ecb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs @@ -189,7 +189,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -208,7 +208,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -227,7 +227,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -439,7 +439,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -470,7 +470,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -501,7 +501,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -624,7 +624,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -640,7 +640,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -656,7 +656,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -810,7 +810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -829,7 +829,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -848,7 +848,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Tissue is not null) yield return new KeyValuePair("tissue",Tissue); @@ -1169,7 +1169,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1255,7 +1255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs index 2b88cf4f6..8feab0662 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs @@ -228,7 +228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -244,7 +244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -382,7 +382,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -398,7 +398,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -414,7 +414,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Instance is not null) yield return new KeyValuePair("instance",Instance); @@ -551,7 +551,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -570,7 +570,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -589,7 +589,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AssessmentMethod is not null) yield return new KeyValuePair("assessmentMethod",AssessmentMethod); @@ -695,7 +695,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -708,7 +708,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -721,7 +721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -822,7 +822,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -835,7 +835,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -848,7 +848,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -952,7 +952,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -965,7 +965,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -978,7 +978,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1079,7 +1079,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1092,7 +1092,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1105,7 +1105,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1731,7 +1731,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1813,7 +1813,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1895,7 +1895,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs index a533d020d..7b3b7c729 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs @@ -331,7 +331,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -347,7 +347,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -363,7 +363,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -632,7 +632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -663,7 +663,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -694,7 +694,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1129,7 +1129,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1184,7 +1184,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1239,7 +1239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs index 0a456a730..a4b5736a7 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -249,7 +249,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Author is not null) yield return new KeyValuePair("author",Author); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs index 8e2b95cde..59bbe9734 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs @@ -3230,7 +3230,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3255,7 +3255,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3280,7 +3280,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -3641,7 +3641,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3681,7 +3681,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3721,7 +3721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Timezone is not null) yield return new KeyValuePair("timezone",Timezone); @@ -4096,7 +4096,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4130,7 +4130,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4164,7 +4164,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MondayElement is not null) yield return new KeyValuePair("monday",MondayElement); @@ -4360,7 +4360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4382,7 +4382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4404,7 +4404,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DayOfMonthElement is not null) yield return new KeyValuePair("dayOfMonth",DayOfMonthElement); @@ -4522,7 +4522,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4535,7 +4535,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4548,7 +4548,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (YearIntervalElement is not null) yield return new KeyValuePair("yearInterval",YearIntervalElement); @@ -5397,7 +5397,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5503,7 +5503,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5609,7 +5609,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs index cea532092..c572e216b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs @@ -526,7 +526,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -618,7 +618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs b/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs index 42f032a91..13dca4b30 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs @@ -550,7 +550,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -590,7 +590,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -630,7 +630,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InformationTypeElement is not null) yield return new KeyValuePair("informationType",InformationTypeElement); @@ -1043,7 +1043,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1086,7 +1086,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1129,7 +1129,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs index 1db229fa2..259346af2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs @@ -272,7 +272,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -288,7 +288,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -304,7 +304,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -583,7 +583,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -617,7 +617,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -651,7 +651,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -801,7 +801,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -820,7 +820,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -839,7 +839,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Site is not null) yield return new KeyValuePair("site",Site); @@ -1056,7 +1056,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1084,7 +1084,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1112,7 +1112,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (What is not null) yield return new KeyValuePair("what",What); @@ -1239,7 +1239,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1255,7 +1255,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1271,7 +1271,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1666,7 +1666,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1718,7 +1718,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1770,7 +1770,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category?.Any() == true) yield return new KeyValuePair("category",Category); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Availability.cs b/src/Hl7.Fhir.R5/Model/Generated/Availability.cs index 1a63e805e..1aea6efb1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Availability.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Availability.cs @@ -273,7 +273,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -295,7 +295,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -317,7 +317,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -452,7 +452,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -468,7 +468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -484,7 +484,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -588,7 +588,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -604,7 +604,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -620,7 +620,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AvailableTime?.Any() == true) yield return new KeyValuePair("availableTime",AvailableTime); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Basic.cs b/src/Hl7.Fhir.R5/Model/Generated/Basic.cs index d35a0b9af..4e7667f6c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Basic.cs @@ -233,7 +233,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs index f2f73cfd3..ec8985b17 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -737,7 +737,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -786,7 +786,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -835,7 +835,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductCategory is not null) yield return new KeyValuePair("productCategory",ProductCategory); diff --git a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs index 26070cc7d..f24524caf 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -259,7 +259,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -711,7 +711,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -769,7 +769,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -827,7 +827,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs index abfcaa4b7..22957e021 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -256,7 +256,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -281,7 +281,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Structure is not null) yield return new KeyValuePair("structure",Structure); @@ -445,7 +445,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -467,7 +467,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -489,7 +489,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LandmarkDescription?.Any() == true) yield return new KeyValuePair("landmarkDescription",LandmarkDescription); @@ -612,7 +612,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -628,7 +628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -644,7 +644,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Device?.Any() == true) yield return new KeyValuePair("device",Device); @@ -900,7 +900,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -934,7 +934,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -968,7 +968,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs index 85aedb510..3fbbfa922 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -250,7 +250,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -269,7 +269,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PerformedActivity?.Any() == true) yield return new KeyValuePair("performedActivity",PerformedActivity); @@ -921,7 +921,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1000,7 +1000,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1079,7 +1079,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs index 500b9a610..4f91b415f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs @@ -251,7 +251,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -273,7 +273,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -295,7 +295,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -614,7 +614,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -657,7 +657,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -700,7 +700,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs index f2ccc8830..d8c8de326 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -906,7 +906,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -994,7 +994,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1082,7 +1082,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs index bb1a90507..6ec64265d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs @@ -187,7 +187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -206,7 +206,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -225,7 +225,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -346,7 +346,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -362,7 +362,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -378,7 +378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Applicability?.Any() == true) yield return new KeyValuePair("applicability",Applicability); @@ -1239,7 +1239,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1327,7 +1327,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1415,7 +1415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Citation.cs b/src/Hl7.Fhir.R5/Model/Generated/Citation.cs index 62fa85504..66dae51e4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Citation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Citation.cs @@ -423,7 +423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -455,7 +455,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Style is not null) yield return new KeyValuePair("style",Style); @@ -576,7 +576,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -592,7 +592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -608,7 +608,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -766,7 +766,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -785,7 +785,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -804,7 +804,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Activity is not null) yield return new KeyValuePair("activity",Activity); @@ -1184,7 +1184,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1239,7 +1239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1294,7 +1294,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1443,7 +1443,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1459,7 +1459,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1475,7 +1475,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); @@ -1632,7 +1632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1651,7 +1651,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1670,7 +1670,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Activity is not null) yield return new KeyValuePair("activity",Activity); @@ -1826,7 +1826,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1845,7 +1845,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1864,7 +1864,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -2058,7 +2058,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2080,7 +2080,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2102,7 +2102,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2258,7 +2258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2277,7 +2277,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2296,7 +2296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2618,7 +2618,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2652,7 +2652,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2686,7 +2686,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -3263,7 +3263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3318,7 +3318,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3373,7 +3373,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PublishedIn is not null) yield return new KeyValuePair("publishedIn",PublishedIn); @@ -3595,7 +3595,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3620,7 +3620,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3645,7 +3645,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3783,7 +3783,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3799,7 +3799,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3815,7 +3815,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Classifier?.Any() == true) yield return new KeyValuePair("classifier",Classifier); @@ -3954,7 +3954,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3973,7 +3973,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3992,7 +3992,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4149,7 +4149,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4168,7 +4168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4187,7 +4187,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CompleteElement is not null) yield return new KeyValuePair("complete",CompleteElement); @@ -4479,7 +4479,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4513,7 +4513,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4547,7 +4547,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Contributor is not null) yield return new KeyValuePair("contributor",Contributor); @@ -4688,7 +4688,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4704,7 +4704,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4720,7 +4720,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4893,7 +4893,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4915,7 +4915,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4937,7 +4937,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -5838,7 +5838,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5941,7 +5941,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6044,7 +6044,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Claim.cs b/src/Hl7.Fhir.R5/Model/Generated/Claim.cs index bdcd0162b..1bb75f9b9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Claim.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -508,7 +508,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -524,7 +524,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -540,7 +540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -754,7 +754,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -779,7 +779,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -804,7 +804,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1026,7 +1026,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1054,7 +1054,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1082,7 +1082,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1267,7 +1267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1289,7 +1289,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1311,7 +1311,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1532,7 +1532,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1557,7 +1557,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1582,7 +1582,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1874,7 +1874,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1905,7 +1905,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1936,7 +1936,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -2100,7 +2100,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2119,7 +2119,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2138,7 +2138,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2810,7 +2810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2895,7 +2895,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2980,7 +2980,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3125,7 +3125,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3141,7 +3141,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3157,7 +3157,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Site?.Any() == true) yield return new KeyValuePair("site",Site); @@ -3577,7 +3577,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3635,7 +3635,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3693,7 +3693,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4108,7 +4108,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4163,7 +4163,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4218,7 +4218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4972,7 +4972,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5078,7 +5078,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5184,7 +5184,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs index c9f0693ff..205d01c6c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs @@ -173,7 +173,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -189,7 +189,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -205,7 +205,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -464,7 +464,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -492,7 +492,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -671,7 +671,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -693,7 +693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -715,7 +715,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Decision is not null) yield return new KeyValuePair("decision",Decision); @@ -874,7 +874,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -896,7 +896,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -918,7 +918,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1151,7 +1151,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1179,7 +1179,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1207,7 +1207,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DetailSequenceElement is not null) yield return new KeyValuePair("detailSequence",DetailSequenceElement); @@ -1423,7 +1423,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1448,7 +1448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1473,7 +1473,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubDetailSequenceElement is not null) yield return new KeyValuePair("subDetailSequence",SubDetailSequenceElement); @@ -2089,7 +2089,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2168,7 +2168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2247,7 +2247,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -2390,7 +2390,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2406,7 +2406,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2422,7 +2422,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Site?.Any() == true) yield return new KeyValuePair("site",Site); @@ -2801,7 +2801,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2853,7 +2853,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2905,7 +2905,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TraceNumber?.Any() == true) yield return new KeyValuePair("traceNumber",TraceNumber); @@ -3277,7 +3277,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3326,7 +3326,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3375,7 +3375,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TraceNumber?.Any() == true) yield return new KeyValuePair("traceNumber",TraceNumber); @@ -3508,7 +3508,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3524,7 +3524,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3540,7 +3540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -3752,7 +3752,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3780,7 +3780,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3808,7 +3808,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4005,7 +4005,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4027,7 +4027,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4049,7 +4049,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -4285,7 +4285,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4310,7 +4310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4335,7 +4335,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4586,7 +4586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4611,7 +4611,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4636,7 +4636,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement is not null) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -5434,7 +5434,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5540,7 +5540,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5646,7 +5646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs index 73815fdf0..75f21779b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs @@ -187,7 +187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -203,7 +203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -219,7 +219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -750,7 +750,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -817,7 +817,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -884,7 +884,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs index 28201c868..fa9c33abf 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs @@ -282,7 +282,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -310,7 +310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -338,7 +338,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DiseaseSymptomProcedure is not null) yield return new KeyValuePair("diseaseSymptomProcedure",DiseaseSymptomProcedure); @@ -464,7 +464,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -480,7 +480,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -496,7 +496,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RelationshipType is not null) yield return new KeyValuePair("relationshipType",RelationshipType); @@ -730,7 +730,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -764,7 +764,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -798,7 +798,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DiseaseSymptomProcedure is not null) yield return new KeyValuePair("diseaseSymptomProcedure",DiseaseSymptomProcedure); @@ -979,7 +979,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1004,7 +1004,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1029,7 +1029,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Interactant?.Any() == true) yield return new KeyValuePair("interactant",Interactant); @@ -1137,7 +1137,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1150,7 +1150,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1163,7 +1163,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1301,7 +1301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1320,7 +1320,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1339,7 +1339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SymptomConditionEffect is not null) yield return new KeyValuePair("symptomConditionEffect",SymptomConditionEffect); @@ -1477,7 +1477,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1493,7 +1493,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1509,7 +1509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1843,7 +1843,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1889,7 +1889,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1935,7 +1935,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Communication.cs b/src/Hl7.Fhir.R5/Model/Generated/Communication.cs index 91fa2c3d1..42778a17f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Communication.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -790,7 +790,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -866,7 +866,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -942,7 +942,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs index cb39bb9a6..290347c0a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -774,7 +774,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -850,7 +850,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -926,7 +926,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs index c2787ca65..52e249947 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -342,7 +342,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -367,7 +367,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -954,7 +954,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1012,7 +1012,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1070,7 +1070,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Composition.cs b/src/Hl7.Fhir.R5/Model/Generated/Composition.cs index 72bd990dc..f5eacd191 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Composition.cs @@ -210,7 +210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -229,7 +229,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -248,7 +248,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Mode is not null) yield return new KeyValuePair("mode",Mode); @@ -370,7 +370,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -402,7 +402,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Period is not null) yield return new KeyValuePair("period",Period); @@ -676,7 +676,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -713,7 +713,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -750,7 +750,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1301,7 +1301,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1368,7 +1368,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1435,7 +1435,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs index dcd184145..bfadaa1f4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs @@ -477,7 +477,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -502,7 +502,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -527,7 +527,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -761,7 +761,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -783,7 +783,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -805,7 +805,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -998,7 +998,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1042,7 +1042,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -1290,7 +1290,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1315,7 +1315,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1340,7 +1340,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1666,7 +1666,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1700,7 +1700,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1734,7 +1734,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1880,7 +1880,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1896,7 +1896,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1912,7 +1912,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2087,7 +2087,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2106,7 +2106,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2125,7 +2125,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AttributeElement is not null) yield return new KeyValuePair("attribute",AttributeElement); @@ -2430,7 +2430,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2458,7 +2458,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2486,7 +2486,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -3392,7 +3392,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3495,7 +3495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3598,7 +3598,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Condition.cs b/src/Hl7.Fhir.R5/Model/Generated/Condition.cs index 209528f3f..f85c409d2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Condition.cs @@ -270,7 +270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -286,7 +286,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -302,7 +302,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -443,7 +443,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -462,7 +462,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -481,7 +481,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Summary is not null) yield return new KeyValuePair("summary",Summary); @@ -880,7 +880,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -938,7 +938,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -996,7 +996,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs index c543b5d59..30452b777 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs @@ -217,7 +217,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -233,7 +233,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -249,7 +249,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -366,7 +366,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -382,7 +382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -398,7 +398,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -559,7 +559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -578,7 +578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -597,7 +597,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -737,7 +737,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -753,7 +753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -769,7 +769,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PurposeElement is not null) yield return new KeyValuePair("purpose",PurposeElement); @@ -887,7 +887,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -903,7 +903,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -919,7 +919,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -1785,7 +1785,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1882,7 +1882,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1979,7 +1979,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Consent.cs b/src/Hl7.Fhir.R5/Model/Generated/Consent.cs index daa29d66d..6601bc07e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Consent.cs @@ -235,7 +235,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -251,7 +251,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -482,7 +482,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -507,7 +507,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -532,7 +532,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VerifiedElement is not null) yield return new KeyValuePair("verified",VerifiedElement); @@ -848,7 +848,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -894,7 +894,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -940,7 +940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Period is not null) yield return new KeyValuePair("period",Period); @@ -1071,7 +1071,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1087,7 +1087,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -1245,7 +1245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1261,7 +1261,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1277,7 +1277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -1756,7 +1756,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1820,7 +1820,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1884,7 +1884,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Contract.cs b/src/Hl7.Fhir.R5/Model/Generated/Contract.cs index 7e9667066..ff6800a83 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Contract.cs @@ -502,7 +502,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -530,7 +530,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -558,7 +558,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -906,7 +906,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -952,7 +952,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -998,7 +998,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1189,7 +1189,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1211,7 +1211,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1233,7 +1233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement?.Any() == true) yield return new KeyValuePair("number",NumberElement); @@ -1562,7 +1562,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1602,7 +1602,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1642,7 +1642,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1770,7 +1770,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1786,7 +1786,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1802,7 +1802,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -1903,7 +1903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1916,7 +1916,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1929,7 +1929,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2367,7 +2367,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2422,7 +2422,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2477,7 +2477,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Scope is not null) yield return new KeyValuePair("scope",Scope); @@ -2645,7 +2645,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2664,7 +2664,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2683,7 +2683,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3150,7 +3150,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3202,7 +3202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3254,7 +3254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -3846,7 +3846,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3913,7 +3913,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3980,7 +3980,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DoNotPerformElement is not null) yield return new KeyValuePair("doNotPerform",DoNotPerformElement); @@ -4116,7 +4116,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4132,7 +4132,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4148,7 +4148,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference?.Any() == true) yield return new KeyValuePair("reference",Reference); @@ -4292,7 +4292,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4311,7 +4311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4330,7 +4330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4435,7 +4435,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4448,7 +4448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4461,7 +4461,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4564,7 +4564,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4577,7 +4577,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4590,7 +4590,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -4693,7 +4693,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4706,7 +4706,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4719,7 +4719,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -5586,7 +5586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5695,7 +5695,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5804,7 +5804,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs index 9faf6faba..9607190a9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs index 1155ea695..f6386ed24 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs @@ -218,7 +218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -234,7 +234,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -250,7 +250,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Party is not null) yield return new KeyValuePair("party",Party); @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -427,7 +427,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -664,7 +664,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -695,7 +695,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -726,7 +726,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -851,7 +851,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -867,7 +867,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -883,7 +883,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1446,7 +1446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1516,7 +1516,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs index 324eff396..de7124853 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs @@ -207,7 +207,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -223,7 +223,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -239,7 +239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -416,7 +416,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -435,7 +435,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -454,7 +454,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -631,7 +631,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -650,7 +650,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -669,7 +669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -963,7 +963,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SupportingInfoSequenceElement?.Any() == true) yield return new KeyValuePair("supportingInfoSequence",SupportingInfoSequenceElement); @@ -1155,7 +1155,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1168,7 +1168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1181,7 +1181,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Diagnosis is not null) yield return new KeyValuePair("diagnosis",Diagnosis); @@ -1599,7 +1599,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1654,7 +1654,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1709,7 +1709,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs index a35027436..1d88592e0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs @@ -241,7 +241,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -257,7 +257,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -273,7 +273,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -450,7 +450,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -472,7 +472,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -494,7 +494,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -932,7 +932,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -984,7 +984,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1036,7 +1036,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1190,7 +1190,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1209,7 +1209,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1228,7 +1228,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1368,7 +1368,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1384,7 +1384,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1400,7 +1400,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1892,7 +1892,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1950,7 +1950,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2008,7 +2008,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs index d9a1d2647..34e0c702b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs @@ -333,7 +333,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -355,7 +355,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -377,7 +377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -553,7 +553,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -591,7 +591,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -804,7 +804,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -826,7 +826,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -848,7 +848,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1009,7 +1009,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1025,7 +1025,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1041,7 +1041,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1354,7 +1354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1391,7 +1391,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1428,7 +1428,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs index 9dfe431de..374b92b9d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs @@ -235,7 +235,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -251,7 +251,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -444,7 +444,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -466,7 +466,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -488,7 +488,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -904,7 +904,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -956,7 +956,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1008,7 +1008,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Device.cs b/src/Hl7.Fhir.R5/Model/Generated/Device.cs index 736dfbac6..5b4c5052a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Device.cs @@ -433,7 +433,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -461,7 +461,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -489,7 +489,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -687,7 +687,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -706,7 +706,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -725,7 +725,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); @@ -915,7 +915,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -937,7 +937,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -959,7 +959,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1118,7 +1118,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1137,7 +1137,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1156,7 +1156,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1281,7 +1281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1297,7 +1297,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1313,7 +1313,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2165,7 +2165,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2271,7 +2271,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2377,7 +2377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs index 9e49f32a3..bad55ced8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs @@ -225,7 +225,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -244,7 +244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -263,7 +263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Status is not null) yield return new KeyValuePair("status",Status); @@ -508,7 +508,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -545,7 +545,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -582,7 +582,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs index 59ae062fc..e543cd1bb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs @@ -365,7 +365,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -387,7 +387,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -409,7 +409,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -549,7 +549,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -565,7 +565,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -581,7 +581,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MarketPeriod is not null) yield return new KeyValuePair("marketPeriod",MarketPeriod); @@ -814,7 +814,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -836,7 +836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -858,7 +858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1015,7 +1015,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1031,7 +1031,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1047,7 +1047,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1168,7 +1168,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1184,7 +1184,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1200,7 +1200,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1377,7 +1377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1399,7 +1399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1421,7 +1421,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1562,7 +1562,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1578,7 +1578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1594,7 +1594,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -1802,7 +1802,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1830,7 +1830,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1858,7 +1858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1998,7 +1998,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2014,7 +2014,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2030,7 +2030,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2182,7 +2182,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2201,7 +2201,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2220,7 +2220,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2345,7 +2345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2361,7 +2361,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2377,7 +2377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2495,7 +2495,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2511,7 +2511,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2527,7 +2527,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relation is not null) yield return new KeyValuePair("relation",Relation); @@ -2697,7 +2697,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2716,7 +2716,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2735,7 +2735,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -2985,7 +2985,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3016,7 +3016,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3047,7 +3047,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseContext?.Any() == true) yield return new KeyValuePair("useContext",UseContext); @@ -3225,7 +3225,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3244,7 +3244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3263,7 +3263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RecallElement is not null) yield return new KeyValuePair("recall",RecallElement); @@ -3418,7 +3418,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3440,7 +3440,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3462,7 +3462,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ChargeItemCode is not null) yield return new KeyValuePair("chargeItemCode",ChargeItemCode); @@ -4098,7 +4098,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4186,7 +4186,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4274,7 +4274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs index 869e26508..ff7ed14c1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs @@ -235,7 +235,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -251,7 +251,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -817,7 +817,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -890,7 +890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -963,7 +963,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs index b35d9509c..f33ddfa96 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs @@ -378,7 +378,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -397,7 +397,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -416,7 +416,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -714,7 +714,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -751,7 +751,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -788,7 +788,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs index 99682d6e1..54d884fd9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -187,7 +187,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -203,7 +203,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -941,7 +941,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1029,7 +1029,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1117,7 +1117,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs index 55918b333..d5e91f15c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -692,7 +692,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -753,7 +753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -814,7 +814,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs index 51718c080..3a277308c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs @@ -250,7 +250,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -266,7 +266,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -282,7 +282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -421,7 +421,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -437,7 +437,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -453,7 +453,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); @@ -993,7 +993,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1066,7 +1066,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1139,7 +1139,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs index 78278700a..63cc641a3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs @@ -238,7 +238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -257,7 +257,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -276,7 +276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Mode is not null) yield return new KeyValuePair("mode",Mode); @@ -401,7 +401,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -417,7 +417,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -433,7 +433,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -554,7 +554,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -570,7 +570,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -586,7 +586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Attachment is not null) yield return new KeyValuePair("attachment",Attachment); @@ -692,7 +692,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -705,7 +705,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -718,7 +718,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1324,7 +1324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1403,7 +1403,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1482,7 +1482,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs index 8cddb0447..004c1128a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -629,7 +629,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -681,7 +681,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -733,7 +733,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs index 01366c5a5..2e7311855 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -246,7 +246,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -265,7 +265,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -407,7 +407,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -423,7 +423,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Use?.Any() == true) yield return new KeyValuePair("use",Use); @@ -545,7 +545,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -561,7 +561,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -577,7 +577,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition?.Any() == true) yield return new KeyValuePair("condition",Condition); @@ -777,7 +777,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -805,7 +805,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -833,7 +833,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreAdmissionIdentifier is not null) yield return new KeyValuePair("preAdmissionIdentifier",PreAdmissionIdentifier); @@ -1016,7 +1016,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1038,7 +1038,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1060,7 +1060,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -1732,7 +1732,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1826,7 +1826,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1920,7 +1920,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs b/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs index c184ea147..2a0d025dc 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs @@ -173,7 +173,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -189,7 +189,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -205,7 +205,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -577,7 +577,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -626,7 +626,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -675,7 +675,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Encounter is not null) yield return new KeyValuePair("encounter",Encounter); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs index 30e9d1529..71ccbf4b6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs @@ -231,7 +231,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -263,7 +263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -651,7 +651,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -697,7 +697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -743,7 +743,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs index eeb67ac26..7df6d756c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -322,7 +322,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -353,7 +353,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs index 5f59243c8..07ec83adb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs @@ -379,7 +379,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -413,7 +413,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -447,7 +447,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs index 3d30b9ce0..c6f17433d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs @@ -242,7 +242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -398,7 +398,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -414,7 +414,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -430,7 +430,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Use is not null) yield return new KeyValuePair("use",Use); @@ -552,7 +552,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -568,7 +568,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -584,7 +584,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition?.Any() == true) yield return new KeyValuePair("condition",Condition); @@ -929,7 +929,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -978,7 +978,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1027,7 +1027,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs index 2ad2d0ddf..75a641a7f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs @@ -968,7 +968,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1068,7 +1068,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1168,7 +1168,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs index 085f59c07..02638b3a5 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs @@ -263,7 +263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -640,7 +640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -680,7 +680,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -720,7 +720,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -970,7 +970,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -995,7 +995,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1020,7 +1020,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1270,7 +1270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1301,7 +1301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1332,7 +1332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1495,7 +1495,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1517,7 +1517,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1539,7 +1539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1736,7 +1736,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1761,7 +1761,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1786,7 +1786,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VariableDefinition is not null) yield return new KeyValuePair("variableDefinition",VariableDefinition); @@ -2019,7 +2019,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2047,7 +2047,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2075,7 +2075,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -2998,7 +2998,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3101,7 +3101,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3204,7 +3204,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs b/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs index 0bd861e8b..b6815f4f8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs @@ -229,7 +229,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -245,7 +245,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -261,7 +261,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Characteristic?.Any() == true) yield return new KeyValuePair("characteristic",Characteristic); @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -458,7 +458,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -480,7 +480,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -623,7 +623,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -639,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -655,7 +655,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -847,7 +847,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -869,7 +869,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -891,7 +891,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -1244,7 +1244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1290,7 +1290,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1336,7 +1336,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1812,7 +1812,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1876,7 +1876,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1940,7 +1940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs index 19291b108..d620fbf8c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs @@ -536,7 +536,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -588,7 +588,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -640,7 +640,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -834,7 +834,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -859,7 +859,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -884,7 +884,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1063,7 +1063,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1082,7 +1082,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1101,7 +1101,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1293,7 +1293,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1318,7 +1318,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1481,7 +1481,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1497,7 +1497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1513,7 +1513,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2445,7 +2445,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2545,7 +2545,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2645,7 +2645,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs index 6ce5ac6d9..86c281cb4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs @@ -278,7 +278,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -300,7 +300,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -322,7 +322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -648,7 +648,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -685,7 +685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -722,7 +722,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -940,7 +940,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -962,7 +962,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -984,7 +984,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -1141,7 +1141,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1157,7 +1157,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1173,7 +1173,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InstanceReferenceElement is not null) yield return new KeyValuePair("instanceReference",InstanceReferenceElement); @@ -1420,7 +1420,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1445,7 +1445,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1470,7 +1470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1718,7 +1718,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1746,7 +1746,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1774,7 +1774,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -2131,7 +2131,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2168,7 +2168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2205,7 +2205,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2386,7 +2386,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2405,7 +2405,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2424,7 +2424,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -3082,7 +3082,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3152,7 +3152,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3222,7 +3222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs index 335ac4cf5..aeac9e388 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -243,7 +243,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -262,7 +262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -386,7 +386,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -402,7 +402,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -418,7 +418,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -540,7 +540,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -556,7 +556,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -572,7 +572,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -786,7 +786,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -811,7 +811,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -836,7 +836,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1058,7 +1058,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1086,7 +1086,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1114,7 +1114,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1299,7 +1299,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1321,7 +1321,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1564,7 +1564,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1589,7 +1589,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1614,7 +1614,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1795,7 +1795,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1814,7 +1814,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1833,7 +1833,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FocalElement is not null) yield return new KeyValuePair("focal",FocalElement); @@ -1992,7 +1992,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2011,7 +2011,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2030,7 +2030,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2776,7 +2776,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2870,7 +2870,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2964,7 +2964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3112,7 +3112,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3128,7 +3128,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3144,7 +3144,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Site?.Any() == true) yield return new KeyValuePair("site",Site); @@ -3319,7 +3319,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3341,7 +3341,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3363,7 +3363,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Decision is not null) yield return new KeyValuePair("decision",Decision); @@ -3522,7 +3522,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3544,7 +3544,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3566,7 +3566,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -4062,7 +4062,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4129,7 +4129,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4196,7 +4196,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4688,7 +4688,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4752,7 +4752,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4816,7 +4816,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -5463,7 +5463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5545,7 +5545,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5627,7 +5627,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ItemSequenceElement?.Any() == true) yield return new KeyValuePair("itemSequence",ItemSequenceElement); @@ -5771,7 +5771,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5787,7 +5787,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5803,7 +5803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Site?.Any() == true) yield return new KeyValuePair("site",Site); @@ -6200,7 +6200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6255,7 +6255,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6310,7 +6310,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TraceNumber?.Any() == true) yield return new KeyValuePair("traceNumber",TraceNumber); @@ -6701,7 +6701,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6753,7 +6753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6805,7 +6805,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TraceNumber?.Any() == true) yield return new KeyValuePair("traceNumber",TraceNumber); @@ -6939,7 +6939,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6955,7 +6955,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6971,7 +6971,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -7181,7 +7181,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7209,7 +7209,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7237,7 +7237,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -7433,7 +7433,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7455,7 +7455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7477,7 +7477,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -7762,7 +7762,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7796,7 +7796,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7830,7 +7830,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -7978,7 +7978,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7997,7 +7997,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -8016,7 +8016,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -9153,7 +9153,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -9310,7 +9310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -9467,7 +9467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Expression.cs b/src/Hl7.Fhir.R5/Model/Generated/Expression.cs index 7c789c6a4..15bb3c045 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Expression.cs @@ -297,7 +297,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -322,7 +322,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -347,7 +347,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs b/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs index e74a7d7da..ad2dd1f08 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs @@ -230,7 +230,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -286,7 +286,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); diff --git a/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs index 90ea1ad34..2f5bee77e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs @@ -206,7 +206,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -222,7 +222,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -238,7 +238,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -434,7 +434,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -459,7 +459,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -484,7 +484,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -683,7 +683,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -708,7 +708,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -733,7 +733,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1279,7 +1279,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1346,7 +1346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1413,7 +1413,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Flag.cs b/src/Hl7.Fhir.R5/Model/Generated/Flag.cs index b8df1620a..1c97e5d6c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Flag.cs @@ -323,7 +323,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -357,7 +357,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -391,7 +391,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs b/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs index f86a0828b..3521e7a02 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs @@ -222,7 +222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -241,7 +241,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs index ee0994767..18886b009 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs @@ -593,7 +593,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -657,7 +657,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -721,7 +721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -876,7 +876,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -895,7 +895,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -914,7 +914,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (File is not null) yield return new KeyValuePair("file",File); @@ -1033,7 +1033,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1049,7 +1049,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1065,7 +1065,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (File is not null) yield return new KeyValuePair("file",File); @@ -1182,7 +1182,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1198,7 +1198,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1214,7 +1214,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor is not null) yield return new KeyValuePair("actor",Actor); @@ -1331,7 +1331,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1347,7 +1347,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1363,7 +1363,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Device is not null) yield return new KeyValuePair("device",Device); @@ -1813,7 +1813,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1868,7 +1868,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1923,7 +1923,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Goal.cs b/src/Hl7.Fhir.R5/Model/Generated/Goal.cs index 441647a3a..c93d56aef 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Goal.cs @@ -258,7 +258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -277,7 +277,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -296,7 +296,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -750,7 +750,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -808,7 +808,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -866,7 +866,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs index d3f2e7feb..264c297a0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs @@ -333,7 +333,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -355,7 +355,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -377,7 +377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NodeIdElement is not null) yield return new KeyValuePair("nodeId",NodeIdElement); @@ -767,7 +767,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -804,7 +804,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -841,7 +841,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1116,7 +1116,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1141,7 +1141,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1166,7 +1166,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); @@ -1845,7 +1845,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1915,7 +1915,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1985,7 +1985,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Group.cs b/src/Hl7.Fhir.R5/Model/Generated/Group.cs index 92addf61b..2e5b85573 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Group.cs @@ -323,7 +323,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -367,7 +367,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -526,7 +526,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -545,7 +545,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -564,7 +564,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -950,7 +950,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -993,7 +993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1036,7 +1036,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs index ca2941b21..71b81f2b0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs @@ -476,7 +476,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -528,7 +528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -580,7 +580,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequestIdentifier is not null) yield return new KeyValuePair("requestIdentifier",RequestIdentifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs index 4b65a5a40..314ec6852 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs @@ -184,7 +184,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -200,7 +200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -216,7 +216,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -822,7 +822,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -901,7 +901,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -980,7 +980,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs index d4c5eeb20..c27fa268a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs b/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs index c190c1a61..771a10bb9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs @@ -285,7 +285,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -301,7 +301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -317,7 +317,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -594,7 +594,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -622,7 +622,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -785,7 +785,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -801,7 +801,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -817,7 +817,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RegionTypeElement is not null) yield return new KeyValuePair("regionType",RegionTypeElement); @@ -975,7 +975,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -991,7 +991,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1007,7 +1007,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RegionTypeElement is not null) yield return new KeyValuePair("regionType",RegionTypeElement); @@ -1514,7 +1514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1575,7 +1575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1636,7 +1636,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs index 448345a2a..b00a2be00 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs @@ -491,7 +491,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -537,7 +537,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -583,7 +583,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -716,7 +716,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -732,7 +732,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -748,7 +748,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -959,7 +959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -981,7 +981,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -1517,7 +1517,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1581,7 +1581,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1645,7 +1645,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs index 026b8b43c..d58f231a6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -354,7 +354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -370,7 +370,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -386,7 +386,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Program is not null) yield return new KeyValuePair("program",Program); @@ -559,7 +559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -578,7 +578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -597,7 +597,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -829,7 +829,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -854,7 +854,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -879,7 +879,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SeriesElement is not null) yield return new KeyValuePair("series",SeriesElement); @@ -1580,7 +1580,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1674,7 +1674,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1768,7 +1768,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs index 1755a4028..6d2eb0d9b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs @@ -500,7 +500,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -549,7 +549,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -598,7 +598,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs index a19fe2085..a9698fe5d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs @@ -437,7 +437,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -483,7 +483,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -529,7 +529,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (VaccineCode?.Any() == true) yield return new KeyValuePair("vaccineCode",VaccineCode); @@ -678,7 +678,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -694,7 +694,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -710,7 +710,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -894,7 +894,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -919,7 +919,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -944,7 +944,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs index 8802d4f26..6caec04ef 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs @@ -2397,7 +2397,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2419,7 +2419,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2441,7 +2441,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -2602,7 +2602,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2618,7 +2618,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2634,7 +2634,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2811,7 +2811,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2836,7 +2836,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2861,7 +2861,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Grouping?.Any() == true) yield return new KeyValuePair("grouping",Grouping); @@ -3020,7 +3020,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3036,7 +3036,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3052,7 +3052,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3375,7 +3375,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3406,7 +3406,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3437,7 +3437,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -3677,7 +3677,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3702,7 +3702,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3727,7 +3727,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Source is not null) yield return new KeyValuePair("source",Source); @@ -3869,7 +3869,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3885,7 +3885,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3901,7 +3901,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -4090,7 +4090,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4109,7 +4109,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4128,7 +4128,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -4359,7 +4359,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4384,7 +4384,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4409,7 +4409,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RenderingElement is not null) yield return new KeyValuePair("rendering",RenderingElement); @@ -4624,7 +4624,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4646,7 +4646,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4668,7 +4668,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reference is not null) yield return new KeyValuePair("reference",Reference); @@ -4862,7 +4862,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4881,7 +4881,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4900,7 +4900,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -5691,7 +5691,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5773,7 +5773,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5855,7 +5855,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs b/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs index a303b1e10..19d093e87 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs @@ -216,7 +216,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -232,7 +232,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -248,7 +248,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -366,7 +366,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -382,7 +382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -398,7 +398,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -685,7 +685,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -719,7 +719,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -753,7 +753,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Presentation is not null) yield return new KeyValuePair("presentation",Presentation); @@ -938,7 +938,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -960,7 +960,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -982,7 +982,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1298,7 +1298,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1338,7 +1338,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1378,7 +1378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs index 3086a61cf..388bf5396 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs @@ -216,7 +216,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -235,7 +235,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -254,7 +254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -411,7 +411,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -430,7 +430,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -449,7 +449,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -568,7 +568,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -584,7 +584,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -600,7 +600,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -799,7 +799,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -827,7 +827,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -855,7 +855,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1049,7 +1049,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1071,7 +1071,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1093,7 +1093,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1215,7 +1215,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1231,7 +1231,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1247,7 +1247,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1367,7 +1367,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1383,7 +1383,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1399,7 +1399,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1556,7 +1556,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1578,7 +1578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1600,7 +1600,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1998,7 +1998,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2050,7 +2050,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2102,7 +2102,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs b/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs index b0249b566..c9b4d5adb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs @@ -259,7 +259,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -278,7 +278,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -297,7 +297,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameType is not null) yield return new KeyValuePair("nameType",NameType); @@ -417,7 +417,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -433,7 +433,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -449,7 +449,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -605,7 +605,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -621,7 +621,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -637,7 +637,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -775,7 +775,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -794,7 +794,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -813,7 +813,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AssociationType is not null) yield return new KeyValuePair("associationType",AssociationType); @@ -936,7 +936,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -952,7 +952,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -968,7 +968,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CharacteristicType is not null) yield return new KeyValuePair("characteristicType",CharacteristicType); @@ -1178,7 +1178,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1203,7 +1203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1228,7 +1228,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1582,7 +1582,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1634,7 +1634,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1686,7 +1686,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs b/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs index da86476d9..6cb9f2063 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs @@ -275,7 +275,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -297,7 +297,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -456,7 +456,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -475,7 +475,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -494,7 +494,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -809,7 +809,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -849,7 +849,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -889,7 +889,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs index 31e5052d4..467834f97 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -227,7 +227,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -243,7 +243,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -422,7 +422,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -444,7 +444,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -466,7 +466,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -968,7 +968,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1032,7 +1032,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1096,7 +1096,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Library.cs b/src/Hl7.Fhir.R5/Model/Generated/Library.cs index b714fbc38..f221ae159 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Library.cs @@ -1026,7 +1026,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1135,7 +1135,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1244,7 +1244,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs index 30f42fd88..5c09419e0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs @@ -220,7 +220,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -236,7 +236,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -252,7 +252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -393,7 +393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -412,7 +412,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -431,7 +431,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActiveElement is not null) yield return new KeyValuePair("active",ActiveElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/List.cs b/src/Hl7.Fhir.R5/Model/Generated/List.cs index 3a22a84f3..ce4ea5cb8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/List.cs @@ -273,7 +273,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -295,7 +295,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -317,7 +317,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Flag is not null) yield return new KeyValuePair("flag",Flag); @@ -712,7 +712,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -761,7 +761,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -810,7 +810,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Location.cs b/src/Hl7.Fhir.R5/Model/Generated/Location.cs index bcca17ac4..a99f94908 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Location.cs @@ -293,7 +293,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -312,7 +312,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -331,7 +331,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LongitudeElement is not null) yield return new KeyValuePair("longitude",LongitudeElement); @@ -836,7 +836,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -900,7 +900,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs index d8277a2ff..70e3a070c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs @@ -167,7 +167,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -183,7 +183,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -199,7 +199,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -392,7 +392,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -420,7 +420,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -448,7 +448,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -607,7 +607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -629,7 +629,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -651,7 +651,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Amount?.Any() == true) yield return new KeyValuePair("amount",Amount); @@ -952,7 +952,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -992,7 +992,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1032,7 +1032,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs index 5880ece8f..4b64ce313 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs @@ -222,7 +222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -247,7 +247,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -272,7 +272,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Measure.cs b/src/Hl7.Fhir.R5/Model/Generated/Measure.cs index aaa2c33c5..b966ffa29 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Measure.cs @@ -187,7 +187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -203,7 +203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -219,7 +219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -640,7 +640,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -689,7 +689,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -738,7 +738,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1015,7 +1015,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1046,7 +1046,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1077,7 +1077,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1312,7 +1312,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1340,7 +1340,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1368,7 +1368,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1584,7 +1584,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1609,7 +1609,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1634,7 +1634,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1850,7 +1850,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1875,7 +1875,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1900,7 +1900,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -3246,7 +3246,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3391,7 +3391,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3536,7 +3536,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs index 1b055bb0d..a06bc041c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs @@ -349,7 +349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -377,7 +377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -405,7 +405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -643,7 +643,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -671,7 +671,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -859,7 +859,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -878,7 +878,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -897,7 +897,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1059,7 +1059,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1081,7 +1081,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1265,7 +1265,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1284,7 +1284,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1303,7 +1303,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1538,7 +1538,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1566,7 +1566,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1594,7 +1594,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -2091,7 +2091,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2152,7 +2152,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2213,7 +2213,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Medication.cs b/src/Hl7.Fhir.R5/Model/Generated/Medication.cs index 7248b00f0..004c4eaaf 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Medication.cs @@ -238,7 +238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -257,7 +257,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -276,7 +276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -431,7 +431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -447,7 +447,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -463,7 +463,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LotNumberElement is not null) yield return new KeyValuePair("lotNumber",LotNumberElement); @@ -721,7 +721,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -758,7 +758,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -795,7 +795,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs index 568ed7501..fb9a3d650 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs @@ -222,7 +222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -238,7 +238,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -254,7 +254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -523,7 +523,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TextElement is not null) yield return new KeyValuePair("text",TextElement); @@ -1066,7 +1066,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1139,7 +1139,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs index 170cfbca7..1c21d1e0d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs @@ -236,7 +236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -268,7 +268,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -446,7 +446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -468,7 +468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -490,7 +490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (WasSubstitutedElement is not null) yield return new KeyValuePair("wasSubstituted",WasSubstitutedElement); @@ -1194,7 +1194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1285,7 +1285,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1376,7 +1376,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs index 9c6c633ae..363d05162 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs @@ -200,7 +200,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -232,7 +232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -349,7 +349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -365,7 +365,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -381,7 +381,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -559,7 +559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -581,7 +581,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -603,7 +603,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EffectiveDate?.Any() == true) yield return new KeyValuePair("effectiveDate",EffectiveDate); @@ -741,7 +741,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -757,7 +757,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -773,7 +773,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -893,7 +893,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -909,7 +909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -925,7 +925,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Indication?.Any() == true) yield return new KeyValuePair("indication",Indication); @@ -1081,7 +1081,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1125,7 +1125,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TreatmentIntent is not null) yield return new KeyValuePair("treatmentIntent",TreatmentIntent); @@ -1244,7 +1244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1260,7 +1260,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1276,7 +1276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1397,7 +1397,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1413,7 +1413,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1429,7 +1429,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1566,7 +1566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1585,7 +1585,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1604,7 +1604,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1726,7 +1726,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1742,7 +1742,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1758,7 +1758,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Cost?.Any() == true) yield return new KeyValuePair("cost",Cost); @@ -1932,7 +1932,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1954,7 +1954,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1976,7 +1976,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ReferenceElement is not null) yield return new KeyValuePair("reference",ReferenceElement); @@ -2100,7 +2100,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2116,7 +2116,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2132,7 +2132,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2288,7 +2288,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2310,7 +2310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2332,7 +2332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RegulatoryAuthority is not null) yield return new KeyValuePair("regulatoryAuthority",RegulatoryAuthority); @@ -2469,7 +2469,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2485,7 +2485,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2501,7 +2501,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2617,7 +2617,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2633,7 +2633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2649,7 +2649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -2829,7 +2829,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2854,7 +2854,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2879,7 +2879,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Definition?.Any() == true) yield return new KeyValuePair("definition",Definition); @@ -3023,7 +3023,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3042,7 +3042,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3061,7 +3061,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -3183,7 +3183,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3199,7 +3199,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3215,7 +3215,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3721,7 +3721,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3791,7 +3791,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3861,7 +3861,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs index 9e8253c1f..9b108e51a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs @@ -438,7 +438,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -475,7 +475,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -512,7 +512,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (InitialFill is not null) yield return new KeyValuePair("initialFill",InitialFill); @@ -638,7 +638,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -654,7 +654,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -670,7 +670,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -793,7 +793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -809,7 +809,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -825,7 +825,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Allowed is not null) yield return new KeyValuePair("allowed",Allowed); @@ -1681,7 +1681,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1790,7 +1790,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1899,7 +1899,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs index c4ec09019..0bcf02ff3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -692,7 +692,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -753,7 +753,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -814,7 +814,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs index 286873e84..126b9b4d8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs @@ -169,7 +169,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -185,7 +185,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -201,7 +201,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -418,7 +418,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ProductNameElement is not null) yield return new KeyValuePair("productName",ProductNameElement); @@ -556,7 +556,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -588,7 +588,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PartElement is not null) yield return new KeyValuePair("part",PartElement); @@ -729,7 +729,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -748,7 +748,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -767,7 +767,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Country is not null) yield return new KeyValuePair("country",Country); @@ -888,7 +888,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -904,7 +904,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -920,7 +920,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -1078,7 +1078,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1100,7 +1100,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1122,7 +1122,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1246,7 +1246,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1262,7 +1262,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1278,7 +1278,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1980,7 +1980,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2077,7 +2077,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2174,7 +2174,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs index 5ef560d33..12cbc9a48 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs @@ -343,7 +343,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -365,7 +365,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -387,7 +387,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -545,7 +545,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -561,7 +561,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -577,7 +577,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MessageElement is not null) yield return new KeyValuePair("message",MessageElement); @@ -1460,7 +1460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1548,7 +1548,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1636,7 +1636,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs index 9fcf1a255..ddbc01da6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs @@ -258,7 +258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -280,7 +280,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -302,7 +302,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Endpoint is not null) yield return new KeyValuePair("endpoint",Endpoint); @@ -533,7 +533,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -558,7 +558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -583,7 +583,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Endpoint is not null) yield return new KeyValuePair("endpoint",Endpoint); @@ -746,7 +746,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -765,7 +765,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -784,7 +784,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1065,7 +1065,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1105,7 +1105,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1145,7 +1145,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Event is not null) yield return new KeyValuePair("event",Event); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs index 40da909e0..1872bd0f0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs @@ -309,7 +309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -334,7 +334,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -359,7 +359,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CoordinateSystem is not null) yield return new KeyValuePair("coordinateSystem",CoordinateSystem); @@ -652,7 +652,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -683,7 +683,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -714,7 +714,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (GenomeAssembly is not null) yield return new KeyValuePair("genomeAssembly",GenomeAssembly); @@ -942,7 +942,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -964,7 +964,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -986,7 +986,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -1288,7 +1288,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1328,7 +1328,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1368,7 +1368,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs b/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs index fbc9e1a62..d84ecd958 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs @@ -271,7 +271,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -293,7 +293,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -315,7 +315,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Money.cs b/src/Hl7.Fhir.R5/Model/Generated/Money.cs index 470d98a40..cc50f176a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Money.cs @@ -187,7 +187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -203,7 +203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -219,7 +219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs index caf597800..29d41a6de 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs @@ -409,7 +409,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -437,7 +437,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -465,7 +465,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1425,7 +1425,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1528,7 +1528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1631,7 +1631,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs index 7073179e5..9730d515e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs @@ -278,7 +278,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -309,7 +309,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -340,7 +340,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -483,7 +483,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -499,7 +499,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Nutrient is not null) yield return new KeyValuePair("nutrient",Nutrient); @@ -621,7 +621,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -637,7 +637,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -653,7 +653,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -1189,7 +1189,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1259,7 +1259,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1329,7 +1329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs index 97a2ddc3a..2b30f85f5 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs @@ -265,7 +265,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -293,7 +293,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -481,7 +481,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -500,7 +500,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -519,7 +519,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Timing?.Any() == true) yield return new KeyValuePair("timing",Timing); @@ -639,7 +639,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -655,7 +655,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -671,7 +671,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -791,7 +791,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -807,7 +807,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -823,7 +823,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -1032,7 +1032,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1057,7 +1057,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1082,7 +1082,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1241,7 +1241,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1260,7 +1260,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1279,7 +1279,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Timing?.Any() == true) yield return new KeyValuePair("timing",Timing); @@ -1565,7 +1565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1602,7 +1602,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1639,7 +1639,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (BaseFormulaType is not null) yield return new KeyValuePair("baseFormulaType",BaseFormulaType); @@ -1801,7 +1801,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1820,7 +1820,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1839,7 +1839,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1979,7 +1979,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1998,7 +1998,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2017,7 +2017,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -2174,7 +2174,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2193,7 +2193,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2212,7 +2212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Timing?.Any() == true) yield return new KeyValuePair("timing",Timing); @@ -2875,7 +2875,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2954,7 +2954,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3033,7 +3033,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs index f17d8647e..dd04c8081 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs @@ -198,7 +198,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -214,7 +214,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -347,7 +347,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -363,7 +363,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -499,7 +499,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -515,7 +515,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -531,7 +531,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -812,7 +812,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -843,7 +843,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -874,7 +874,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -1159,7 +1159,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1199,7 +1199,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1239,7 +1239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Observation.cs b/src/Hl7.Fhir.R5/Model/Generated/Observation.cs index 12e5adb9d..09b9462c9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Observation.cs @@ -257,7 +257,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -295,7 +295,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Observation is not null) yield return new KeyValuePair("observation",Observation); @@ -527,7 +527,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -558,7 +558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -589,7 +589,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Low is not null) yield return new KeyValuePair("low",Low); @@ -776,7 +776,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -801,7 +801,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -826,7 +826,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1472,7 +1472,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1563,7 +1563,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1654,7 +1654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs index df7e5eed1..fdacd72d8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs @@ -586,7 +586,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -632,7 +632,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -678,7 +678,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Context is not null) yield return new KeyValuePair("context",Context); @@ -868,7 +868,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -890,7 +890,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -912,7 +912,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -2024,7 +2024,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2145,7 +2145,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2266,7 +2266,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs index 2353efce2..57b3363ea 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs @@ -616,7 +616,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -665,7 +665,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -714,7 +714,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -883,7 +883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -899,7 +899,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -915,7 +915,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -1071,7 +1071,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1087,7 +1087,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -1259,7 +1259,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1275,7 +1275,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1291,7 +1291,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ParameterNameElement?.Any() == true) yield return new KeyValuePair("parameterName",ParameterNameElement); @@ -2336,7 +2336,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2436,7 +2436,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2536,7 +2536,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Organization.cs b/src/Hl7.Fhir.R5/Model/Generated/Organization.cs index 77e23eb27..694aad100 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Organization.cs @@ -210,7 +210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -232,7 +232,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -254,7 +254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -587,7 +587,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -627,7 +627,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -667,7 +667,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs index 0a450ddae..08f9e3f7c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs @@ -371,7 +371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -417,7 +417,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -463,7 +463,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs index b84e4e6ed..41d6c4933 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs @@ -164,7 +164,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -180,7 +180,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -196,7 +196,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -525,7 +525,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -568,7 +568,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -611,7 +611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -739,7 +739,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -755,7 +755,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -771,7 +771,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -887,7 +887,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -903,7 +903,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -919,7 +919,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -1345,7 +1345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1400,7 +1400,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs index eee08e345..0e5dd3852 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -405,7 +405,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -436,7 +436,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Patient.cs b/src/Hl7.Fhir.R5/Model/Generated/Patient.cs index 1c94108e6..fcd4edb0e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Patient.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -348,7 +348,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relationship?.Any() == true) yield return new KeyValuePair("relationship",Relationship); @@ -522,7 +522,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -538,7 +538,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -696,7 +696,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -712,7 +712,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -728,7 +728,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Other is not null) yield return new KeyValuePair("other",Other); @@ -1158,7 +1158,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1216,7 +1216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1274,7 +1274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs index 995124c7f..36a42dea9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -454,7 +454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -500,7 +500,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs index 953416e77..ad8309b84 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs @@ -435,7 +435,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -484,7 +484,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -533,7 +533,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -700,7 +700,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -716,7 +716,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -732,7 +732,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1547,7 +1547,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1644,7 +1644,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1741,7 +1741,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Permission.cs b/src/Hl7.Fhir.R5/Model/Generated/Permission.cs index 0e2dcdb70..0ba5b28ff 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Permission.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Permission.cs @@ -250,7 +250,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -266,7 +266,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -282,7 +282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Basis?.Any() == true) yield return new KeyValuePair("basis",Basis); @@ -460,7 +460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -482,7 +482,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -504,7 +504,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -663,7 +663,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -685,7 +685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -707,7 +707,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Resource?.Any() == true) yield return new KeyValuePair("resource",Resource); @@ -848,7 +848,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -864,7 +864,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -880,7 +880,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -1020,7 +1020,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1039,7 +1039,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1058,7 +1058,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor?.Any() == true) yield return new KeyValuePair("actor",Actor); @@ -1315,7 +1315,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1346,7 +1346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1377,7 +1377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Person.cs b/src/Hl7.Fhir.R5/Model/Generated/Person.cs index 7b5d3771c..48350c336 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Person.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -394,7 +394,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -410,7 +410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -426,7 +426,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -845,7 +845,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -894,7 +894,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs index e81484469..f74fa288b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs @@ -267,7 +267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -298,7 +298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -329,7 +329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -511,7 +511,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -685,7 +685,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -704,7 +704,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -723,7 +723,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -919,7 +919,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -941,7 +941,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -963,7 +963,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1838,7 +1838,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1935,7 +1935,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2032,7 +2032,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -2199,7 +2199,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2215,7 +2215,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2231,7 +2231,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -2403,7 +2403,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2422,7 +2422,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2441,7 +2441,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -2614,7 +2614,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2633,7 +2633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2652,7 +2652,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -2870,7 +2870,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2892,7 +2892,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2914,7 +2914,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TargetIdElement is not null) yield return new KeyValuePair("targetId",TargetIdElement); @@ -3166,7 +3166,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3194,7 +3194,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3222,7 +3222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActorIdElement is not null) yield return new KeyValuePair("actorId",ActorIdElement); @@ -3363,7 +3363,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3379,7 +3379,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3395,7 +3395,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -4428,7 +4428,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4543,7 +4543,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4658,7 +4658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs index 78fcfee3d..0a149ae71 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -233,7 +233,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -398,7 +398,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -414,7 +414,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -430,7 +430,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -761,7 +761,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -804,7 +804,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs index 4348f7fd8..3143c8385 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs @@ -412,7 +412,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -464,7 +464,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -516,7 +516,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs index 0915409b0..73a5fd632 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs @@ -210,7 +210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -232,7 +232,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -254,7 +254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -378,7 +378,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -394,7 +394,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -410,7 +410,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -1106,7 +1106,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1200,7 +1200,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1294,7 +1294,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs index c8698349a..3580ea130 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs @@ -170,7 +170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -189,7 +189,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -208,7 +208,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs index 0a3e1f27d..5291826e9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs @@ -254,7 +254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -276,7 +276,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -298,7 +298,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -477,7 +477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -496,7 +496,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -854,7 +854,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -903,7 +903,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -952,7 +952,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs index 76c6d8385..575416e92 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs @@ -937,7 +937,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1001,7 +1001,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1065,7 +1065,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1263,7 +1263,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1282,7 +1282,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1301,7 +1301,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (QuestionElement is not null) yield return new KeyValuePair("question",QuestionElement); @@ -1444,7 +1444,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1460,7 +1460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1476,7 +1476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1582,7 +1582,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1595,7 +1595,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1608,7 +1608,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2412,7 +2412,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2494,7 +2494,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2576,7 +2576,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs index be8a1b1ca..32ab44727 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs @@ -321,7 +321,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -346,7 +346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -371,7 +371,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -499,7 +499,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -515,7 +515,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -531,7 +531,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -871,7 +871,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -914,7 +914,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -957,7 +957,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs index 2c482cf2a..658de1e46 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs @@ -153,7 +153,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -169,7 +169,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -185,7 +185,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Numerator is not null) yield return new KeyValuePair("numerator",Numerator); diff --git a/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs b/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs index bc866d60f..f82254cc2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs @@ -171,7 +171,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -190,7 +190,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -209,7 +209,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LowNumerator is not null) yield return new KeyValuePair("lowNumerator",LowNumerator); diff --git a/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs b/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs index 9939432b2..cea2c2cad 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs @@ -227,7 +227,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -277,7 +277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -673,7 +673,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -728,7 +728,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -783,7 +783,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs index c1277772c..2812519bf 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs @@ -188,7 +188,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -204,7 +204,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -220,7 +220,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -571,7 +571,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -617,7 +617,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -663,7 +663,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs b/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs index e3dec8d08..68b5951a5 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs @@ -866,7 +866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -957,7 +957,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1048,7 +1048,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1213,7 +1213,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1229,7 +1229,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1245,7 +1245,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1417,7 +1417,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1436,7 +1436,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1628,7 +1628,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1647,7 +1647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1666,7 +1666,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1883,7 +1883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1905,7 +1905,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1927,7 +1927,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TargetIdElement is not null) yield return new KeyValuePair("targetId",TargetIdElement); @@ -2165,7 +2165,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2193,7 +2193,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2221,7 +2221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2362,7 +2362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2378,7 +2378,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2394,7 +2394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -2925,7 +2925,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2989,7 +2989,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3053,7 +3053,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs b/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs index b9e2e0e39..8f00ab46b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs @@ -518,7 +518,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -558,7 +558,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -598,7 +598,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -1336,7 +1336,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1409,7 +1409,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1482,7 +1482,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs index 3d3025e62..b701e8a2b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs @@ -185,7 +185,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -201,7 +201,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -217,7 +217,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -414,7 +414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -464,7 +464,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -620,7 +620,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -639,7 +639,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -658,7 +658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (State is not null) yield return new KeyValuePair("state",State); @@ -850,7 +850,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -872,7 +872,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -894,7 +894,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TargetNumberElement is not null) yield return new KeyValuePair("targetNumber",TargetNumberElement); @@ -1148,7 +1148,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1176,7 +1176,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1204,7 +1204,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -1381,7 +1381,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1400,7 +1400,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1419,7 +1419,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1615,7 +1615,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1637,7 +1637,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1659,7 +1659,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2488,7 +2488,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2594,7 +2594,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2700,7 +2700,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs index 30225977f..f0448fcc3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs @@ -371,7 +371,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -399,7 +399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -427,7 +427,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -729,7 +729,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -766,7 +766,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -803,7 +803,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs index 95a7336eb..56e4b8824 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs @@ -283,7 +283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -339,7 +339,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Outcome is not null) yield return new KeyValuePair("outcome",Outcome); @@ -761,7 +761,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -819,7 +819,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -877,7 +877,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs index 679e41fd5..363b34855 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs @@ -463,7 +463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -503,7 +503,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -543,7 +543,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Origin is not null) yield return new KeyValuePair("origin",Origin); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs index b98ac57d1..12b278848 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs @@ -341,7 +341,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -378,7 +378,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -415,7 +415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs index cfcf1b534..b89c360e1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs @@ -235,7 +235,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -251,7 +251,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DefinitionElement is not null) yield return new KeyValuePair("definition",DefinitionElement); @@ -1376,7 +1376,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1479,7 +1479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1582,7 +1582,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs index e5890fe20..e631c0ea2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs @@ -170,7 +170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -186,7 +186,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -202,7 +202,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ParameterFocus is not null) yield return new KeyValuePair("parameterFocus",ParameterFocus); @@ -322,7 +322,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -338,7 +338,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -354,7 +354,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -457,7 +457,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -470,7 +470,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -483,7 +483,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Instruction is not null) yield return new KeyValuePair("instruction",Instruction); @@ -1332,7 +1332,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1441,7 +1441,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1550,7 +1550,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Slot.cs b/src/Hl7.Fhir.R5/Model/Generated/Slot.cs index 4c2a9f5a4..2a5acb942 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Slot.cs @@ -460,7 +460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -503,7 +503,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -546,7 +546,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs index 84e43cdc6..495d08e51 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -261,7 +261,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -277,7 +277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -533,7 +533,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -570,7 +570,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -607,7 +607,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -792,7 +792,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -814,7 +814,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -836,7 +836,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -979,7 +979,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -998,7 +998,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1017,7 +1017,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Device is not null) yield return new KeyValuePair("device",Device); @@ -1450,7 +1450,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1508,7 +1508,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1566,7 +1566,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs index d21fb7301..79c8acd9e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs @@ -415,7 +415,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -495,7 +495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IsDerivedElement is not null) yield return new KeyValuePair("isDerived",IsDerivedElement); @@ -768,7 +768,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -802,7 +802,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -836,7 +836,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Material is not null) yield return new KeyValuePair("material",Material); @@ -947,7 +947,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -960,7 +960,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -973,7 +973,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Additive is not null) yield return new KeyValuePair("additive",Additive); @@ -1145,7 +1145,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1167,7 +1167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1189,7 +1189,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TemperatureQualifier is not null) yield return new KeyValuePair("temperatureQualifier",TemperatureQualifier); @@ -2089,7 +2089,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2183,7 +2183,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2277,7 +2277,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs index 32e289d8e..83be26df4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs @@ -542,7 +542,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -564,7 +564,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -586,7 +586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -742,7 +742,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -758,7 +758,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -774,7 +774,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1041,7 +1041,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1069,7 +1069,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1097,7 +1097,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1332,7 +1332,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1354,7 +1354,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1376,7 +1376,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1605,7 +1605,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1633,7 +1633,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1661,7 +1661,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2143,7 +2143,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2186,7 +2186,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2229,7 +2229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2557,7 +2557,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2588,7 +2588,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2619,7 +2619,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2724,7 +2724,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2737,7 +2737,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2750,7 +2750,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2884,7 +2884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2900,7 +2900,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2916,7 +2916,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3612,7 +3612,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3685,7 +3685,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3758,7 +3758,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs index cf37379f5..975db5422 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs @@ -347,7 +347,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -372,7 +372,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -397,7 +397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceTypeElement is not null) yield return new KeyValuePair("resourceType",ResourceTypeElement); @@ -557,7 +557,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -573,7 +573,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -589,7 +589,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1176,7 +1176,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1237,7 +1237,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1298,7 +1298,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs index 75d83880a..31181f636 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs @@ -286,7 +286,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -308,7 +308,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventNumberElement is not null) yield return new KeyValuePair("eventNumber",EventNumberElement); @@ -607,7 +607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +638,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -669,7 +669,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs index b218e117b..425e5c43a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs @@ -349,7 +349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -374,7 +374,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -399,7 +399,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -668,7 +668,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -693,7 +693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -718,7 +718,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreviousElement is not null) yield return new KeyValuePair("previous",PreviousElement); @@ -897,7 +897,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -916,7 +916,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -935,7 +935,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1242,7 +1242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1270,7 +1270,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1298,7 +1298,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1496,7 +1496,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1515,7 +1515,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1534,7 +1534,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResourceElement is not null) yield return new KeyValuePair("resource",ResourceElement); @@ -2339,7 +2339,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2424,7 +2424,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2509,7 +2509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Substance.cs b/src/Hl7.Fhir.R5/Model/Generated/Substance.cs index 9561af905..ba508527d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Substance.cs @@ -198,7 +198,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -214,7 +214,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -541,7 +541,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -578,7 +578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -615,7 +615,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs index 1f2be3dcc..ddebce1a6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs @@ -311,7 +311,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -557,7 +557,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -579,7 +579,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -601,7 +601,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Technique is not null) yield return new KeyValuePair("technique",Technique); @@ -722,7 +722,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -738,7 +738,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -754,7 +754,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -893,7 +893,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -931,7 +931,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Method is not null) yield return new KeyValuePair("method",Method); @@ -1199,7 +1199,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1233,7 +1233,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1267,7 +1267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Stereochemistry is not null) yield return new KeyValuePair("stereochemistry",Stereochemistry); @@ -1446,7 +1446,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1468,7 +1468,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1490,7 +1490,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1684,7 +1684,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1709,7 +1709,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1734,7 +1734,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -2065,7 +2065,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2108,7 +2108,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2151,7 +2151,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2313,7 +2313,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2332,7 +2332,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2351,7 +2351,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Authority is not null) yield return new KeyValuePair("authority",Authority); @@ -2589,7 +2589,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2620,7 +2620,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2651,7 +2651,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubstanceDefinition is not null) yield return new KeyValuePair("substanceDefinition",SubstanceDefinition); @@ -2834,7 +2834,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2859,7 +2859,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2884,7 +2884,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3454,7 +3454,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3536,7 +3536,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3618,7 +3618,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs index eaa733418..35d3a54ae 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -360,7 +360,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -394,7 +394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubunitElement is not null) yield return new KeyValuePair("subunit",SubunitElement); @@ -605,7 +605,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -627,7 +627,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -649,7 +649,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ConnectivityElement is not null) yield return new KeyValuePair("connectivity",ConnectivityElement); @@ -820,7 +820,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -839,7 +839,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -858,7 +858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1052,7 +1052,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1077,7 +1077,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1102,7 +1102,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceType is not null) yield return new KeyValuePair("sequenceType",SequenceType); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs index 015d398d4..fb532f4af 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs @@ -163,7 +163,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -179,7 +179,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -195,7 +195,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RatioType is not null) yield return new KeyValuePair("ratioType",RatioType); @@ -364,7 +364,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -408,7 +408,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -562,7 +562,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -581,7 +581,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -600,7 +600,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AverageMolecularFormulaElement is not null) yield return new KeyValuePair("averageMolecularFormula",AverageMolecularFormulaElement); @@ -808,7 +808,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -833,7 +833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -858,7 +858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UnitElement is not null) yield return new KeyValuePair("unit",UnitElement); @@ -1066,7 +1066,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1088,7 +1088,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1110,7 +1110,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1281,7 +1281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1303,7 +1303,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1325,7 +1325,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1542,7 +1542,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1573,7 +1573,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1604,7 +1604,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs index f53b6b252..3eb74c498 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs @@ -360,7 +360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -394,7 +394,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -428,7 +428,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SubunitElement is not null) yield return new KeyValuePair("subunit",SubunitElement); @@ -610,7 +610,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -632,7 +632,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceType is not null) yield return new KeyValuePair("sequenceType",SequenceType); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs index ae7662f21..82168f732 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs @@ -183,7 +183,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -202,7 +202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -221,7 +221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (GeneSequenceOrigin is not null) yield return new KeyValuePair("geneSequenceOrigin",GeneSequenceOrigin); @@ -358,7 +358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -377,7 +377,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -396,7 +396,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -625,7 +625,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -659,7 +659,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -693,7 +693,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -858,7 +858,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -880,7 +880,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -902,7 +902,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs index c27876c8f..2aa97dd94 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs @@ -180,7 +180,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -196,7 +196,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -212,7 +212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FractionElement is not null) yield return new KeyValuePair("fraction",FractionElement); @@ -454,7 +454,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -488,7 +488,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -522,7 +522,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Family is not null) yield return new KeyValuePair("family",Family); @@ -661,7 +661,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -677,7 +677,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -693,7 +693,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AuthorType is not null) yield return new KeyValuePair("authorType",AuthorType); @@ -934,7 +934,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -959,7 +959,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -984,7 +984,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MaternalOrganismIdElement is not null) yield return new KeyValuePair("maternalOrganismId",MaternalOrganismIdElement); @@ -1138,7 +1138,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1160,7 +1160,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Kingdom is not null) yield return new KeyValuePair("kingdom",Kingdom); @@ -1299,7 +1299,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1315,7 +1315,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1331,7 +1331,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Part is not null) yield return new KeyValuePair("part",Part); @@ -1691,7 +1691,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1740,7 +1740,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1789,7 +1789,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceMaterialClass is not null) yield return new KeyValuePair("sourceMaterialClass",SourceMaterialClass); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs index 9d1e94924..986d4f9c5 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs @@ -234,7 +234,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -250,7 +250,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -266,7 +266,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -572,7 +572,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -615,7 +615,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -658,7 +658,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs index 50a5ca573..e9826bdf6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -693,7 +693,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -751,7 +751,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -809,7 +809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Task.cs b/src/Hl7.Fhir.R5/Model/Generated/Task.cs index 4f86e3763..e7fb3732e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Task.cs @@ -315,7 +315,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -331,7 +331,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -347,7 +347,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Function is not null) yield return new KeyValuePair("function",Function); @@ -505,7 +505,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -524,7 +524,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -543,7 +543,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RepetitionsElement is not null) yield return new KeyValuePair("repetitions",RepetitionsElement); @@ -667,7 +667,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -683,7 +683,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -822,7 +822,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -838,7 +838,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -854,7 +854,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1722,7 +1722,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1831,7 +1831,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1940,7 +1940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs index 964e3264e..b4c7abe11 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs @@ -233,7 +233,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -249,7 +249,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -265,7 +265,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -420,7 +420,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -436,7 +436,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -452,7 +452,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -665,7 +665,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -687,7 +687,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -709,7 +709,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UriElement is not null) yield return new KeyValuePair("uri",UriElement); @@ -997,7 +997,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1025,7 +1025,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1053,7 +1053,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1210,7 +1210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1226,7 +1226,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1242,7 +1242,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1484,7 +1484,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1509,7 +1509,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1534,7 +1534,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (HierarchicalElement is not null) yield return new KeyValuePair("hierarchical",HierarchicalElement); @@ -1689,7 +1689,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1705,7 +1705,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1721,7 +1721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1837,7 +1837,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1850,7 +1850,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1863,7 +1863,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationsElement is not null) yield return new KeyValuePair("translations",TranslationsElement); @@ -1978,7 +1978,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1991,7 +1991,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2004,7 +2004,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NeedsMapElement is not null) yield return new KeyValuePair("needsMap",NeedsMapElement); @@ -2121,7 +2121,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2134,7 +2134,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2147,7 +2147,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TranslationElement is not null) yield return new KeyValuePair("translation",TranslationElement); @@ -2987,7 +2987,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3078,7 +3078,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3169,7 +3169,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs b/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs index e2a5a2565..493ecabd4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs @@ -186,7 +186,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -202,7 +202,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -218,7 +218,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -431,7 +431,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -459,7 +459,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -487,7 +487,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -627,7 +627,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -643,7 +643,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -659,7 +659,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -792,7 +792,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -808,7 +808,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -824,7 +824,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NarrativeElement is not null) yield return new KeyValuePair("narrative",NarrativeElement); @@ -941,7 +941,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -957,7 +957,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -973,7 +973,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -1109,7 +1109,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1128,7 +1128,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1147,7 +1147,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1287,7 +1287,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1306,7 +1306,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1325,7 +1325,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -2075,7 +2075,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2154,7 +2154,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2233,7 +2233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs index b0490e5dc..2c298c7a2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs @@ -377,7 +377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -415,7 +415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -540,7 +540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -658,7 +658,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -674,7 +674,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -690,7 +690,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -883,7 +883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -902,7 +902,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -921,7 +921,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1134,7 +1134,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1156,7 +1156,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1178,7 +1178,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1283,7 +1283,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1296,7 +1296,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1309,7 +1309,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link is not null) yield return new KeyValuePair("link",Link); @@ -1478,7 +1478,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1497,7 +1497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1516,7 +1516,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1636,7 +1636,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1652,7 +1652,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1668,7 +1668,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -1769,7 +1769,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1782,7 +1782,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1795,7 +1795,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -1896,7 +1896,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1909,7 +1909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1922,7 +1922,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2340,7 +2340,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2386,7 +2386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2432,7 +2432,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs index d67360c27..aa61b2306 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs @@ -690,7 +690,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -709,7 +709,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -728,7 +728,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -905,7 +905,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -924,7 +924,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -943,7 +943,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -1064,7 +1064,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1080,7 +1080,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1096,7 +1096,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link?.Any() == true) yield return new KeyValuePair("link",Link); @@ -1251,7 +1251,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1267,7 +1267,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1283,7 +1283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -1623,7 +1623,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1654,7 +1654,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1685,7 +1685,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequiredElement is not null) yield return new KeyValuePair("required",RequiredElement); @@ -1847,7 +1847,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1866,7 +1866,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1885,7 +1885,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ArtifactElement is not null) yield return new KeyValuePair("artifact",ArtifactElement); @@ -2062,7 +2062,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2081,7 +2081,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2100,7 +2100,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AutocreateElement is not null) yield return new KeyValuePair("autocreate",AutocreateElement); @@ -2473,7 +2473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2507,7 +2507,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2541,7 +2541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2645,7 +2645,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2658,7 +2658,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2671,7 +2671,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -2789,7 +2789,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2805,7 +2805,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2821,7 +2821,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -3487,7 +3487,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3548,7 +3548,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3609,7 +3609,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -3781,7 +3781,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3797,7 +3797,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3813,7 +3813,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FieldElement is not null) yield return new KeyValuePair("field",FieldElement); @@ -4793,7 +4793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4878,7 +4878,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4963,7 +4963,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -5089,7 +5089,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5102,7 +5102,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5115,7 +5115,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link is not null) yield return new KeyValuePair("link",Link); @@ -5284,7 +5284,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5303,7 +5303,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5322,7 +5322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -5442,7 +5442,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5458,7 +5458,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5474,7 +5474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -5575,7 +5575,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5588,7 +5588,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5601,7 +5601,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -5702,7 +5702,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5715,7 +5715,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5728,7 +5728,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -6533,7 +6533,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6624,7 +6624,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6715,7 +6715,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Timing.cs b/src/Hl7.Fhir.R5/Model/Generated/Timing.cs index 46cafff92..ffc32612f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Timing.cs @@ -893,7 +893,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -948,7 +948,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Bounds is not null) yield return new KeyValuePair("bounds",Bounds); @@ -1156,7 +1156,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1175,7 +1175,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1194,7 +1194,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventElement?.Any() == true) yield return new KeyValuePair("event",EventElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/Transport.cs b/src/Hl7.Fhir.R5/Model/Generated/Transport.cs index ee6113df0..247db4d16 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Transport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Transport.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -336,7 +336,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -355,7 +355,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RepetitionsElement is not null) yield return new KeyValuePair("repetitions",RepetitionsElement); @@ -479,7 +479,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -495,7 +495,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -511,7 +511,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -634,7 +634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -650,7 +650,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -666,7 +666,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1520,7 +1520,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1626,7 +1626,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1732,7 +1732,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs index cf2b696f2..2dc5ae2f0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs @@ -362,7 +362,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -393,7 +393,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -424,7 +424,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs index bc3dffba6..a2d36e23c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs @@ -332,7 +332,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -363,7 +363,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -394,7 +394,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -681,7 +681,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -715,7 +715,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -749,7 +749,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Who is not null) yield return new KeyValuePair("who",Who); @@ -909,7 +909,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -928,7 +928,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -947,7 +947,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Organization is not null) yield return new KeyValuePair("organization",Organization); @@ -1370,7 +1370,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1422,7 +1422,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1474,7 +1474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs b/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs index 5debd6acc..8f6b1860e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -286,7 +286,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -311,7 +311,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ChannelType is not null) yield return new KeyValuePair("channelType",ChannelType); diff --git a/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs index d97523ed9..8a972006c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs @@ -627,7 +627,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -679,7 +679,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -901,7 +901,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -917,7 +917,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -933,7 +933,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AmountElement is not null) yield return new KeyValuePair("amount",AmountElement); @@ -1214,7 +1214,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1248,7 +1248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1282,7 +1282,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Account.cs b/src/Hl7.Fhir.STU3/Model/Generated/Account.cs index 4832c9169..39f707f39 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Account.cs @@ -219,7 +219,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -235,7 +235,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -251,7 +251,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -427,7 +427,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Party is not null) yield return new KeyValuePair("party",Party); @@ -795,7 +795,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -841,7 +841,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -887,7 +887,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs index 3a13d19e8..31ceaff3f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs @@ -190,7 +190,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -206,7 +206,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -222,7 +222,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -448,7 +448,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -470,7 +470,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -492,7 +492,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1477,7 +1477,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1589,7 +1589,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1701,7 +1701,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Address.cs b/src/Hl7.Fhir.STU3/Model/Generated/Address.cs index 8f8382bd8..d19920fe1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Address.cs @@ -526,7 +526,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -566,7 +566,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -606,7 +606,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs index 64674076e..01f56b611 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs @@ -394,7 +394,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -425,7 +425,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -456,7 +456,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Instance is not null) yield return new KeyValuePair("instance",Instance); @@ -899,7 +899,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -957,7 +957,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1015,7 +1015,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs index a06d42867..6f278dc1a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs @@ -494,7 +494,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -556,7 +556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Substance is not null) yield return new KeyValuePair("substance",Substance); @@ -1050,7 +1050,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1105,7 +1105,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1160,7 +1160,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs b/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs index 58a350cf6..975fc0ec9 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs @@ -211,7 +211,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -230,7 +230,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -249,7 +249,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Author is not null) yield return new KeyValuePair("author",Author); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs b/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs index 578aa01bc..1886a3157 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs @@ -332,7 +332,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -354,7 +354,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -376,7 +376,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -976,7 +976,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1046,7 +1046,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1116,7 +1116,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs index e3b204307..0ad577503 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs @@ -342,7 +342,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -410,7 +410,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs index c7e76a002..c0dc62b3a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs @@ -530,7 +530,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -573,7 +573,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -616,7 +616,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role?.Any() == true) yield return new KeyValuePair("role",Role); @@ -781,7 +781,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -797,7 +797,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -813,7 +813,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AddressElement is not null) yield return new KeyValuePair("address",AddressElement); @@ -971,7 +971,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -990,7 +990,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1009,7 +1009,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SiteElement is not null) yield return new KeyValuePair("site",SiteElement); @@ -1335,7 +1335,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1375,7 +1375,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1415,7 +1415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1579,7 +1579,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1595,7 +1595,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1611,7 +1611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1943,7 +1943,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1983,7 +1983,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2023,7 +2023,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs b/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs index 5db6a2a89..8670fc289 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs @@ -233,7 +233,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs b/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs index 2ed5c5c68..e6ce1480c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs @@ -288,7 +288,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -319,7 +319,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -350,7 +350,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs index eabadf258..3a5a54362 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs @@ -597,7 +597,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -616,7 +616,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -635,7 +635,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -793,7 +793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -809,7 +809,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -825,7 +825,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1114,7 +1114,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1148,7 +1148,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -1381,7 +1381,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1403,7 +1403,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1425,7 +1425,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CorsElement is not null) yield return new KeyValuePair("cors",CorsElement); @@ -1579,7 +1579,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1595,7 +1595,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1611,7 +1611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2198,7 +2198,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2253,7 +2253,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2308,7 +2308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2478,7 +2478,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2494,7 +2494,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2510,7 +2510,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2740,7 +2740,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2762,7 +2762,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2784,7 +2784,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2943,7 +2943,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2959,7 +2959,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2975,7 +2975,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -3115,7 +3115,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3131,7 +3131,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3147,7 +3147,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3359,7 +3359,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3384,7 +3384,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3409,7 +3409,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Endpoint?.Any() == true) yield return new KeyValuePair("endpoint",Endpoint); @@ -3551,7 +3551,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3567,7 +3567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3583,7 +3583,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Protocol is not null) yield return new KeyValuePair("protocol",Protocol); @@ -3726,7 +3726,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3742,7 +3742,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3758,7 +3758,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -4055,7 +4055,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4086,7 +4086,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4117,7 +4117,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -4300,7 +4300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4319,7 +4319,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4338,7 +4338,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -5242,7 +5242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5333,7 +5333,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5424,7 +5424,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs index 31ebd7642..c5791f522 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs @@ -368,7 +368,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -393,7 +393,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -418,7 +418,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (OutcomeCodeableConcept?.Any() == true) yield return new KeyValuePair("outcomeCodeableConcept",OutcomeCodeableConcept); @@ -889,7 +889,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -947,7 +947,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1005,7 +1005,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -1562,7 +1562,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1632,7 +1632,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1702,7 +1702,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs index 89c50968d..a1f634cd2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs @@ -249,7 +249,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -271,7 +271,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -293,7 +293,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -634,7 +634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -680,7 +680,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -726,7 +726,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs index 3f7ac8818..d0d4eb10f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs @@ -224,7 +224,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -240,7 +240,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -256,7 +256,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -865,7 +865,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -944,7 +944,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1023,7 +1023,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs b/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs index ed9e8c96a..c3994007c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -242,7 +242,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -261,7 +261,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -403,7 +403,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -422,7 +422,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -441,7 +441,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -656,7 +656,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -681,7 +681,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -706,7 +706,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -927,7 +927,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -955,7 +955,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -983,7 +983,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1168,7 +1168,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1190,7 +1190,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1212,7 +1212,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1392,7 +1392,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1411,7 +1411,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1430,7 +1430,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1701,7 +1701,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1729,7 +1729,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1757,7 +1757,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1924,7 +1924,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1943,7 +1943,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1962,7 +1962,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2559,7 +2559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2632,7 +2632,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2705,7 +2705,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3070,7 +3070,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3116,7 +3116,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3162,7 +3162,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3499,7 +3499,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3542,7 +3542,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3585,7 +3585,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4291,7 +4291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4391,7 +4391,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4491,7 +4491,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs index d27c7a904..75bf17d37 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs @@ -244,7 +244,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -266,7 +266,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -288,7 +288,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement is not null) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -465,7 +465,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -487,7 +487,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -509,7 +509,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -705,7 +705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -727,7 +727,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -749,7 +749,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement is not null) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -926,7 +926,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -945,7 +945,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -964,7 +964,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement is not null) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -1254,7 +1254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1291,7 +1291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1328,7 +1328,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement?.Any() == true) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -1568,7 +1568,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1599,7 +1599,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1630,7 +1630,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Revenue is not null) yield return new KeyValuePair("revenue",Revenue); @@ -1845,7 +1845,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1867,7 +1867,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1889,7 +1889,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement is not null) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -2101,7 +2101,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2129,7 +2129,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2157,7 +2157,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -2353,7 +2353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2375,7 +2375,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2397,7 +2397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -2669,7 +2669,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2697,7 +2697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2725,7 +2725,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3290,7 +3290,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3369,7 +3369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3448,7 +3448,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs index d01a2e0c2..1bd810306 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs @@ -201,7 +201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -217,7 +217,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -233,7 +233,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -390,7 +390,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -406,7 +406,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -937,7 +937,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1004,7 +1004,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1071,7 +1071,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs b/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs index dd1824370..efbef01c2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs @@ -395,7 +395,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -417,7 +417,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -439,7 +439,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -671,7 +671,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -693,7 +693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -715,7 +715,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -966,7 +966,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -994,7 +994,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1022,7 +1022,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1201,7 +1201,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1220,7 +1220,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1239,7 +1239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -1380,7 +1380,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1396,7 +1396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1412,7 +1412,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -2269,7 +2269,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2354,7 +2354,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2439,7 +2439,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs b/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs index 7adb3980b..933e659d5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -716,7 +716,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -786,7 +786,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -856,7 +856,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs index 840b5ec97..82e5d87c7 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -302,7 +302,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -318,7 +318,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -334,7 +334,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -853,7 +853,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -923,7 +923,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -993,7 +993,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs index c591b78a2..2041c9139 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -832,7 +832,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -887,7 +887,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -942,7 +942,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs b/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs index c99b4deb6..881c11b1b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs @@ -326,7 +326,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -364,7 +364,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement?.Any() == true) yield return new KeyValuePair("mode",ModeElement); @@ -509,7 +509,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -683,7 +683,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -702,7 +702,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -721,7 +721,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -993,7 +993,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1027,7 +1027,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1061,7 +1061,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TitleElement is not null) yield return new KeyValuePair("title",TitleElement); @@ -1501,7 +1501,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1556,7 +1556,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1611,7 +1611,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs index e5ac9484a..18cbfcf66 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs @@ -411,7 +411,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -467,7 +467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -645,7 +645,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -664,7 +664,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -683,7 +683,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -951,7 +951,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -979,7 +979,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1007,7 +1007,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1239,7 +1239,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1261,7 +1261,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1283,7 +1283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PropertyElement is not null) yield return new KeyValuePair("property",PropertyElement); @@ -1515,7 +1515,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1537,7 +1537,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1559,7 +1559,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ModeElement is not null) yield return new KeyValuePair("mode",ModeElement); @@ -2165,7 +2165,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2229,7 +2229,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2293,7 +2293,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs b/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs index 28b4997bd..d92a064a5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs @@ -258,7 +258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -274,7 +274,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -290,7 +290,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Summary is not null) yield return new KeyValuePair("summary",Summary); @@ -414,7 +414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -430,7 +430,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code?.Any() == true) yield return new KeyValuePair("code",Code); @@ -880,7 +880,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -938,7 +938,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -996,7 +996,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs b/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs index 027f4a011..805209492 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs @@ -276,7 +276,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -292,7 +292,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -308,7 +308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -462,7 +462,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -478,7 +478,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -494,7 +494,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AuthorityElement is not null) yield return new KeyValuePair("authority",AuthorityElement); @@ -636,7 +636,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -652,7 +652,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -668,7 +668,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -963,7 +963,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1003,7 +1003,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1174,7 +1174,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1190,7 +1190,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1206,7 +1206,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -1348,7 +1348,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1364,7 +1364,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1380,7 +1380,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MeaningElement is not null) yield return new KeyValuePair("meaning",MeaningElement); @@ -1853,7 +1853,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1917,7 +1917,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1981,7 +1981,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs b/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs index a5f677314..7cfda6d20 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs @@ -275,7 +275,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -291,7 +291,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -307,7 +307,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor is not null) yield return new KeyValuePair("actor",Actor); @@ -451,7 +451,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -470,7 +470,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -489,7 +489,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -770,7 +770,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -804,7 +804,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -838,7 +838,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -1210,7 +1210,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1259,7 +1259,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1308,7 +1308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1444,7 +1444,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1460,7 +1460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1476,7 +1476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor is not null) yield return new KeyValuePair("actor",Actor); @@ -1759,7 +1759,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1793,7 +1793,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1827,7 +1827,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -1937,7 +1937,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1950,7 +1950,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1963,7 +1963,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -2066,7 +2066,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2079,7 +2079,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2092,7 +2092,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -2195,7 +2195,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2208,7 +2208,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2221,7 +2221,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Content is not null) yield return new KeyValuePair("content",Content); @@ -2773,7 +2773,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2852,7 +2852,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2931,7 +2931,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs b/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs index d7f7fc609..befc1709c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -283,7 +283,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs index 5fb168cc7..3f00d9d1c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs @@ -564,7 +564,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -610,7 +610,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -656,7 +656,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (GroupElement is not null) yield return new KeyValuePair("group",GroupElement); @@ -1147,7 +1147,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1205,7 +1205,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1263,7 +1263,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs index fb3ba46c5..6f3af33ff 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs @@ -324,7 +324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -346,7 +346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -368,7 +368,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentityElement is not null) yield return new KeyValuePair("identity",IdentityElement); @@ -918,7 +918,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -976,7 +976,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1034,7 +1034,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs index bc5588b83..f4942a0e4 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs @@ -265,7 +265,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -290,7 +290,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -315,7 +315,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -457,7 +457,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -473,7 +473,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -489,7 +489,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -706,7 +706,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -731,7 +731,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -756,7 +756,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs index 9565c5185..d92773e80 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs @@ -236,7 +236,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -255,7 +255,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -645,7 +645,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -688,7 +688,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -731,7 +731,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Device.cs b/src/Hl7.Fhir.STU3/Model/Generated/Device.cs index 5580aaa18..a97ea63fe 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Device.cs @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -498,7 +498,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -529,7 +529,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DeviceIdentifierElement is not null) yield return new KeyValuePair("deviceIdentifier",DeviceIdentifierElement); @@ -1066,7 +1066,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1127,7 +1127,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1188,7 +1188,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs index d68d61992..6589326ee 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs @@ -282,7 +282,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -301,7 +301,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -320,7 +320,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SpecType is not null) yield return new KeyValuePair("specType",SpecType); @@ -619,7 +619,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -659,7 +659,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs index 5fc6135d8..81c26d7a8 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -474,7 +474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -793,7 +793,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -833,7 +833,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -873,7 +873,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs index 63893be52..6df5965a2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs @@ -173,7 +173,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -189,7 +189,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -205,7 +205,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -748,7 +748,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -821,7 +821,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -894,7 +894,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs index 43e077316..fd2427b55 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs @@ -415,7 +415,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -458,7 +458,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -501,7 +501,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs index 1d6a6d1ed..5db1d82c9 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs @@ -243,7 +243,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -259,7 +259,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -275,7 +275,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -414,7 +414,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -430,7 +430,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CommentElement is not null) yield return new KeyValuePair("comment",CommentElement); @@ -904,7 +904,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -965,7 +965,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1026,7 +1026,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs index 3ff6f9ff2..4c3a6106d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs @@ -154,7 +154,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -167,7 +167,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -180,7 +180,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (P is not null) yield return new KeyValuePair("p",P); @@ -300,7 +300,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -316,7 +316,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -332,7 +332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -703,7 +703,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -749,7 +749,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -795,7 +795,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs index 12a01d891..0fa77639b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs @@ -193,7 +193,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -209,7 +209,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -225,7 +225,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -345,7 +345,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -361,7 +361,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -377,7 +377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Attachment is not null) yield return new KeyValuePair("attachment",Attachment); @@ -595,7 +595,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -626,7 +626,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -657,7 +657,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Encounter is not null) yield return new KeyValuePair("encounter",Encounter); @@ -783,7 +783,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -799,7 +799,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -815,7 +815,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1302,7 +1302,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1363,7 +1363,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1424,7 +1424,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (MasterIdentifier is not null) yield return new KeyValuePair("masterIdentifier",MasterIdentifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs index d6f1082db..c470295e9 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs @@ -434,7 +434,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -486,7 +486,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -538,7 +538,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs index 5d3fdcc19..eb803b6f4 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs @@ -449,7 +449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -471,7 +471,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -493,7 +493,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Discriminator?.Any() == true) yield return new KeyValuePair("discriminator",Discriminator); @@ -654,7 +654,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -670,7 +670,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -686,7 +686,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -880,7 +880,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -899,7 +899,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -918,7 +918,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -1189,7 +1189,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1214,7 +1214,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1239,7 +1239,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1383,7 +1383,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1399,7 +1399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1415,7 +1415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -1759,7 +1759,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1790,7 +1790,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1821,7 +1821,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KeyElement is not null) yield return new KeyValuePair("key",KeyElement); @@ -2007,7 +2007,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2026,7 +2026,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2045,7 +2045,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -2278,7 +2278,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2300,7 +2300,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2322,7 +2322,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentityElement is not null) yield return new KeyValuePair("identity",IdentityElement); @@ -3330,7 +3330,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3436,7 +3436,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3542,7 +3542,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs index 307fb0c02..d8abb5050 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs @@ -464,7 +464,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -519,7 +519,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -574,7 +574,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs index 7d1eca272..939e8d011 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs @@ -191,7 +191,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -535,7 +535,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -572,7 +572,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -609,7 +609,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -758,7 +758,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -777,7 +777,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -796,7 +796,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -899,7 +899,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -925,7 +925,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1313,7 +1313,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1362,7 +1362,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1411,7 +1411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs b/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs index b64c7a3ae..a0b7c64ad 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs @@ -291,7 +291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -307,7 +307,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -323,7 +323,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -445,7 +445,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -461,7 +461,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -477,7 +477,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Class is not null) yield return new KeyValuePair("class",Class); @@ -617,7 +617,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -636,7 +636,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -655,7 +655,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -811,7 +811,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -830,7 +830,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -849,7 +849,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -1108,7 +1108,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1145,7 +1145,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1182,7 +1182,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PreAdmissionIdentifier is not null) yield return new KeyValuePair("preAdmissionIdentifier",PreAdmissionIdentifier); @@ -1349,7 +1349,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1368,7 +1368,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1387,7 +1387,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Location is not null) yield return new KeyValuePair("location",Location); @@ -1884,7 +1884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1957,7 +1957,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2030,7 +2030,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs index 50813b901..d6456ad6c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs @@ -467,7 +467,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -510,7 +510,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -553,7 +553,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs index 9adb299b3..0deb5235f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs @@ -311,7 +311,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -345,7 +345,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs index a32569060..66f2feb24 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs @@ -346,7 +346,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -383,7 +383,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -420,7 +420,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs index 73b3836fc..3621ecf6c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs @@ -242,7 +242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -258,7 +258,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); @@ -429,7 +429,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -448,7 +448,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -467,7 +467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Condition is not null) yield return new KeyValuePair("condition",Condition); @@ -794,7 +794,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -840,7 +840,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -886,7 +886,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs b/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs index 47cf7b195..56afcc800 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs @@ -273,7 +273,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -292,7 +292,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -311,7 +311,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -468,7 +468,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -484,7 +484,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -500,7 +500,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -618,7 +618,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -634,7 +634,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -650,7 +650,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Include is not null) yield return new KeyValuePair("include",Include); @@ -748,7 +748,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -761,7 +761,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -774,7 +774,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Designation?.Any() == true) yield return new KeyValuePair("designation",Designation); @@ -912,7 +912,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -928,7 +928,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -944,7 +944,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -1042,7 +1042,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1055,7 +1055,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1068,7 +1068,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Designation?.Any() == true) yield return new KeyValuePair("designation",Designation); @@ -1206,7 +1206,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1222,7 +1222,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1238,7 +1238,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -2017,7 +2017,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2096,7 +2096,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2175,7 +2175,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs index 97e5d27d0..4cc24a202 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs @@ -380,7 +380,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -399,7 +399,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -418,7 +418,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Claim is not null) yield return new KeyValuePair("claim",Claim); @@ -559,7 +559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -578,7 +578,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -597,7 +597,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -816,7 +816,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -844,7 +844,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -872,7 +872,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1090,7 +1090,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1115,7 +1115,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1140,7 +1140,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1324,7 +1324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1346,7 +1346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1368,7 +1368,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1548,7 +1548,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1567,7 +1567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1586,7 +1586,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -1726,7 +1726,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1742,7 +1742,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1758,7 +1758,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Coverage is not null) yield return new KeyValuePair("coverage",Coverage); @@ -1916,7 +1916,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1935,7 +1935,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1954,7 +1954,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -2607,7 +2607,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2686,7 +2686,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2765,7 +2765,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -2961,7 +2961,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2983,7 +2983,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3005,7 +3005,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -3429,7 +3429,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3484,7 +3484,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3539,7 +3539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -3955,7 +3955,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4007,7 +4007,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4059,7 +4059,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceElement is not null) yield return new KeyValuePair("sequence",SequenceElement); @@ -4360,7 +4360,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4397,7 +4397,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4434,7 +4434,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement?.Any() == true) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -4674,7 +4674,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4705,7 +4705,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4736,7 +4736,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Revenue is not null) yield return new KeyValuePair("revenue",Revenue); @@ -4951,7 +4951,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4979,7 +4979,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5007,7 +5007,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -5203,7 +5203,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5225,7 +5225,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5247,7 +5247,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NumberElement is not null) yield return new KeyValuePair("number",NumberElement); @@ -5551,7 +5551,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5588,7 +5588,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5625,7 +5625,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -5774,7 +5774,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5793,7 +5793,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5812,7 +5812,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -6694,7 +6694,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6821,7 +6821,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6948,7 +6948,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs index 67190ae96..69817cafa 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs @@ -245,7 +245,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -267,7 +267,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -289,7 +289,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -819,7 +819,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -883,7 +883,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -947,7 +947,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs b/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs index fb775872b..4e798677e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs @@ -322,7 +322,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -356,7 +356,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -390,7 +390,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs b/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs index 32e51f61e..80b8b993c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -300,7 +300,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -319,7 +319,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -737,7 +737,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -792,7 +792,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -847,7 +847,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs index 7de3466d9..22f35eeff 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs @@ -363,7 +363,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -391,7 +391,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -419,7 +419,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PathElement is not null) yield return new KeyValuePair("path",PathElement); @@ -615,7 +615,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -637,7 +637,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -659,7 +659,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -890,7 +890,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -934,7 +934,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -1482,7 +1482,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1537,7 +1537,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1592,7 +1592,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Group.cs b/src/Hl7.Fhir.STU3/Model/Generated/Group.cs index 25861612d..4e501c5da 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Group.cs @@ -276,7 +276,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -298,7 +298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -320,7 +320,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -479,7 +479,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -498,7 +498,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -517,7 +517,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Entity is not null) yield return new KeyValuePair("entity",Entity); @@ -846,7 +846,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -883,7 +883,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -920,7 +920,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs index 528e51fd0..a015318ca 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs @@ -494,7 +494,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -546,7 +546,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -598,7 +598,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequestIdElement is not null) yield return new KeyValuePair("requestId",RequestIdElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs index c8633add8..d7c4786bf 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs @@ -277,7 +277,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -299,7 +299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -321,7 +321,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -460,7 +460,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -476,7 +476,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -492,7 +492,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -1164,7 +1164,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1246,7 +1246,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1328,7 +1328,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs b/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs index de4e8f858..1bde0afd1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs @@ -408,7 +408,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -439,7 +439,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -470,7 +470,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UseElement is not null) yield return new KeyValuePair("use",UseElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs index d618a4118..7358b6729 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs @@ -230,7 +230,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -252,7 +252,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -274,7 +274,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -436,7 +436,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -455,7 +455,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -474,7 +474,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -632,7 +632,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -648,7 +648,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -664,7 +664,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SopClassElement is not null) yield return new KeyValuePair("sopClass",SopClassElement); @@ -882,7 +882,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -910,7 +910,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -938,7 +938,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs index 945ad7232..f902b6556 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs @@ -504,7 +504,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -550,7 +550,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -596,7 +596,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -834,7 +834,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -856,7 +856,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -878,7 +878,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); @@ -1427,7 +1427,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1494,7 +1494,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1561,7 +1561,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UidElement is not null) yield return new KeyValuePair("uid",UidElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs b/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs index b2c606765..5eff55704 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs @@ -194,7 +194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -210,7 +210,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -226,7 +226,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -348,7 +348,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -364,7 +364,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -380,7 +380,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Reason?.Any() == true) yield return new KeyValuePair("reason",Reason); @@ -555,7 +555,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -574,7 +574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -593,7 +593,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -899,7 +899,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -933,7 +933,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -967,7 +967,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DoseSequenceElement is not null) yield return new KeyValuePair("doseSequence",DoseSequenceElement); @@ -1551,7 +1551,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1624,7 +1624,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1697,7 +1697,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs index ba644883c..f631603ea 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs @@ -339,7 +339,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -413,7 +413,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DateElement is not null) yield return new KeyValuePair("date",DateElement); @@ -559,7 +559,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -575,7 +575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -591,7 +591,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -801,7 +801,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -823,7 +823,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -845,7 +845,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DoseSequenceElement is not null) yield return new KeyValuePair("doseSequence",DoseSequenceElement); @@ -974,7 +974,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -993,7 +993,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1012,7 +1012,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs index 58aac8268..f0a708cd2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs @@ -288,7 +288,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -304,7 +304,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -320,7 +320,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -494,7 +494,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -513,7 +513,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -532,7 +532,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -802,7 +802,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -830,7 +830,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -858,7 +858,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ExampleElement is not null) yield return new KeyValuePair("example",ExampleElement); @@ -1005,7 +1005,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1021,7 +1021,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1037,7 +1037,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1365,7 +1365,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1396,7 +1396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1427,7 +1427,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SourceElement is not null) yield return new KeyValuePair("source",SourceElement); @@ -2033,7 +2033,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2097,7 +2097,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2161,7 +2161,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Library.cs b/src/Hl7.Fhir.STU3/Model/Generated/Library.cs index dd36aa991..b8c8b0114 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Library.cs @@ -855,7 +855,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -943,7 +943,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1031,7 +1031,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs index 50ba095ff..cb9abc280 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs @@ -218,7 +218,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -234,7 +234,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -250,7 +250,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -410,7 +410,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -429,7 +429,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActiveElement is not null) yield return new KeyValuePair("active",ActiveElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/List.cs b/src/Hl7.Fhir.STU3/Model/Generated/List.cs index 65af37d3b..66d58f595 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/List.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/List.cs @@ -273,7 +273,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -295,7 +295,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -317,7 +317,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Flag is not null) yield return new KeyValuePair("flag",Flag); @@ -711,7 +711,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -760,7 +760,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -809,7 +809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Location.cs b/src/Hl7.Fhir.STU3/Model/Generated/Location.cs index d73543d87..4a118ce39 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Location.cs @@ -292,7 +292,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -311,7 +311,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -330,7 +330,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LongitudeElement is not null) yield return new KeyValuePair("longitude",LongitudeElement); @@ -776,7 +776,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -831,7 +831,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -886,7 +886,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs b/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs index a8dea950b..e4d0c2025 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs @@ -261,7 +261,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -286,7 +286,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -311,7 +311,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -542,7 +542,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -567,7 +567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -592,7 +592,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -767,7 +767,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -786,7 +786,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -805,7 +805,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -999,7 +999,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1021,7 +1021,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1043,7 +1043,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -2215,7 +2215,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2336,7 +2336,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2457,7 +2457,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs index c0cef87fa..1a1867a6b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs @@ -281,7 +281,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -303,7 +303,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -325,7 +325,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -502,7 +502,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -524,7 +524,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -546,7 +546,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -667,7 +667,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -683,7 +683,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -699,7 +699,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -873,7 +873,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -892,7 +892,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -911,7 +911,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValueElement is not null) yield return new KeyValuePair("value",ValueElement); @@ -1087,7 +1087,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1109,7 +1109,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1131,7 +1131,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -1452,7 +1452,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1492,7 +1492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1532,7 +1532,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Media.cs b/src/Hl7.Fhir.STU3/Model/Generated/Media.cs index 6c2d90cce..fac66a29a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Media.cs @@ -581,7 +581,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -645,7 +645,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -709,7 +709,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs b/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs index 113ab1a24..ad5144958 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs @@ -237,7 +237,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -256,7 +256,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -275,7 +275,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -415,7 +415,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -434,7 +434,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -453,7 +453,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Container is not null) yield return new KeyValuePair("container",Container); @@ -576,7 +576,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -592,7 +592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -608,7 +608,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Item is not null) yield return new KeyValuePair("item",Item); @@ -762,7 +762,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -778,7 +778,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -794,7 +794,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LotNumberElement is not null) yield return new KeyValuePair("lotNumber",LotNumberElement); @@ -1084,7 +1084,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1121,7 +1121,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1158,7 +1158,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs index fae77cc61..52115c9aa 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs @@ -220,7 +220,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -236,7 +236,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -252,7 +252,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor is not null) yield return new KeyValuePair("actor",Actor); @@ -465,7 +465,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -493,7 +493,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -521,7 +521,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TextElement is not null) yield return new KeyValuePair("text",TextElement); @@ -1033,7 +1033,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1103,7 +1103,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1173,7 +1173,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs index 2fa3324a8..b2ca18dbf 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs @@ -221,7 +221,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -237,7 +237,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -253,7 +253,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Actor is not null) yield return new KeyValuePair("actor",Actor); @@ -432,7 +432,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -454,7 +454,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -476,7 +476,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (WasSubstitutedElement is not null) yield return new KeyValuePair("wasSubstituted",WasSubstitutedElement); @@ -1090,7 +1090,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1172,7 +1172,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1254,7 +1254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs index 72c4fd9b1..b4b91da9f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs @@ -299,7 +299,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -315,7 +315,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -331,7 +331,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -523,7 +523,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -548,7 +548,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -573,7 +573,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ValidityPeriod is not null) yield return new KeyValuePair("validityPeriod",ValidityPeriod); @@ -714,7 +714,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -730,7 +730,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -746,7 +746,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AllowedElement is not null) yield return new KeyValuePair("allowed",AllowedElement); @@ -1363,7 +1363,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1445,7 +1445,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1527,7 +1527,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs index c5727f5ca..c0c196ef7 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs @@ -627,7 +627,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -691,7 +691,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -755,7 +755,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs index 66cc81670..d93518d85 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs @@ -264,7 +264,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -286,7 +286,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -308,7 +308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -450,7 +450,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -466,7 +466,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -482,7 +482,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Message is not null) yield return new KeyValuePair("message",Message); @@ -1220,7 +1220,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1299,7 +1299,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1378,7 +1378,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs index 43ae423c7..bc2dd6c7e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs @@ -254,7 +254,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -273,7 +273,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -292,7 +292,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -538,7 +538,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -563,7 +563,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -588,7 +588,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -769,7 +769,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -788,7 +788,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -807,7 +807,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentifierElement is not null) yield return new KeyValuePair("identifier",IdentifierElement); @@ -1127,7 +1127,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1173,7 +1173,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1219,7 +1219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Event is not null) yield return new KeyValuePair("event",Event); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs index 398e271d2..f412f7b06 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -411,7 +411,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -892,7 +892,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -944,7 +944,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -996,7 +996,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs index e3d78db40..aed43586e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs @@ -330,7 +330,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -358,7 +358,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -386,7 +386,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type?.Any() == true) yield return new KeyValuePair("type",Type); @@ -509,7 +509,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -525,7 +525,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -541,7 +541,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -661,7 +661,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -677,7 +677,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -693,7 +693,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Modifier is not null) yield return new KeyValuePair("modifier",Modifier); @@ -903,7 +903,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -928,7 +928,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -953,7 +953,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1258,7 +1258,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1295,7 +1295,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1332,7 +1332,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (BaseFormulaType is not null) yield return new KeyValuePair("baseFormulaType",BaseFormulaType); @@ -1478,7 +1478,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1497,7 +1497,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1516,7 +1516,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Schedule is not null) yield return new KeyValuePair("schedule",Schedule); @@ -1856,7 +1856,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1902,7 +1902,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1948,7 +1948,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs b/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs index 185cd5186..fa2ad923a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs @@ -309,7 +309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -337,7 +337,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -365,7 +365,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Low is not null) yield return new KeyValuePair("low",Low); @@ -511,7 +511,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -543,7 +543,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -723,7 +723,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -748,7 +748,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -773,7 +773,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Code is not null) yield return new KeyValuePair("code",Code); @@ -1309,7 +1309,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1382,7 +1382,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1455,7 +1455,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs index 9db7c6b0f..6fc56aeed 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs @@ -474,7 +474,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -514,7 +514,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -554,7 +554,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -705,7 +705,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -721,7 +721,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -737,7 +737,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StrengthElement is not null) yield return new KeyValuePair("strength",StrengthElement); @@ -893,7 +893,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -909,7 +909,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -925,7 +925,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ParameterNameElement?.Any() == true) yield return new KeyValuePair("parameterName",ParameterNameElement); @@ -1733,7 +1733,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1812,7 +1812,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1891,7 +1891,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs b/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs index 6874f08bf..c6354d7e3 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs @@ -206,7 +206,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -228,7 +228,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -250,7 +250,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Purpose is not null) yield return new KeyValuePair("purpose",Purpose); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs index 0bfe79105..220a1eace 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs @@ -358,7 +358,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -389,7 +389,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -420,7 +420,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs b/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs index 9a4233879..1d48b0974 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs @@ -317,7 +317,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -348,7 +348,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -379,7 +379,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Relationship?.Any() == true) yield return new KeyValuePair("relationship",Relationship); @@ -525,7 +525,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -544,7 +544,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -563,7 +563,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Species is not null) yield return new KeyValuePair("species",Species); @@ -703,7 +703,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -719,7 +719,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -735,7 +735,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Language is not null) yield return new KeyValuePair("language",Language); @@ -879,7 +879,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -895,7 +895,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -911,7 +911,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Other is not null) yield return new KeyValuePair("other",Other); @@ -1359,7 +1359,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1420,7 +1420,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1481,7 +1481,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs index 0ad8e324e..d46f01dc0 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs @@ -366,7 +366,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -406,7 +406,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -446,7 +446,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs index 385f15c0f..4095f0942 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs @@ -286,7 +286,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -317,7 +317,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -348,7 +348,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -490,7 +490,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -506,7 +506,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -522,7 +522,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -911,7 +911,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -963,7 +963,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1015,7 +1015,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Person.cs b/src/Hl7.Fhir.STU3/Model/Generated/Person.cs index e14a782e5..29f72de3f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Person.cs @@ -223,7 +223,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -239,7 +239,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -255,7 +255,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target is not null) yield return new KeyValuePair("target",Target); @@ -566,7 +566,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -606,7 +606,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -646,7 +646,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs index 0fec26c65..540f98198 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs @@ -267,7 +267,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -298,7 +298,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -329,7 +329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Category is not null) yield return new KeyValuePair("category",Category); @@ -473,7 +473,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -492,7 +492,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -511,7 +511,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Measure is not null) yield return new KeyValuePair("measure",Measure); @@ -1253,7 +1253,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1338,7 +1338,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1423,7 +1423,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -1675,7 +1675,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1697,7 +1697,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1719,7 +1719,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1900,7 +1900,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1919,7 +1919,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1938,7 +1938,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -2079,7 +2079,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2095,7 +2095,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2111,7 +2111,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2337,7 +2337,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2359,7 +2359,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2381,7 +2381,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -3189,7 +3189,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3277,7 +3277,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3365,7 +3365,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs index 18ad5c4fe..23014e623 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs @@ -207,7 +207,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -229,7 +229,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -251,7 +251,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -565,7 +565,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -605,7 +605,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -645,7 +645,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs index d52cb205c..2d950da41 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs @@ -280,7 +280,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -302,7 +302,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -324,7 +324,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DaysOfWeekElement?.Any() == true) yield return new KeyValuePair("daysOfWeek",DaysOfWeekElement); @@ -463,7 +463,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -479,7 +479,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -495,7 +495,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -872,7 +872,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -924,7 +924,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -976,7 +976,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs b/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs index 315314178..16daa128e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs @@ -192,7 +192,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -211,7 +211,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -230,7 +230,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role is not null) yield return new KeyValuePair("role",Role); @@ -353,7 +353,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -385,7 +385,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action is not null) yield return new KeyValuePair("action",Action); @@ -1008,7 +1008,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1096,7 +1096,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1184,7 +1184,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs index df3a51bc5..980657cba 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs @@ -174,7 +174,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -190,7 +190,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -206,7 +206,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -884,7 +884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -972,7 +972,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1060,7 +1060,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs index a41fb5d82..f60c98e31 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs @@ -203,7 +203,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -216,7 +216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -229,7 +229,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SequenceLinkIdElement is not null) yield return new KeyValuePair("sequenceLinkId",SequenceLinkIdElement); @@ -710,7 +710,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -765,7 +765,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -820,7 +820,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs index 77d69bb48..9ef14b0df 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs @@ -187,7 +187,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -203,7 +203,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -219,7 +219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -594,7 +594,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -643,7 +643,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -692,7 +692,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs b/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs index 171abc6ff..741385b69 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs @@ -256,7 +256,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -278,7 +278,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -300,7 +300,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Role?.Any() == true) yield return new KeyValuePair("role",Role); @@ -464,7 +464,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -483,7 +483,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -502,7 +502,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RoleElement is not null) yield return new KeyValuePair("role",RoleElement); @@ -798,7 +798,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -838,7 +838,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -878,7 +878,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Target?.Any() == true) yield return new KeyValuePair("target",Target); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs index 3dfa393aa..90af878cc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs @@ -686,7 +686,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -741,7 +741,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -796,7 +796,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -988,7 +988,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1007,7 +1007,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1026,7 +1026,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (QuestionElement is not null) yield return new KeyValuePair("question",QuestionElement); @@ -1132,7 +1132,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1145,7 +1145,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1158,7 +1158,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -1869,7 +1869,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1942,7 +1942,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2015,7 +2015,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs index c49032f8c..5692cd751 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs @@ -341,7 +341,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -369,7 +369,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -397,7 +397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LinkIdElement is not null) yield return new KeyValuePair("linkId",LinkIdElement); @@ -525,7 +525,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -541,7 +541,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -557,7 +557,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -879,7 +879,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -922,7 +922,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -965,7 +965,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs b/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs index e8b7bfd61..5a5978694 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs @@ -152,7 +152,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -168,7 +168,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -184,7 +184,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Numerator is not null) yield return new KeyValuePair("numerator",Numerator); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs index 4148eddf4..89ca74ffd 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs @@ -173,7 +173,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -189,7 +189,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -205,7 +205,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -821,7 +821,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -900,7 +900,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -979,7 +979,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs b/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs index d7557c4c0..67bf204ef 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -389,7 +389,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -417,7 +417,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs index b31780143..df67d4d43 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs @@ -381,7 +381,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -424,7 +424,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -467,7 +467,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs index f792a40c2..74e586350 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs @@ -641,7 +641,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -705,7 +705,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -769,7 +769,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -1014,7 +1014,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1036,7 +1036,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1058,7 +1058,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (KindElement is not null) yield return new KeyValuePair("kind",KindElement); @@ -1238,7 +1238,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1257,7 +1257,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1276,7 +1276,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ActionIdElement is not null) yield return new KeyValuePair("actionId",ActionIdElement); @@ -1716,7 +1716,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1771,7 +1771,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1826,7 +1826,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs index 094d0bb2b..f791d6201 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs @@ -270,7 +270,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -289,7 +289,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -308,7 +308,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -823,7 +823,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -893,7 +893,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -963,7 +963,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs index 30ea90a59..92bbb0adf 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs @@ -374,7 +374,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -408,7 +408,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -442,7 +442,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs index 7aa7525aa..298c2be39 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs @@ -284,7 +284,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -312,7 +312,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -340,7 +340,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Outcome is not null) yield return new KeyValuePair("outcome",Outcome); @@ -779,7 +779,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -837,7 +837,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -895,7 +895,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs b/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs index 36aa65c91..b4032448c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs @@ -355,7 +355,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -386,7 +386,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -417,7 +417,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Origin is not null) yield return new KeyValuePair("origin",Origin); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs b/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs index 18dbdfc66..f71812d1d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs @@ -304,7 +304,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -338,7 +338,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -372,7 +372,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs index 1bee27244..beb376138 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs @@ -365,7 +365,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -381,7 +381,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -397,7 +397,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Definition is not null) yield return new KeyValuePair("definition",Definition); @@ -1285,7 +1285,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1367,7 +1367,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1449,7 +1449,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs b/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs index 54f11c338..5b6358895 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs @@ -440,7 +440,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -474,7 +474,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -508,7 +508,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Chromosome is not null) yield return new KeyValuePair("chromosome",Chromosome); @@ -796,7 +796,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -824,7 +824,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -852,7 +852,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StartElement is not null) yield return new KeyValuePair("start",StartElement); @@ -1393,7 +1393,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1445,7 +1445,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1497,7 +1497,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -1810,7 +1810,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1838,7 +1838,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1866,7 +1866,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -2297,7 +2297,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2352,7 +2352,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2407,7 +2407,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs index 0b06216d1..c44ebd7f4 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs @@ -836,7 +836,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -921,7 +921,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1006,7 +1006,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs b/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs index fd7d75e89..5a3d1ad0b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs @@ -458,7 +458,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -501,7 +501,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -544,7 +544,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs b/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs index 5cdfdec5f..dba431b8a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs @@ -262,7 +262,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -287,7 +287,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -312,7 +312,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Collector is not null) yield return new KeyValuePair("collector",Collector); @@ -493,7 +493,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -515,7 +515,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -537,7 +537,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (DescriptionElement is not null) yield return new KeyValuePair("description",DescriptionElement); @@ -753,7 +753,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -781,7 +781,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -809,7 +809,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); @@ -1149,7 +1149,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1195,7 +1195,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1241,7 +1241,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs index ad81b424f..60aadaa1b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs @@ -361,7 +361,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -383,7 +383,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -405,7 +405,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentityElement is not null) yield return new KeyValuePair("identity",IdentityElement); @@ -508,7 +508,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -521,7 +521,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -534,7 +534,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Element?.Any() == true) yield return new KeyValuePair("element",Element); @@ -634,7 +634,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -647,7 +647,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -660,7 +660,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Element?.Any() == true) yield return new KeyValuePair("element",Element); @@ -1616,7 +1616,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1710,7 +1710,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1804,7 +1804,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs index 448ea855f..fe16c2f9e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs @@ -570,7 +570,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -592,7 +592,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -614,7 +614,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -884,7 +884,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -912,7 +912,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -940,7 +940,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1175,7 +1175,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1197,7 +1197,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1219,7 +1219,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1449,7 +1449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1477,7 +1477,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1505,7 +1505,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1935,7 +1935,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1975,7 +1975,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2015,7 +2015,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2380,7 +2380,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2414,7 +2414,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2448,7 +2448,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ContextElement is not null) yield return new KeyValuePair("context",ContextElement); @@ -2554,7 +2554,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2567,7 +2567,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2580,7 +2580,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Value is not null) yield return new KeyValuePair("value",Value); @@ -2732,7 +2732,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2748,7 +2748,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2764,7 +2764,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -3385,7 +3385,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3449,7 +3449,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3513,7 +3513,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs b/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs index 8f57fabae..bbe9e76d2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs @@ -354,7 +354,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -376,7 +376,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -398,7 +398,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -709,7 +709,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -743,7 +743,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -777,7 +777,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (StatusElement is not null) yield return new KeyValuePair("status",StatusElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs b/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs index 11ee00031..854431e88 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs @@ -229,7 +229,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -248,7 +248,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -267,7 +267,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); @@ -391,7 +391,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -407,7 +407,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -423,7 +423,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -662,7 +662,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -693,7 +693,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -724,7 +724,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs index 1f28cc878..508bb7d1f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs @@ -228,7 +228,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -244,7 +244,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -260,7 +260,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -564,7 +564,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -607,7 +607,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -650,7 +650,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs index 7e9a41489..abd3fd0d2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs @@ -222,7 +222,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -238,7 +238,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -254,7 +254,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Quantity is not null) yield return new KeyValuePair("quantity",Quantity); @@ -377,7 +377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -393,7 +393,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -409,7 +409,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -765,7 +765,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -811,7 +811,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -857,7 +857,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Task.cs b/src/Hl7.Fhir.STU3/Model/Generated/Task.cs index 46c34603a..3fe5ce334 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Task.cs @@ -252,7 +252,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -268,7 +268,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -284,7 +284,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Agent is not null) yield return new KeyValuePair("agent",Agent); @@ -441,7 +441,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -460,7 +460,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -479,7 +479,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RepetitionsElement is not null) yield return new KeyValuePair("repetitions",RepetitionsElement); @@ -603,7 +603,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -619,7 +619,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -635,7 +635,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -758,7 +758,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -774,7 +774,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -790,7 +790,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -1490,7 +1490,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1581,7 +1581,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1672,7 +1672,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs index aa629b870..64005a0de 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs @@ -377,7 +377,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -396,7 +396,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -415,7 +415,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); @@ -514,7 +514,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -527,7 +527,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -540,7 +540,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -658,7 +658,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -674,7 +674,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -690,7 +690,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -883,7 +883,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -902,7 +902,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -921,7 +921,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1115,7 +1115,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1134,7 +1134,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1153,7 +1153,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (ResultElement is not null) yield return new KeyValuePair("result",ResultElement); @@ -1324,7 +1324,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1343,7 +1343,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1362,7 +1362,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -1482,7 +1482,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1498,7 +1498,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1514,7 +1514,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -1615,7 +1615,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1628,7 +1628,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1641,7 +1641,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -1742,7 +1742,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1755,7 +1755,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1768,7 +1768,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -2170,7 +2170,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2216,7 +2216,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2262,7 +2262,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier is not null) yield return new KeyValuePair("identifier",Identifier); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs b/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs index ae3a855c2..cb55ebb55 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs @@ -450,7 +450,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -466,7 +466,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -482,7 +482,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -622,7 +622,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -638,7 +638,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -654,7 +654,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IndexElement is not null) yield return new KeyValuePair("index",IndexElement); @@ -774,7 +774,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -790,7 +790,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -806,7 +806,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Link?.Any() == true) yield return new KeyValuePair("link",Link); @@ -961,7 +961,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -977,7 +977,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -993,7 +993,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); @@ -1315,7 +1315,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1346,7 +1346,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1377,7 +1377,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RequiredElement is not null) yield return new KeyValuePair("required",RequiredElement); @@ -1556,7 +1556,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1575,7 +1575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1594,7 +1594,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (AutocreateElement is not null) yield return new KeyValuePair("autocreate",AutocreateElement); @@ -1967,7 +1967,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2001,7 +2001,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2035,7 +2035,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2164,7 +2164,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2180,7 +2180,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2196,7 +2196,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Resource is not null) yield return new KeyValuePair("resource",Resource); @@ -2352,7 +2352,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2368,7 +2368,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2384,7 +2384,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2507,7 +2507,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2523,7 +2523,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2539,7 +2539,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Resource is not null) yield return new KeyValuePair("resource",Resource); @@ -2678,7 +2678,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2694,7 +2694,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2710,7 +2710,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RuleIdElement is not null) yield return new KeyValuePair("ruleId",RuleIdElement); @@ -2866,7 +2866,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2882,7 +2882,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2898,7 +2898,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2996,7 +2996,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3009,7 +3009,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3022,7 +3022,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -3140,7 +3140,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3156,7 +3156,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3172,7 +3172,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -3802,7 +3802,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -3860,7 +3860,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -3918,7 +3918,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Type is not null) yield return new KeyValuePair("type",Type); @@ -4089,7 +4089,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -4105,7 +4105,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -4121,7 +4121,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (FieldElement is not null) yield return new KeyValuePair("field",FieldElement); @@ -5044,7 +5044,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5126,7 +5126,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5208,7 +5208,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LabelElement is not null) yield return new KeyValuePair("label",LabelElement); @@ -5369,7 +5369,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5385,7 +5385,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5401,7 +5401,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RuleIdElement is not null) yield return new KeyValuePair("ruleId",RuleIdElement); @@ -5558,7 +5558,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5574,7 +5574,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5590,7 +5590,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -5729,7 +5729,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5745,7 +5745,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5761,7 +5761,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RulesetIdElement is not null) yield return new KeyValuePair("rulesetId",RulesetIdElement); @@ -5900,7 +5900,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -5916,7 +5916,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -5932,7 +5932,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (RuleIdElement is not null) yield return new KeyValuePair("ruleId",RuleIdElement); @@ -6089,7 +6089,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6105,7 +6105,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6121,7 +6121,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -6291,7 +6291,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6310,7 +6310,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6329,7 +6329,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -6449,7 +6449,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6465,7 +6465,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6481,7 +6481,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -6582,7 +6582,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6595,7 +6595,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6608,7 +6608,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Action?.Any() == true) yield return new KeyValuePair("action",Action); @@ -6709,7 +6709,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -6722,7 +6722,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -6735,7 +6735,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Operation is not null) yield return new KeyValuePair("operation",Operation); @@ -7487,7 +7487,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -7575,7 +7575,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -7663,7 +7663,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs b/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs index 1477b47a0..6c17a002c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs @@ -848,7 +848,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -903,7 +903,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -958,7 +958,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Bounds is not null) yield return new KeyValuePair("bounds",Bounds); @@ -1111,7 +1111,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1130,7 +1130,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1149,7 +1149,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (EventElement?.Any() == true) yield return new KeyValuePair("event",EventElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs index 9e5cd3592..b99d119b5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs @@ -282,7 +282,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -304,7 +304,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -326,7 +326,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (TypeElement is not null) yield return new KeyValuePair("type",TypeElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs b/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs index f716e3b47..c36482980 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs @@ -242,7 +242,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -264,7 +264,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -286,7 +286,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LockedDateElement is not null) yield return new KeyValuePair("lockedDate",LockedDateElement); @@ -517,7 +517,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -542,7 +542,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -567,7 +567,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -745,7 +745,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -764,7 +764,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -783,7 +783,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (CodeElement is not null) yield return new KeyValuePair("code",CodeElement); @@ -959,7 +959,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -978,7 +978,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -997,7 +997,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (LanguageElement is not null) yield return new KeyValuePair("language",LanguageElement); @@ -1194,7 +1194,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1213,7 +1213,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1232,7 +1232,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (PropertyElement is not null) yield return new KeyValuePair("property",PropertyElement); @@ -1500,7 +1500,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1528,7 +1528,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1556,7 +1556,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (IdentifierElement is not null) yield return new KeyValuePair("identifier",IdentifierElement); @@ -1700,7 +1700,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1716,7 +1716,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1732,7 +1732,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (NameElement is not null) yield return new KeyValuePair("name",NameElement); @@ -2068,7 +2068,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2102,7 +2102,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2136,7 +2136,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (SystemElement is not null) yield return new KeyValuePair("system",SystemElement); @@ -2794,7 +2794,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -2861,7 +2861,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -2928,7 +2928,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (UrlElement is not null) yield return new KeyValuePair("url",UrlElement); diff --git a/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs index 46ca88afe..224846554 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs @@ -680,7 +680,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -735,7 +735,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -790,7 +790,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Product is not null) yield return new KeyValuePair("product",Product); @@ -1064,7 +1064,7 @@ public override IEnumerable NamedChildren } } - protected override bool TryGetValue(string key, out object value) + internal protected override bool TryGetValue(string key, out object value) { switch (key) { @@ -1098,7 +1098,7 @@ protected override bool TryGetValue(string key, out object value) } - protected override Base SetValue(string key, object value) + internal protected override Base SetValue(string key, object value) { switch (key) { @@ -1132,7 +1132,7 @@ protected override Base SetValue(string key, object value) } - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { foreach (var kvp in base.GetElementPairs()) yield return kvp; if (Identifier?.Any() == true) yield return new KeyValuePair("identifier",Identifier); From 4d8d896c5ed6e554713f599715febbe5af0ae50c Mon Sep 17 00:00:00 2001 From: Ewout Kramer Date: Tue, 19 Nov 2024 14:24:56 +0100 Subject: [PATCH 2/5] Removed IDictionary --- .../ElementModel/PocoElementNode.cs | 29 +- src/Hl7.Fhir.Base/Model/Base.Dictionary.cs | 96 ++----- src/Hl7.Fhir.Base/Model/Base.cs | 36 +-- src/Hl7.Fhir.Base/Model/PrimitiveType.cs | 6 +- src/Hl7.Fhir.Base/Rest/BaseFhirClient.cs | 3 +- .../BaseFhirJsonPocoSerializer.cs | 2 +- .../BaseFhirXmlPocoSerializer.cs | 1 + .../ParseExtensionsTests.cs | 4 +- .../Rest/FhirClientTests.cs | 6 +- .../Terminology/LocalTerminologyService.cs | 8 +- .../LocalTerminologyServiceTests.cs | 10 +- .../Model/PocoDictionaryTests.cs | 25 +- .../ModelFeaturesTest.cs | 24 +- .../FhirJsonDeserializationTests.cs | 2 +- .../SummaryFilterIntegrationTests.cs | 25 +- .../TestDictionaryImplementation.cs | 266 +++++++++--------- .../LanguageTerminologyServiceTests.cs | 11 +- .../MimeTypeTerminologyServiceTests.cs | 15 +- .../PocoTests/FhirPathTest.cs | 2 +- 19 files changed, 265 insertions(+), 306 deletions(-) diff --git a/src/Hl7.Fhir.Base/ElementModel/PocoElementNode.cs b/src/Hl7.Fhir.Base/ElementModel/PocoElementNode.cs index 11de6c464..4f5dcaa8c 100644 --- a/src/Hl7.Fhir.Base/ElementModel/PocoElementNode.cs +++ b/src/Hl7.Fhir.Base/ElementModel/PocoElementNode.cs @@ -75,9 +75,9 @@ private Type determineInstanceType(PropertyMapping definition) }; } - public IElementDefinitionSummary Definition { get; private set; } + public IElementDefinitionSummary Definition { get; } - public string ShortPath { get; private set; } + public string ShortPath { get; } /// /// Elements from the IReadOnlyDictionary can be of type , IEnumerable<Base> or string. @@ -107,15 +107,13 @@ public IEnumerable Children(string name) { if (Current is null) return Enumerable.Empty(); - var rod = Current.AsReadOnlyDictionary(); - if (name is null) { - return rod.SelectMany(kvp + return Current.GetElementPairs().SelectMany(kvp => createChildNodes(kvp.Key, kvp.Value)); } - rod.TryGetValue(name, out var dictValue); + Current.TryGetValue(name, out var dictValue); return createChildNodes(name, dictValue); IEnumerable createChildNodes(string childName, object value) @@ -185,18 +183,13 @@ public object Value { get { - if (Current is PrimitiveType p && p.ObjectValue != null) - { - if (p.ObjectValue != _lastCachedValue) - { - _value = ToITypedElementValue(); - _lastCachedValue = p.ObjectValue; - } - - return _value; - } - else - return null; + if (Current is not PrimitiveType { ObjectValue: not null } p) return null; + + if (p.ObjectValue == _lastCachedValue) return _value; + + _value = ToITypedElementValue(); + _lastCachedValue = p.ObjectValue; + return _value; } } diff --git a/src/Hl7.Fhir.Base/Model/Base.Dictionary.cs b/src/Hl7.Fhir.Base/Model/Base.Dictionary.cs index 5c55ebe27..8cbd87fc5 100644 --- a/src/Hl7.Fhir.Base/Model/Base.Dictionary.cs +++ b/src/Hl7.Fhir.Base/Model/Base.Dictionary.cs @@ -7,87 +7,43 @@ namespace Hl7.Fhir.Model; -public abstract partial class Base: IReadOnlyDictionary, IDictionary +public class BaseDictionary(Base wrapped) : IReadOnlyDictionary { - private object get(string key) => - this.TryGetValue(key, out var value) - ? value - : throw new KeyNotFoundException($"Element '{key}' is not a known FHIR element or has no value."); - - public IReadOnlyDictionary AsReadOnlyDictionary() => this; - public IDictionary AsDictionary() => this; + private static object wrap(object value) => + value switch + { + Base b => new BaseDictionary(b), + _ => value + }; #region IReadOnlyDictionary - IEnumerable IReadOnlyDictionary.Keys => GetElementPairs().Select(kvp => kvp.Key); - IEnumerable IReadOnlyDictionary.Values => GetElementPairs().Select(kvp => kvp.Value); - int IReadOnlyCollection>.Count => GetElementPairs().Count(); - object IReadOnlyDictionary.this[string key] => get(key); - - bool IReadOnlyDictionary.TryGetValue(string key, out object value) => - TryGetValue(key, out value!); - - bool IReadOnlyDictionary.ContainsKey(string key) => TryGetValue(key, out _); - - IEnumerator> IEnumerable>.GetEnumerator() => - GetElementPairs().GetEnumerator(); - - IEnumerator IEnumerable.GetEnumerator() => GetElementPairs().GetEnumerator(); - - #endregion - - #region IDictionary - - void ICollection>.Add(KeyValuePair item) => - AsDictionary().Add(item.Key, item.Value); - - void ICollection>.Clear() - { - // Slow.... - foreach (var kvp in this) - SetValue(kvp.Key, null); - } + IEnumerable IReadOnlyDictionary.Keys => wrapped.GetElementPairs().Select(kvp => kvp.Key); + IEnumerable IReadOnlyDictionary.Values => wrapped.GetElementPairs().Select(kvp => wrap(kvp.Value)); + int IReadOnlyCollection>.Count => wrapped.GetElementPairs().Count(); - bool ICollection>.Contains(KeyValuePair item) => - TryGetValue(item.Key, out _); // we don't care about the item, we cannot have the same key twice. + object IReadOnlyDictionary.this[string key] => wrap(wrapped[key]); - void ICollection>.CopyTo(KeyValuePair[] array, int arrayIndex) + bool IReadOnlyDictionary.TryGetValue(string key, out object value) { - foreach (var kvp in this) - array[arrayIndex++] = kvp; + if (wrapped.TryGetValue(key, out var unwrapped)) + { + value = wrap(unwrapped); + return true; + } + + value = null!; + return false; } - bool ICollection>.Remove(KeyValuePair item) => - AsDictionary().Remove(item.Key); + bool IReadOnlyDictionary.ContainsKey(string key) => wrapped.TryGetValue(key, out _); - int ICollection>.Count => AsReadOnlyDictionary().Count; - bool ICollection>.IsReadOnly => false; - ICollection IDictionary.Values => AsReadOnlyDictionary().Values.ToList(); - ICollection IDictionary.Keys => AsReadOnlyDictionary().Keys.ToList(); - bool IDictionary.TryGetValue(string key, out object value) => TryGetValue(key, out value!); - - object IDictionary.this[string key] - { - get => this.AsReadOnlyDictionary()[key]; - set => SetValue(key, value); - } - - void IDictionary.Add(string key, object value) - { - if (TryGetValue(key, out _)) - throw new ArgumentException($"An element with the key '{key}' already exists in the dictionary."); - - SetValue(key, value); - } - - bool IDictionary.ContainsKey(string key) => TryGetValue(key, out _); + IEnumerator> IEnumerable>.GetEnumerator() => + wrapped.GetElementPairs().Select(kvp => KeyValuePair.Create(kvp.Key, wrap(kvp.Value))).GetEnumerator(); - bool IDictionary.Remove(string key) - { - var existed = TryGetValue(key, out _); - SetValue(key, null); - return existed; - } + IEnumerator IEnumerable.GetEnumerator() => + wrapped.GetElementPairs().Select(kvp => KeyValuePair.Create(kvp.Key, wrap(kvp.Value))).GetEnumerator(); #endregion + } \ No newline at end of file diff --git a/src/Hl7.Fhir.Base/Model/Base.cs b/src/Hl7.Fhir.Base/Model/Base.cs index 6606f6072..8ff8334fd 100644 --- a/src/Hl7.Fhir.Base/Model/Base.cs +++ b/src/Hl7.Fhir.Base/Model/Base.cs @@ -93,7 +93,7 @@ protected virtual void OnPropertyChanged(string property) => #endregion - protected virtual Base SetValue(string key, object? value) + internal protected virtual Base SetValue(string key, object? value) { if (value is null) Overflow.Remove(key); @@ -103,10 +103,18 @@ protected virtual Base SetValue(string key, object? value) return this; } - protected virtual bool TryGetValue(string key, [NotNullWhen(true)] out object? value) => + internal object this[string key] + { + get => this.TryGetValue(key, out var value) + ? value + : throw new KeyNotFoundException($"Element '{key}' is not a known FHIR element or has no value."); + set => SetValue(key, value); + } + + internal protected virtual bool TryGetValue(string key, [NotNullWhen(true)] out object? value) => Overflow.TryGetValue(key, out value); - protected virtual IEnumerable> GetElementPairs() => Overflow; + internal protected virtual IEnumerable> GetElementPairs() => Overflow; // TODO bring Children + NamedChildren over as well. } @@ -115,28 +123,10 @@ protected virtual bool TryGetValue(string key, [NotNullWhen(true)] out object? v /// /// A dynamic data type that can hold any element. /// -public class DynamicDataType : DataType -{ - public void Add(string arg1, object arg2) => this.SetValue(arg1, arg2); - - public object this[string key] - { - get => this.AsReadOnlyDictionary()[key]; - set => SetValue(key, value); - } -} +public class DynamicDataType : DataType; /// /// A dynamic resource that can hold any element. /// -public class DynamicResource : Resource -{ - public void Add(string arg1, object arg2) => this.SetValue(arg1, arg2); - - public object this[string key] - { - get => this.AsReadOnlyDictionary()[key]; - set => SetValue(key, value); - } -} \ No newline at end of file +public class DynamicResource : Resource; \ No newline at end of file diff --git a/src/Hl7.Fhir.Base/Model/PrimitiveType.cs b/src/Hl7.Fhir.Base/Model/PrimitiveType.cs index 679336df7..03ce85bec 100644 --- a/src/Hl7.Fhir.Base/Model/PrimitiveType.cs +++ b/src/Hl7.Fhir.Base/Model/PrimitiveType.cs @@ -58,7 +58,7 @@ protected virtual void OnObjectValueChanged() } /// - protected override bool TryGetValue(string key, [NotNullWhen(true)] out object? value) + internal protected override bool TryGetValue(string key, [NotNullWhen(true)] out object? value) { if (key == "value") { @@ -69,7 +69,7 @@ protected override bool TryGetValue(string key, [NotNullWhen(true)] out object? return base.TryGetValue(key, out value); } - protected override Base SetValue(string key, object? value) + internal protected override Base SetValue(string key, object? value) { switch (key) { @@ -81,7 +81,7 @@ protected override Base SetValue(string key, object? value) } } /// - protected override IEnumerable> GetElementPairs() + internal protected override IEnumerable> GetElementPairs() { if (ObjectValue is not null) yield return new KeyValuePair("value", ObjectValue); foreach (var kvp in base.GetElementPairs()) yield return kvp; diff --git a/src/Hl7.Fhir.Base/Rest/BaseFhirClient.cs b/src/Hl7.Fhir.Base/Rest/BaseFhirClient.cs index 251825a6b..7875c314c 100644 --- a/src/Hl7.Fhir.Base/Rest/BaseFhirClient.cs +++ b/src/Hl7.Fhir.Base/Rest/BaseFhirClient.cs @@ -1020,7 +1020,8 @@ private async Task verifyServerVersion(CancellationToken ct) var capabilityStatement = await executeAsync(tx, HttpStatusCode.OK, ct).ConfigureAwait(false); if (capabilityStatement is null) return null; - return capabilityStatement.AsReadOnlyDictionary().TryGetValue("fhirVersion", out var value) && value is PrimitiveType pt && pt.ObjectValue is string version + return capabilityStatement.TryGetValue("fhirVersion", out var value) && + value is PrimitiveType { ObjectValue: string version } ? version : null; } diff --git a/src/Hl7.Fhir.Base/Serialization/BaseFhirJsonPocoSerializer.cs b/src/Hl7.Fhir.Base/Serialization/BaseFhirJsonPocoSerializer.cs index caedb9f66..18780b92b 100644 --- a/src/Hl7.Fhir.Base/Serialization/BaseFhirJsonPocoSerializer.cs +++ b/src/Hl7.Fhir.Base/Serialization/BaseFhirJsonPocoSerializer.cs @@ -98,7 +98,7 @@ private void serializeInternal( filter?.EnterObject(element, mapping); - foreach (var member in element) + foreach (var member in element.GetElementPairs()) { if (skipValue && member.Key == "value") continue; diff --git a/src/Hl7.Fhir.Base/Serialization/BaseFhirXmlPocoSerializer.cs b/src/Hl7.Fhir.Base/Serialization/BaseFhirXmlPocoSerializer.cs index 37b409134..a6bf8d613 100644 --- a/src/Hl7.Fhir.Base/Serialization/BaseFhirXmlPocoSerializer.cs +++ b/src/Hl7.Fhir.Base/Serialization/BaseFhirXmlPocoSerializer.cs @@ -107,6 +107,7 @@ private void serializeElement(Base element, XmlWriter writer, SerializationFilte { // Make sure that elements with attributes are serialized first. var orderedMembers = element + .GetElementPairs() .Select(m => (m, mapping: mapping?.FindMappedElementByName(m.Key))) .OrderBy(p => p.mapping?.SerializationHint != XmlRepresentation.XmlAttr); diff --git a/src/Hl7.Fhir.ElementModel.Shared.Tests/ParseExtensionsTests.cs b/src/Hl7.Fhir.ElementModel.Shared.Tests/ParseExtensionsTests.cs index e8503bb24..3443161fa 100644 --- a/src/Hl7.Fhir.ElementModel.Shared.Tests/ParseExtensionsTests.cs +++ b/src/Hl7.Fhir.ElementModel.Shared.Tests/ParseExtensionsTests.cs @@ -147,7 +147,7 @@ public void TestParseCodeableReference() var node = i.ToTypedElement(); var p = node.ParseBindable(); - p.Should().BeEquivalentTo(new { Coding = new List { new Coding("http://nu.nl", "bla") } }); + p.IsExactly(new CodeableConcept { Coding = [new Coding("http://nu.nl", "bla")] }).Should().BeTrue(); i.Concept = null; node = i.ToTypedElement(); @@ -155,4 +155,4 @@ public void TestParseCodeableReference() p.Should().BeNull(); } } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Shared.Tests/Rest/FhirClientTests.cs b/src/Hl7.Fhir.Shared.Tests/Rest/FhirClientTests.cs index 9be9b35d5..674c3d764 100644 --- a/src/Hl7.Fhir.Shared.Tests/Rest/FhirClientTests.cs +++ b/src/Hl7.Fhir.Shared.Tests/Rest/FhirClientTests.cs @@ -356,10 +356,8 @@ public async Tasks.Task CreateAndFullRepresentationHttpClient() // Now validate this resource client.Settings.PreferredReturn = Prefer.ReturnRepresentation; // which is also the default - var p = new Parameters - { - { "resource", pat } - }; + var p = new Parameters(); + p.Add("resource", pat); var oI = await client.InstanceOperationAsync(ri.WithoutVersion(), "validate", p); oI.Should().BeOfType(); } diff --git a/src/Hl7.Fhir.Shims.Base/Specification/Terminology/LocalTerminologyService.cs b/src/Hl7.Fhir.Shims.Base/Specification/Terminology/LocalTerminologyService.cs index 2db0593dd..d86320388 100644 --- a/src/Hl7.Fhir.Shims.Base/Specification/Terminology/LocalTerminologyService.cs +++ b/src/Hl7.Fhir.Shims.Base/Specification/Terminology/LocalTerminologyService.cs @@ -298,11 +298,9 @@ private async Task validateCodeVS(ValueSet vs, string? code, string? { if (code is null) { - var resultParam = new Parameters - { - { "message", new FhirString("No code supplied.") }, - { "result", new FhirBoolean(false) } - }; + var resultParam = new Parameters(); + resultParam.Add("message", new FhirString("No code supplied.")); + resultParam.Add("result", new FhirBoolean(false)); return resultParam; } diff --git a/src/Hl7.Fhir.Specification.Shared.Tests/Terminology/LocalTerminologyServiceTests.cs b/src/Hl7.Fhir.Specification.Shared.Tests/Terminology/LocalTerminologyServiceTests.cs index 5ebdf049f..16fedc6f3 100644 --- a/src/Hl7.Fhir.Specification.Shared.Tests/Terminology/LocalTerminologyServiceTests.cs +++ b/src/Hl7.Fhir.Specification.Shared.Tests/Terminology/LocalTerminologyServiceTests.cs @@ -37,7 +37,8 @@ public async Task CodeNotFoundMessageTest(string valueset, string code, string c var withSystem = string.IsNullOrEmpty(system) ? string.Empty : $" from system '{system}'"; var result = await _service.ValueSetValidateCode(parameters.Build()); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"Code '{code}'{withSystem} does not exist in the value set '{valuesetTitle}' ({valueset})")); + .Subject.Value.IsExactly(new FhirString($"Code '{code}'{withSystem} does not exist in the value set '{valuesetTitle}' ({valueset})")) + .Should().BeTrue(); } [DataTestMethod] @@ -51,7 +52,8 @@ public async Task CodingWithValuesetAsSystem(string valueset, string code, strin var result = await _service.ValueSetValidateCode(parameters.Build()); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"The Coding references a value set, not a code system ('{system}')")); + .Subject.Value.IsExactly(new FhirString($"The Coding references a value set, not a code system ('{system}')")) + .Should().BeTrue(); } [TestMethod] @@ -68,7 +70,7 @@ public async Task DefaultCoreServiceTest() var result = await service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)).Should().BeTrue(); } [TestMethod] @@ -115,4 +117,4 @@ public async Task CheckErrorBarrier() ex.WithMessage("*compositional code system*"); } } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Support.Poco.Tests/Model/PocoDictionaryTests.cs b/src/Hl7.Fhir.Support.Poco.Tests/Model/PocoDictionaryTests.cs index 6ddad7be1..a274e52be 100644 --- a/src/Hl7.Fhir.Support.Poco.Tests/Model/PocoDictionaryTests.cs +++ b/src/Hl7.Fhir.Support.Poco.Tests/Model/PocoDictionaryTests.cs @@ -32,13 +32,13 @@ public void DynamicResourceAcceptsEverything() dr["weight"].Should().Be(80.0m); dr["name"] = null!; - dr.AsReadOnlyDictionary().ContainsKey("name").Should().BeFalse(); + dr.TryGetValue("name", out _).Should().BeFalse(); } [TestMethod] public void ResourceAcceptsOverflow() { - var pat = new Patient().AsDictionary(); + var pat = new Patient(); // setting an existing property to an incorrect type should fail. Assert.ThrowsException(() => pat["name"] = "John"); @@ -54,7 +54,7 @@ public void ResourceAcceptsOverflow() pat["name"] = null!; pat["weight"] = null!; - pat.Should().BeEmpty(); + pat.GetElementPairs().Should().BeEmpty(); } [TestMethod] @@ -68,16 +68,15 @@ public void CanReadSpecialProperties() }; patient.AddExtension("http://nu.nl", new FhirBoolean(true)); - var pat = patient.AsReadOnlyDictionary(); - pat["active"].Should().BeOfType().And - .BeAssignableTo().Which["value"].Should().Be(true); - pat["text"].Should().BeOfType().And - .BeAssignableTo().Which["div"].Should().BeOfType().And - .BeAssignableTo().Which["value"].Should().Be("
hello
"); - pat["meta"].Should().BeOfType().And - .BeAssignableTo().Which["id"].Should().Be("4"); - var extension = pat["extension"].Should().BeOfType>().Which.Should().ContainSingle().Subject; - extension.Should().BeAssignableTo().Which["url"].Should().Be("http://nu.nl"); + patient["active"].Should().BeOfType().And + .BeAssignableTo().Which["value"].Should().Be(true); + patient["text"].Should().BeOfType().And + .BeAssignableTo().Which["div"].Should().BeOfType().And + .BeAssignableTo().Which["value"].Should().Be("
hello
"); + patient["meta"].Should().BeOfType().And + .BeAssignableTo().Which["id"].Should().Be("4"); + var extension = patient["extension"].Should().BeOfType>().Which.Should().ContainSingle().Subject; + extension.Should().BeAssignableTo().Which["url"].Should().Be("http://nu.nl"); } } \ No newline at end of file diff --git a/src/Hl7.Fhir.Support.Poco.Tests/ModelFeaturesTest.cs b/src/Hl7.Fhir.Support.Poco.Tests/ModelFeaturesTest.cs index df41b246c..b6582656d 100644 --- a/src/Hl7.Fhir.Support.Poco.Tests/ModelFeaturesTest.cs +++ b/src/Hl7.Fhir.Support.Poco.Tests/ModelFeaturesTest.cs @@ -57,14 +57,15 @@ public void BuildCodingList() { ((DataType)null).ToCodings().Should().BeEmpty(); - new Code("bla").ToCodings().Should().BeEquivalentTo(l(c(null, "bla"))); - new Coding("http://nu.nl", "bla").ToCodings().Should().BeEquivalentTo(l(c("http://nu.nl", "bla"))); - new Code(AdministrativeGender.Male).ToCodings().Should().BeEquivalentTo(l(new Coding("http://hl7.org/fhir/administrative-gender", "male"))); - new CodeableConcept().Add("http://nu.nl", "bla1").Add("http://nu.nl", "bla2").ToCodings().Should().BeEquivalentTo( - [c("http://nu.nl", "bla1"), c("http://nu.nl", "bla2")]); - new FhirString("bla").ToCodings().Should().BeEquivalentTo(l(c(null, "bla"))); - new CodeableReference(new CodeableConcept().Add("http://nu.nl", "bla1")).ToCodings().Should() - .BeEquivalentTo([c("http://nu.nl", "bla1")]); + new Code("bla").ToCodings().IsExactly(l(c(null, "bla"))).Should().BeTrue(); + new Coding("http://nu.nl", "bla").ToCodings().IsExactly(l(c("http://nu.nl", "bla"))).Should().BeTrue(); + new Code(AdministrativeGender.Male).ToCodings() + .IsExactly(l(new Coding("http://hl7.org/fhir/administrative-gender", "male"))).Should().BeTrue(); + new CodeableConcept().Add("http://nu.nl", "bla1").Add("http://nu.nl", "bla2").ToCodings() + .IsExactly([c("http://nu.nl", "bla1"), c("http://nu.nl", "bla2")]).Should().BeTrue(); + new FhirString("bla").ToCodings().IsExactly(l(c(null, "bla"))).Should().BeTrue(); + new CodeableReference(new CodeableConcept().Add("http://nu.nl", "bla1")).ToCodings() + .IsExactly([c("http://nu.nl", "bla1")]).Should().BeTrue(); var list = new[] { @@ -72,7 +73,8 @@ public void BuildCodingList() new Code(AdministrativeGender.Other) }; - list.ToCodings().Should().BeEquivalentTo(new[] { c("http://hl7.org/fhir/administrative-gender", "male"), c("http://hl7.org/fhir/administrative-gender", "other") }); + list.ToCodings().IsExactly([c("http://hl7.org/fhir/administrative-gender", "male"), c("http://hl7.org/fhir/administrative-gender", "other") + ]).Should().BeTrue(); var listcc = new[] { @@ -80,8 +82,8 @@ public void BuildCodingList() new CodeableConcept().Add("http://nu.nl", "bla3").Add("http://nu.nl", "bla4"), }; - listcc.ToCodings().Should().BeEquivalentTo([c("http://nu.nl", "bla1"), c("http://nu.nl", "bla2"), c("http://nu.nl", "bla3"), c("http://nu.nl", "bla4") - ]); + listcc.ToCodings().IsExactly([c("http://nu.nl", "bla1"), c("http://nu.nl", "bla2"), c("http://nu.nl", "bla3"), c("http://nu.nl", "bla4") + ]).Should().BeTrue(); static Coding c(string s, string v) => new(s, v); static IEnumerable l(Coding c) => [c]; diff --git a/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/FhirJsonDeserializationTests.cs b/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/FhirJsonDeserializationTests.cs index dc0043eac..37c24d6a0 100644 --- a/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/FhirJsonDeserializationTests.cs +++ b/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/FhirJsonDeserializationTests.cs @@ -467,7 +467,7 @@ static void checkData(object parsedObject) var parsed = parsedObject.Should().BeOfType().Subject; parsed.Telecom.Count.Should().Be(2); parsed.Telecom[0].System.Should().Be(ContactPoint.ContactPointSystem.Phone); - parsed.Telecom[1].Count().Should().Be(0); + parsed.Telecom[1].GetElementPairs().Count().Should().Be(0); } } diff --git a/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/SummaryFilterIntegrationTests.cs b/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/SummaryFilterIntegrationTests.cs index 6f0eda32c..b4a269e1c 100644 --- a/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/SummaryFilterIntegrationTests.cs +++ b/src/Hl7.Fhir.Support.Poco.Tests/NewPocoSerializers/SummaryFilterIntegrationTests.cs @@ -49,7 +49,7 @@ public void Basics() var filter = new BundleFilter(new TopLevelFilter( new ElementMetadataFilter { - IncludeNames = new[] { "communication", "type" }, + IncludeNames = ["communication", "type"], }, new ElementMetadataFilter { @@ -79,7 +79,7 @@ public void Basics() communication.Count().Should().Be(1); // Communication.language is a CodeableConcept, all of its field are in summary... - communication.Language.Should().BeEquivalentTo(new CodeableConcept("x", "nl-nl")); + communication.Language.IsExactly(new CodeableConcept("x", "nl-nl")).Should().BeTrue(); // The nested Bundle should only its "type" present var nb = bp.Entry[1].Resource as Bundle; @@ -104,11 +104,11 @@ static void assertIdentifier(Identifier ide) [TestMethod] public void AllSummaryIndeed() { - var (full, summarized) = runSummarize("mask-text.xml", SerializationFilter.ForSummary()); - var codeSystemCM = ModelInspector.ForAssembly(typeof(Patient).Assembly).FindClassMapping(typeof(CodeSystem)); + var (_, summarized) = runSummarize("mask-text.xml", SerializationFilter.ForSummary()); + var codeSystemCm = ModelInspector.ForAssembly(typeof(Patient).Assembly).FindClassMapping(typeof(CodeSystem))!; - summarized.All(element => codeSystemCM.FindMappedElementByName(element.Key).InSummary).Should().BeTrue(); - summarized.Count().Should().BeLessThan(codeSystemCM.PropertyMappings.Where(pm => pm.InSummary).Count()); + summarized.GetElementPairs().All(element => codeSystemCm.FindMappedElementByName(element.Key)!.InSummary).Should().BeTrue(); + summarized.Count().Should().BeLessThan(codeSystemCm.PropertyMappings.Count(pm => pm.InSummary)); } [TestMethod] @@ -135,7 +135,8 @@ public void SummaryData() public void SummaryElements() { // This is actually equivalent to "text" (if elements also includes mandatory) - var (full, summarized) = runSummarize("mask-text.xml", SerializationFilter.ForElements(new[] { "id", "text", "meta" })); + var (full, summarized) = runSummarize("mask-text.xml", SerializationFilter.ForElements(["id", "text", "meta" + ])); traverse(summarized).Count().Should().Be(1 + traverse(full.IdElement).Count() + @@ -147,7 +148,7 @@ public void SummaryElements() [TestMethod] public void SummaryCount() { - var (full, summarized) = runSummarize("simple-bundle.xml", SerializationFilter.ForCount()); + var (_, summarized) = runSummarize("simple-bundle.xml", SerializationFilter.ForCount()); // check if result contains the link traverse(summarized).Should().ContainKey("link"); @@ -176,10 +177,14 @@ static IEnumerable> childrenAndMe(KeyValuePair array.Cast().SelectMany(bsi => childrenAndMe(KeyValuePair.Create(y.Key, bsi))), - Base obj => obj.SelectMany(oc => childrenAndMe(oc)), - var z => Enumerable.Empty>() + Base obj => obj.GetElementPairs().SelectMany(childrenAndMe), + _ => [] }).Prepend(y).ToList(); } } + file static class EnumerableShim + { + public static int Count(this Base b) => b.GetElementPairs().Count(); + } } \ No newline at end of file diff --git a/src/Hl7.Fhir.Support.Tests/Serialization/TestDictionaryImplementation.cs b/src/Hl7.Fhir.Support.Tests/Serialization/TestDictionaryImplementation.cs index 3eeaea99d..54c4ea99b 100644 --- a/src/Hl7.Fhir.Support.Tests/Serialization/TestDictionaryImplementation.cs +++ b/src/Hl7.Fhir.Support.Tests/Serialization/TestDictionaryImplementation.cs @@ -13,148 +13,156 @@ using System.Collections.Generic; using System.Linq; -namespace Hl7.Fhir.Support.Tests.Serialization +namespace Hl7.Fhir.Support.Tests.Serialization; + +[TestClass] +public class TestDictionaryImplementation { - [TestClass] - public class TestDictionaryImplementation + [TestMethod] + public void CanEnumerateFhirPrimitive() { - [TestMethod] - public void CanEnumerateFhirPrimitive() - { - IReadOnlyDictionary b = new FhirBoolean(null); - b.Count.Should().Be(0); - b.Any().Should().Be(false); - - b = new FhirBoolean(true); - b.Count.Should().Be(1); - b.First().Should().BeEquivalentTo(KeyValuePair.Create("value", true)); - - var nb = new FhirBoolean(true); - nb.SetStringExtension("http://nu.nl", "then"); - nb.ElementId = "id1"; - b = nb; - b.Count.Should().Be(3); - b.Keys.Should().BeEquivalentTo("value", "id", "extension"); - b.Values.First().Should().BeOfType(); - b.Values.Skip(1).First().Should().BeOfType(); - b.Values.Skip(2).First().Should().BeAssignableTo>(); - - b.ToList()[2].Value.Should().BeAssignableTo>(); - - b.TryGetValue("id", out var v).Should().BeTrue(); - v.Should().Be("id1"); - b.TryGetValue("idX", out _).Should().BeFalse(); - } - - [TestMethod] - public void CanEnumerateCodedValue() - { - IReadOnlyDictionary b = new Code(Narrative.NarrativeStatus.Additional); - b.Should().BeEquivalentTo(new[] { KeyValuePair.Create("value", Narrative.NarrativeStatus.Additional.GetLiteral()) }); - } + var b = new FhirBoolean(null).GetElementList(); + b.Any().Should().Be(false); + + b = new FhirBoolean(true).GetElementList(); + b.Count.Should().Be(1); + b.First().Should().BeEquivalentTo(KeyValuePair.Create("value", true)); + + var nb = new FhirBoolean(true); + nb.SetStringExtension("http://nu.nl", "then"); + nb.ElementId = "id1"; + + b = nb.GetElementList(); + b.Count.Should().Be(3); + b.Select(kvp => kvp.Key).Should().BeEquivalentTo("value", "id", "extension"); + var values = b.Select(kvp => kvp.Value).ToList(); + values.First().Should().BeOfType(); + values.Skip(1).First().Should().BeOfType(); + values.Skip(2).First().Should().BeAssignableTo>(); + b[2].Value.Should().BeAssignableTo>(); + + nb.TryGetValue("id", out var v).Should().BeTrue(); + v.Should().Be("id1"); + nb.TryGetValue("idX", out _).Should().BeFalse(); + } - [TestMethod] - public void CanEnumerateNarrative() - { - IReadOnlyDictionary b = new Narrative("

bla

"); - b.Count.Should().Be(2); - b.Should().BeEquivalentTo(new[] { - KeyValuePair.Create("div", new XHtml("

bla

")), - KeyValuePair.Create("status", new Code(Narrative.NarrativeStatus.Generated)) }); - } - - [TestMethod] - public void CanEnumerateExtension() - { - // Explicitly test hand-written IROD implementation. - IReadOnlyDictionary b = new Extension("http://nu.nl", new FhirBoolean(true)); - b.Count.Should().Be(2); - b.Should().BeEquivalentTo(new[] { - KeyValuePair.Create("url", "http://nu.nl"), - KeyValuePair.Create("value", new FhirBoolean(true)) }); + [TestMethod] + public void CanEnumerateCodedValue() + { + var b = new Code(Narrative.NarrativeStatus.Additional).GetElementList(); + b.Should().BeEquivalentTo(new[] { KeyValuePair.Create("value", Narrative.NarrativeStatus.Additional.GetLiteral()) }); + } - b.TryGetValue("valueString", out _).Should().BeFalse(); - b.TryGetValue("valueBoolean", out _).Should().BeFalse(); - b.TryGetValue("valueXXXXBoolean", out _).Should().BeFalse(); - b.TryGetValue("value", out var fb).Should().BeTrue(); + [TestMethod] + public void CanEnumerateNarrative() + { + var b = new Narrative("

bla

").GetElementList(); + b.Count.Should().Be(2); - fb.Should().BeOfType().Which.Value.Should().BeTrue(); + b[0].Key.Should().Be("status"); + b[0].Value.Should().BeOfType>().Which.Value.Should().Be(Narrative.NarrativeStatus.Generated); - b["value"].Should().BeOfType().Which.Value.Should().BeTrue(); - } + b[1].Key.Should().Be("div"); + b[1].Value.Should().BeOfType().Which.Value.Should().Be("

bla

"); + } - [TestMethod] - public void HandlesChoiceElements() - { - IReadOnlyDictionary b = new Parameters.ParameterComponent() { Name = "test1", Value = new FhirBoolean(true) }; + [TestMethod] + public void CanEnumerateExtension() + { + // Explicitly test hand-written IROD implementation. + var ext = new Extension("http://nu.nl", new FhirBoolean(true)); + var b = ext.GetElementList(); + b.Count.Should().Be(2); + b[0].Should().Be(KeyValuePair.Create("url", "http://nu.nl")); + b[1].Key.Should().Be("value"); + b[1].Value.Should().BeOfType().Which.Value.Should().BeTrue(); + + ext.TryGetValue("valueString", out _).Should().BeFalse(); + ext.TryGetValue("valueBoolean", out _).Should().BeFalse(); + ext.TryGetValue("valueXXXXBoolean", out _).Should().BeFalse(); + ext.TryGetValue("value", out var fb).Should().BeTrue(); + + fb.Should().BeOfType().Which.Value.Should().BeTrue(); + + ext["value"].Should().BeOfType().Which.Value.Should().BeTrue(); + } - b.TryGetValue("valueString", out _).Should().BeFalse(); - b.TryGetValue("valueBoolean", out _).Should().BeFalse(); - b.TryGetValue("value", out var fb).Should().BeTrue(); - b.TryGetValue("valueXXXXBoolean", out _).Should().BeFalse(); - fb.Should().BeOfType().Which.Value.Should().BeTrue(); + [TestMethod] + public void HandlesChoiceElements() + { + var b = new Parameters.ParameterComponent { Name = "test1", Value = new FhirBoolean(true) }; - b["value"].Should().BeOfType().Which.Value.Should().BeTrue(); - } + b.TryGetValue("valueString", out _).Should().BeFalse(); + b.TryGetValue("valueBoolean", out _).Should().BeFalse(); + b.TryGetValue("value", out var fb).Should().BeTrue(); + b.TryGetValue("valueXXXXBoolean", out _).Should().BeFalse(); + fb.Should().BeOfType().Which.Value.Should().BeTrue(); - private OperationOutcome setupOutcome() - { - OperationOutcome oo = new OperationOutcome() - { - Id = "1", - Meta = new Meta { Profile = new[] { "http://simplifier.net/profiles/x" }, VersionId = "2" } - }; - - var fu = new FhirUri(); - fu.SetStringExtension("http://ha.nl", "hi"); - oo.Meta.ProfileElement.Add(fu); - - oo.Issue.Add( - new OperationOutcome.IssueComponent() - { - Code = OperationOutcome.IssueType.BusinessRule, - Details = new CodeableConcept("http://nu.nl", "then"), - Diagnostics = "This has low level information", - Expression = new[] { "Patient.x" }, - Severity = OperationOutcome.IssueSeverity.Error - }); - oo.Id = "1"; - - return oo; - } - - [TestMethod] - public void CanEnumerateResource() + b["value"].Should().BeOfType().Which.Value.Should().BeTrue(); + } + + private OperationOutcome setupOutcome() + { + OperationOutcome oo = new() { - IReadOnlyDictionary b = setupOutcome(); - b.Count.Should().Be(3); - b.TryGetValue("resourceType", out _).Should().BeFalse(); // we do not generate "resourceType" anymore + Id = "1", + Meta = new Meta { Profile = ["http://simplifier.net/profiles/x"], VersionId = "2" } + }; - // Check a backbone - IReadOnlyDictionary bb = b["issue"].Should().BeOfType>().Subject.Single(); - bb.Keys.Should().BeEquivalentTo("code", "details", "diagnostics", "expression", "severity"); - } + var fu = new FhirUri(); + fu.SetStringExtension("http://ha.nl", "hi"); + oo.Meta.ProfileElement.Add(fu); - [TestMethod] - public void CanEnumerateContainedResources() - { - IReadOnlyDictionary ps = new Parameters + oo.Issue.Add( + new OperationOutcome.IssueComponent() { - { "aBool", new FhirBoolean(true) }, - { "aResource", new OperationOutcome() } - }; - - var paramList = ps["parameter"].Should().BeOfType>().Subject; - paramList.Count.Should().Be(2); - paramList[0].Name.Should().Be("aBool"); - paramList[1].Name.Should().Be("aResource"); - - ps = paramList[1]; - ps.TryGetValue("value", out _).Should().BeFalse(); - ps.TryGetValue("resource", out var r).Should().BeTrue(); - - var resource = ps["resource"].Should().BeAssignableTo>().Subject; - Assert.ThrowsException(() => resource["resourceType"]); - } + Code = OperationOutcome.IssueType.BusinessRule, + Details = new CodeableConcept("http://nu.nl", "then"), + Diagnostics = "This has low level information", + Expression = ["Patient.x"], + Severity = OperationOutcome.IssueSeverity.Error + }); + oo.Id = "1"; + + return oo; } + + [TestMethod] + public void CanEnumerateResource() + { + var b = setupOutcome(); + b.GetElementList().Count.Should().Be(3); + b.TryGetValue("resourceType", out _).Should().BeFalse(); // we do not generate "resourceType" anymore + + // Check a backbone + var bb = b["issue"].Should().BeOfType>() + .Subject.Single(); + bb.GetElementList().Select(kvp => kvp.Key) + .Should().BeEquivalentTo("code", "details", "diagnostics", "expression", "severity"); + } + + [TestMethod] + public void CanEnumerateContainedResources() + { + var parameters = new Parameters(); + parameters.Add("aBool", new FhirBoolean(true)); + parameters.Add("aResource", new OperationOutcome()); + + var paramList = parameters["parameter"].Should().BeOfType>().Subject; + paramList.Count.Should().Be(2); + paramList[0].Name.Should().Be("aBool"); + paramList[1].Name.Should().Be("aResource"); + + var ps = paramList[1]; + ps.TryGetValue("value", out _).Should().BeFalse(); + ps.TryGetValue("resource", out var r).Should().BeTrue(); + + var resource = ps["resource"].Should().BeAssignableTo().Subject; + Assert.ThrowsException(() => resource["resourceType"]); + } +} + +file static class TestDictionaryHelpers +{ + public static List> GetElementList(this Base b) => b.GetElementPairs().ToList(); } \ No newline at end of file diff --git a/src/Hl7.Fhir.Support.Tests/Specification/LanguageTerminologyServiceTests.cs b/src/Hl7.Fhir.Support.Tests/Specification/LanguageTerminologyServiceTests.cs index cf82805c3..281efa1bd 100644 --- a/src/Hl7.Fhir.Support.Tests/Specification/LanguageTerminologyServiceTests.cs +++ b/src/Hl7.Fhir.Support.Tests/Specification/LanguageTerminologyServiceTests.cs @@ -25,7 +25,8 @@ public async Task LanguageValidationTest() var result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"'ned' is not a valid language.")); + .Subject.Value.IsExactly(new FhirString($"'ned' is not a valid language.")) + .Should().BeTrue(); parameters = new ValidateCodeParameters() @@ -35,7 +36,8 @@ public async Task LanguageValidationTest() result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)) + .Should().BeTrue(); parameters = new ValidateCodeParameters() .WithValueSet(LANGUAGE_VS) @@ -44,7 +46,8 @@ public async Task LanguageValidationTest() result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)).Should() + .BeTrue(); parameters = new ValidateCodeParameters() .WithValueSet(ADMINGENDERVS) @@ -70,4 +73,4 @@ public async Task LanguageValidationTest() await validateCode.Should().ThrowAsync().WithMessage("Unknown system 'http://hl7.org/fhir/administrative-gender'"); } } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Support.Tests/Specification/MimeTypeTerminologyServiceTests.cs b/src/Hl7.Fhir.Support.Tests/Specification/MimeTypeTerminologyServiceTests.cs index 95e2d79fa..de7411653 100644 --- a/src/Hl7.Fhir.Support.Tests/Specification/MimeTypeTerminologyServiceTests.cs +++ b/src/Hl7.Fhir.Support.Tests/Specification/MimeTypeTerminologyServiceTests.cs @@ -27,7 +27,8 @@ public async Task MimeTypeValidationTest() var result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"'invalid' is not a valid MIME type.")); + .Subject.Value.IsExactly(new FhirString($"'invalid' is not a valid MIME type.")) + .Should().BeTrue(); parameters = new ValidateCodeParameters() @@ -37,7 +38,8 @@ public async Task MimeTypeValidationTest() result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)) + .Should().BeTrue(); parameters = new ValidateCodeParameters() .WithValueSet(ADMINGENDERVS) @@ -75,8 +77,8 @@ public async Task MimeTypeValidationAlternativeValueSet(string valueset) var result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"'invalid' is not a valid MIME type.")); - + .Subject.Value.IsExactly(new FhirString($"'invalid' is not a valid MIME type.")) + .Should().BeTrue(); parameters = new ValidateCodeParameters() .WithValueSet(valueset) @@ -85,7 +87,8 @@ public async Task MimeTypeValidationAlternativeValueSet(string valueset) result = await _service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)) + .Should().BeTrue(); } } -} +} \ No newline at end of file diff --git a/src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs b/src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs index 2b5ff8fed..1c9198e47 100644 --- a/src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs +++ b/src/Hl7.FhirPath.R4.Tests/PocoTests/FhirPathTest.cs @@ -412,7 +412,7 @@ public void MemberOfTestWithExampleFromSpecification() result.Should().ContainSingle().Subject .Should().BeOfType() - .Subject.Code.Should().BeEquivalentTo(new CodeableConcept("http://loinc.org", "2708-6")); + .Subject.Code.IsExactly(new CodeableConcept("http://loinc.org", "2708-6")).Should().BeTrue(); } } } \ No newline at end of file From 6d4b929b1d82df1fc12dbf33703896d8390cde9c Mon Sep 17 00:00:00 2001 From: Ewout Kramer Date: Tue, 19 Nov 2024 17:12:51 +0100 Subject: [PATCH 3/5] Removed Children, de-duplicated some SnapshotGen files. --- src/Hl7.Fhir.Base/Model/Base.Extensions.cs | 39 + src/Hl7.Fhir.Base/Model/Base.cs | 3 +- .../Model/Generated/Attachment.cs | 44 - .../Model/Generated/BackboneElement.cs | 20 - .../Model/Generated/BackboneType.cs | 20 - src/Hl7.Fhir.Base/Model/Generated/Base.cs | 21 - src/Hl7.Fhir.Base/Model/Generated/Binary.cs | 26 - src/Hl7.Fhir.Base/Model/Generated/Bundle.cs | 166 ---- .../Model/Generated/CodeableConcept.cs | 22 - .../Model/Generated/CodeableReference.cs | 22 - src/Hl7.Fhir.Base/Model/Generated/Coding.cs | 28 - .../Model/Generated/ContactDetail.cs | 22 - .../Model/Generated/ContactPoint.cs | 28 - .../Model/Generated/DomainResource.cs | 26 - src/Hl7.Fhir.Base/Model/Generated/Element.cs | 22 - .../Model/Generated/Extension.cs | 22 - .../Model/Generated/Identifier.cs | 30 - src/Hl7.Fhir.Base/Model/Generated/Meta.cs | 30 - .../Model/Generated/Narrative.cs | 22 - .../Model/Generated/OperationOutcome.cs | 50 - .../Model/Generated/Parameters.cs | 46 - src/Hl7.Fhir.Base/Model/Generated/Period.cs | 22 - src/Hl7.Fhir.Base/Model/Generated/Quantity.cs | 28 - src/Hl7.Fhir.Base/Model/Generated/Range.cs | 22 - src/Hl7.Fhir.Base/Model/Generated/Resource.cs | 26 - .../Model/Generated/ResourceReference.cs | 26 - .../Model/Generated/Signature.cs | 36 - .../Model/Generated/UsageContext.cs | 22 - .../Serialization/BaseFhirSerializer.cs | 4 +- .../Snapshot/SnapshotGeneratorExtensions.cs | 8 +- src/Hl7.Fhir.Base/Utility/NullExtensions.cs | 13 +- .../Model/Generated/CapabilityStatement.cs | 426 -------- .../Model/Generated/CodeSystem.cs | 222 ----- .../Model/Generated/ElementDefinition.cs | 328 ------- .../Model/Generated/RelatedArtifact.cs | 40 - .../Model/Generated/StructureDefinition.cs | 164 ---- .../Model/Generated/ValueSet.cs | 394 -------- src/Hl7.Fhir.R4/Model/Generated/Account.cs | 86 -- .../Model/Generated/ActivityDefinition.cs | 154 --- src/Hl7.Fhir.R4/Model/Generated/Address.cs | 38 - .../Model/Generated/AdverseEvent.cs | 106 -- .../Model/Generated/AllergyIntolerance.cs | 82 -- src/Hl7.Fhir.R4/Model/Generated/Annotation.cs | 24 - .../Model/Generated/Appointment.cs | 90 -- .../Model/Generated/AppointmentResponse.cs | 34 - src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs | 184 ---- src/Hl7.Fhir.R4/Model/Generated/Basic.cs | 28 - .../Generated/BiologicallyDerivedProduct.cs | 138 --- .../Model/Generated/BodyStructure.cs | 34 - src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs | 144 --- src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs | 70 -- .../Model/Generated/CatalogEntry.cs | 66 -- src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs | 92 -- .../Model/Generated/ChargeItemDefinition.cs | 136 --- src/Hl7.Fhir.R4/Model/Generated/Claim.cs | 430 -------- .../Model/Generated/ClaimResponse.cs | 430 -------- .../Model/Generated/ClinicalImpression.cs | 104 -- .../Model/Generated/Communication.cs | 84 -- .../Model/Generated/CommunicationRequest.cs | 82 -- .../Model/Generated/CompartmentDefinition.cs | 70 -- .../Model/Generated/Composition.cs | 156 --- src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs | 190 ---- src/Hl7.Fhir.R4/Model/Generated/Condition.cs | 98 -- src/Hl7.Fhir.R4/Model/Generated/Consent.cs | 174 ---- src/Hl7.Fhir.R4/Model/Generated/Contract.cs | 546 ----------- .../Model/Generated/Contributor.cs | 24 - src/Hl7.Fhir.R4/Model/Generated/Coverage.cs | 122 --- .../Generated/CoverageEligibilityRequest.cs | 152 --- .../Generated/CoverageEligibilityResponse.cs | 164 ---- .../Model/Generated/DataRequirement.cs | 106 -- .../Model/Generated/DetectedIssue.cs | 88 -- src/Hl7.Fhir.R4/Model/Generated/Device.cs | 192 ---- .../Model/Generated/DeviceDefinition.cs | 200 ---- .../Model/Generated/DeviceMetric.cs | 62 -- .../Model/Generated/DeviceRequest.cs | 88 -- .../Model/Generated/DeviceUseStatement.cs | 44 - .../Model/Generated/DiagnosticReport.cs | 76 -- .../Model/Generated/DocumentManifest.cs | 64 -- .../Model/Generated/DocumentReference.cs | 126 --- src/Hl7.Fhir.R4/Model/Generated/Dosage.cs | 68 -- .../Generated/EffectEvidenceSynthesis.cs | 238 ----- src/Hl7.Fhir.R4/Model/Generated/Encounter.cs | 218 ----- src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs | 40 - .../Model/Generated/EnrollmentRequest.cs | 32 - .../Model/Generated/EnrollmentResponse.cs | 34 - .../Model/Generated/EpisodeOfCare.cs | 88 -- .../Model/Generated/EventDefinition.cs | 74 -- src/Hl7.Fhir.R4/Model/Generated/Evidence.cs | 74 -- .../Model/Generated/EvidenceVariable.cs | 104 -- .../Model/Generated/ExampleScenario.cs | 268 ----- .../Model/Generated/ExplanationOfBenefit.cs | 752 -------------- src/Hl7.Fhir.R4/Model/Generated/Expression.cs | 28 - .../Model/Generated/FamilyMemberHistory.cs | 82 -- src/Hl7.Fhir.R4/Model/Generated/Flag.cs | 34 - src/Hl7.Fhir.R4/Model/Generated/Goal.cs | 74 -- .../Model/Generated/GraphDefinition.cs | 134 --- src/Hl7.Fhir.R4/Model/Generated/Group.cs | 88 -- .../Model/Generated/GuidanceResponse.cs | 48 - .../Model/Generated/HealthcareService.cs | 136 --- src/Hl7.Fhir.R4/Model/Generated/HumanName.cs | 32 - .../Model/Generated/ImagingStudy.cs | 148 --- .../Model/Generated/Immunization.cs | 174 ---- .../Model/Generated/ImmunizationEvaluation.cs | 44 - .../Generated/ImmunizationRecommendation.cs | 92 -- .../Model/Generated/ImplementationGuide.cs | 332 ------- .../Model/Generated/InsurancePlan.cs | 268 ----- src/Hl7.Fhir.R4/Model/Generated/Invoice.cs | 122 --- src/Hl7.Fhir.R4/Model/Generated/Library.cs | 80 -- src/Hl7.Fhir.R4/Model/Generated/Linkage.cs | 46 - src/Hl7.Fhir.R4/Model/Generated/List.cs | 70 -- src/Hl7.Fhir.R4/Model/Generated/Location.cs | 102 -- .../Model/Generated/MarketingStatus.cs | 28 - src/Hl7.Fhir.R4/Model/Generated/Measure.cs | 226 ----- .../Model/Generated/MeasureReport.cs | 184 ---- src/Hl7.Fhir.R4/Model/Generated/Media.cs | 62 -- src/Hl7.Fhir.R4/Model/Generated/Medication.cs | 80 -- .../Generated/MedicationAdministration.cs | 108 -- .../Model/Generated/MedicationDispense.cs | 114 --- .../Model/Generated/MedicationKnowledge.cs | 424 -------- .../Model/Generated/MedicationRequest.cs | 158 --- .../Model/Generated/MedicationStatement.cs | 52 - .../Model/Generated/MedicinalProduct.cs | 190 ---- .../MedicinalProductAuthorization.cs | 104 -- .../MedicinalProductContraindication.cs | 54 - .../Generated/MedicinalProductIndication.cs | 58 -- .../Generated/MedicinalProductIngredient.cs | 138 --- .../Generated/MedicinalProductInteraction.cs | 52 - .../Generated/MedicinalProductManufactured.cs | 32 - .../Generated/MedicinalProductPackaged.cs | 100 -- .../MedicinalProductPharmaceutical.cs | 132 --- .../MedicinalProductUndesirableEffect.cs | 28 - .../Model/Generated/MessageDefinition.cs | 114 --- .../Model/Generated/MessageHeader.cs | 118 --- .../Model/Generated/MolecularSequence.cs | 298 ------ src/Hl7.Fhir.R4/Model/Generated/Money.cs | 22 - .../Model/Generated/NamingSystem.cs | 72 -- .../Model/Generated/NutritionOrder.cs | 214 ---- .../Model/Generated/Observation.cs | 124 --- .../Model/Generated/ObservationDefinition.cs | 104 -- .../Model/Generated/OperationDefinition.cs | 176 ---- .../Model/Generated/Organization.cs | 64 -- .../Generated/OrganizationAffiliation.cs | 42 - .../Model/Generated/ParameterDefinition.cs | 32 - src/Hl7.Fhir.R4/Model/Generated/Patient.cs | 126 --- .../Model/Generated/PaymentNotice.cs | 42 - .../Model/Generated/PaymentReconciliation.cs | 108 -- src/Hl7.Fhir.R4/Model/Generated/Person.cs | 60 -- .../Model/Generated/PlanDefinition.cs | 298 ------ src/Hl7.Fhir.R4/Model/Generated/Population.cs | 26 - .../Model/Generated/Practitioner.cs | 64 -- .../Model/Generated/PractitionerRole.cs | 94 -- src/Hl7.Fhir.R4/Model/Generated/Procedure.cs | 120 --- .../Model/Generated/ProdCharacteristic.cs | 40 - .../Model/Generated/ProductShelfLife.cs | 26 - src/Hl7.Fhir.R4/Model/Generated/Provenance.cs | 88 -- .../Model/Generated/Questionnaire.cs | 178 ---- .../Model/Generated/QuestionnaireResponse.cs | 90 -- src/Hl7.Fhir.R4/Model/Generated/Ratio.cs | 22 - .../Model/Generated/RelatedPerson.cs | 64 -- .../Model/Generated/RequestGroup.cs | 156 --- .../Model/Generated/ResearchDefinition.cs | 86 -- .../Generated/ResearchElementDefinition.cs | 126 --- .../Model/Generated/ResearchStudy.cs | 112 --- .../Model/Generated/ResearchSubject.cs | 34 - .../Model/Generated/RiskAssessment.cs | 82 -- .../Model/Generated/RiskEvidenceSynthesis.cs | 210 ---- .../Model/Generated/SampledData.cs | 32 - src/Hl7.Fhir.R4/Model/Generated/Schedule.cs | 34 - .../Model/Generated/SearchParameter.cs | 92 -- .../Model/Generated/ServiceRequest.cs | 84 -- src/Hl7.Fhir.R4/Model/Generated/Slot.cs | 40 - src/Hl7.Fhir.R4/Model/Generated/Specimen.cs | 132 --- .../Model/Generated/SpecimenDefinition.cs | 144 --- .../Model/Generated/StructureMap.cs | 282 ------ .../Model/Generated/Subscription.cs | 58 -- src/Hl7.Fhir.R4/Model/Generated/Substance.cs | 78 -- .../Model/Generated/SubstanceAmount.cs | 48 - .../Model/Generated/SubstanceNucleicAcid.cs | 112 --- .../Model/Generated/SubstancePolymer.cs | 178 ---- .../Model/Generated/SubstanceProtein.cs | 60 -- .../SubstanceReferenceInformation.cs | 136 --- .../Generated/SubstanceSourceMaterial.cs | 198 ---- .../Model/Generated/SubstanceSpecification.cs | 350 ------- .../Model/Generated/SupplyDelivery.cs | 62 -- .../Model/Generated/SupplyRequest.cs | 70 -- src/Hl7.Fhir.R4/Model/Generated/Task.cs | 148 --- .../Generated/TerminologyCapabilities.cs | 296 ------ src/Hl7.Fhir.R4/Model/Generated/TestReport.cs | 242 ----- src/Hl7.Fhir.R4/Model/Generated/TestScript.cs | 508 ---------- src/Hl7.Fhir.R4/Model/Generated/Timing.cs | 72 -- .../Model/Generated/TriggerDefinition.cs | 28 - .../Model/Generated/VerificationResult.cs | 136 --- .../Model/Generated/VisionPrescription.cs | 102 -- src/Hl7.Fhir.R4B/Model/Generated/Account.cs | 86 -- .../Model/Generated/ActivityDefinition.cs | 154 --- src/Hl7.Fhir.R4B/Model/Generated/Address.cs | 38 - .../AdministrableProductDefinition.cs | 140 --- .../Model/Generated/AdverseEvent.cs | 106 -- .../Model/Generated/AllergyIntolerance.cs | 82 -- .../Model/Generated/Annotation.cs | 24 - .../Model/Generated/Appointment.cs | 90 -- .../Model/Generated/AppointmentResponse.cs | 34 - .../Model/Generated/AuditEvent.cs | 184 ---- src/Hl7.Fhir.R4B/Model/Generated/Basic.cs | 28 - .../Generated/BiologicallyDerivedProduct.cs | 138 --- .../Model/Generated/BodyStructure.cs | 34 - src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs | 144 --- src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs | 70 -- .../Model/Generated/CatalogEntry.cs | 66 -- .../Model/Generated/ChargeItem.cs | 92 -- .../Model/Generated/ChargeItemDefinition.cs | 136 --- src/Hl7.Fhir.R4B/Model/Generated/Citation.cs | 696 ------------- src/Hl7.Fhir.R4B/Model/Generated/Claim.cs | 430 -------- .../Model/Generated/ClaimResponse.cs | 430 -------- .../Model/Generated/ClinicalImpression.cs | 104 -- .../Model/Generated/ClinicalUseDefinition.cs | 216 ---- .../Model/Generated/Communication.cs | 84 -- .../Model/Generated/CommunicationRequest.cs | 82 -- .../Model/Generated/CompartmentDefinition.cs | 70 -- .../Model/Generated/Composition.cs | 156 --- .../Model/Generated/ConceptMap.cs | 190 ---- src/Hl7.Fhir.R4B/Model/Generated/Condition.cs | 98 -- src/Hl7.Fhir.R4B/Model/Generated/Consent.cs | 174 ---- src/Hl7.Fhir.R4B/Model/Generated/Contract.cs | 546 ----------- .../Model/Generated/Contributor.cs | 24 - src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs | 122 --- .../Generated/CoverageEligibilityRequest.cs | 152 --- .../Generated/CoverageEligibilityResponse.cs | 164 ---- .../Model/Generated/DataRequirement.cs | 106 -- .../Model/Generated/DetectedIssue.cs | 88 -- src/Hl7.Fhir.R4B/Model/Generated/Device.cs | 192 ---- .../Model/Generated/DeviceDefinition.cs | 200 ---- .../Model/Generated/DeviceMetric.cs | 62 -- .../Model/Generated/DeviceRequest.cs | 88 -- .../Model/Generated/DeviceUseStatement.cs | 44 - .../Model/Generated/DiagnosticReport.cs | 76 -- .../Model/Generated/DocumentManifest.cs | 64 -- .../Model/Generated/DocumentReference.cs | 126 --- src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs | 68 -- src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs | 218 ----- src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs | 40 - .../Model/Generated/EnrollmentRequest.cs | 32 - .../Model/Generated/EnrollmentResponse.cs | 34 - .../Model/Generated/EpisodeOfCare.cs | 88 -- .../Model/Generated/EventDefinition.cs | 74 -- src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs | 280 ------ .../Model/Generated/EvidenceReport.cs | 166 ---- .../Model/Generated/EvidenceVariable.cs | 146 --- .../Model/Generated/ExampleScenario.cs | 268 ----- .../Model/Generated/ExplanationOfBenefit.cs | 752 -------------- .../Model/Generated/Expression.cs | 28 - .../Model/Generated/FamilyMemberHistory.cs | 82 -- src/Hl7.Fhir.R4B/Model/Generated/Flag.cs | 34 - src/Hl7.Fhir.R4B/Model/Generated/Goal.cs | 74 -- .../Model/Generated/GraphDefinition.cs | 134 --- src/Hl7.Fhir.R4B/Model/Generated/Group.cs | 88 -- .../Model/Generated/GuidanceResponse.cs | 48 - .../Model/Generated/HealthcareService.cs | 136 --- src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs | 32 - .../Model/Generated/ImagingStudy.cs | 148 --- .../Model/Generated/Immunization.cs | 174 ---- .../Model/Generated/ImmunizationEvaluation.cs | 44 - .../Generated/ImmunizationRecommendation.cs | 92 -- .../Model/Generated/ImplementationGuide.cs | 332 ------- .../Model/Generated/Ingredient.cs | 136 --- .../Model/Generated/InsurancePlan.cs | 268 ----- src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs | 122 --- src/Hl7.Fhir.R4B/Model/Generated/Library.cs | 80 -- src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs | 46 - src/Hl7.Fhir.R4B/Model/Generated/List.cs | 70 -- src/Hl7.Fhir.R4B/Model/Generated/Location.cs | 102 -- .../Generated/ManufacturedItemDefinition.cs | 54 - .../Model/Generated/MarketingStatus.cs | 28 - src/Hl7.Fhir.R4B/Model/Generated/Measure.cs | 226 ----- .../Model/Generated/MeasureReport.cs | 184 ---- src/Hl7.Fhir.R4B/Model/Generated/Media.cs | 62 -- .../Model/Generated/Medication.cs | 80 -- .../Generated/MedicationAdministration.cs | 108 -- .../Model/Generated/MedicationDispense.cs | 114 --- .../Model/Generated/MedicationKnowledge.cs | 424 -------- .../Model/Generated/MedicationRequest.cs | 158 --- .../Model/Generated/MedicationStatement.cs | 52 - .../Generated/MedicinalProductDefinition.cs | 238 ----- .../Model/Generated/MessageDefinition.cs | 114 --- .../Model/Generated/MessageHeader.cs | 118 --- .../Model/Generated/MolecularSequence.cs | 298 ------ src/Hl7.Fhir.R4B/Model/Generated/Money.cs | 22 - .../Model/Generated/NamingSystem.cs | 72 -- .../Model/Generated/NutritionOrder.cs | 214 ---- .../Model/Generated/NutritionProduct.cs | 132 --- .../Model/Generated/Observation.cs | 124 --- .../Model/Generated/ObservationDefinition.cs | 104 -- .../Model/Generated/OperationDefinition.cs | 176 ---- .../Model/Generated/Organization.cs | 64 -- .../Generated/OrganizationAffiliation.cs | 42 - .../Generated/PackagedProductDefinition.cs | 174 ---- .../Model/Generated/ParameterDefinition.cs | 32 - src/Hl7.Fhir.R4B/Model/Generated/Patient.cs | 126 --- .../Model/Generated/PaymentNotice.cs | 42 - .../Model/Generated/PaymentReconciliation.cs | 108 -- src/Hl7.Fhir.R4B/Model/Generated/Person.cs | 60 -- .../Model/Generated/PlanDefinition.cs | 298 ------ .../Model/Generated/Population.cs | 26 - .../Model/Generated/Practitioner.cs | 64 -- .../Model/Generated/PractitionerRole.cs | 94 -- src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs | 120 --- .../Model/Generated/ProdCharacteristic.cs | 40 - .../Model/Generated/ProductShelfLife.cs | 26 - .../Model/Generated/Provenance.cs | 88 -- .../Model/Generated/Questionnaire.cs | 178 ---- .../Model/Generated/QuestionnaireResponse.cs | 90 -- src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs | 22 - .../Model/Generated/RatioRange.cs | 24 - .../Model/Generated/RegulatedAuthorization.cs | 74 -- .../Model/Generated/RelatedPerson.cs | 64 -- .../Model/Generated/RequestGroup.cs | 156 --- .../Model/Generated/ResearchDefinition.cs | 86 -- .../Generated/ResearchElementDefinition.cs | 126 --- .../Model/Generated/ResearchStudy.cs | 112 --- .../Model/Generated/ResearchSubject.cs | 34 - .../Model/Generated/RiskAssessment.cs | 82 -- .../Model/Generated/SampledData.cs | 32 - src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs | 34 - .../Model/Generated/SearchParameter.cs | 92 -- .../Model/Generated/ServiceRequest.cs | 84 -- src/Hl7.Fhir.R4B/Model/Generated/Slot.cs | 40 - src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs | 132 --- .../Model/Generated/SpecimenDefinition.cs | 144 --- .../Model/Generated/StructureMap.cs | 282 ------ .../Model/Generated/Subscription.cs | 58 -- .../Model/Generated/SubscriptionStatus.cs | 58 -- .../Model/Generated/SubscriptionTopic.cs | 194 ---- src/Hl7.Fhir.R4B/Model/Generated/Substance.cs | 78 -- .../Model/Generated/SubstanceDefinition.cs | 348 ------- .../Model/Generated/SupplyDelivery.cs | 62 -- .../Model/Generated/SupplyRequest.cs | 70 -- src/Hl7.Fhir.R4B/Model/Generated/Task.cs | 148 --- .../Generated/TerminologyCapabilities.cs | 296 ------ .../Model/Generated/TestReport.cs | 242 ----- .../Model/Generated/TestScript.cs | 508 ---------- src/Hl7.Fhir.R4B/Model/Generated/Timing.cs | 72 -- .../Model/Generated/TriggerDefinition.cs | 28 - .../Model/Generated/VerificationResult.cs | 136 --- .../Model/Generated/VisionPrescription.cs | 102 -- src/Hl7.Fhir.R5/Model/Generated/Account.cs | 206 ---- .../Model/Generated/ActivityDefinition.cs | 166 ---- .../Model/Generated/ActorDefinition.cs | 62 -- src/Hl7.Fhir.R5/Model/Generated/Address.cs | 38 - .../AdministrableProductDefinition.cs | 142 --- .../Model/Generated/AdverseEvent.cs | 214 ---- .../Model/Generated/AllergyIntolerance.cs | 102 -- src/Hl7.Fhir.R5/Model/Generated/Annotation.cs | 24 - .../Model/Generated/Appointment.cs | 228 ----- .../Model/Generated/AppointmentResponse.cs | 42 - .../Model/Generated/ArtifactAssessment.cs | 78 -- src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs | 178 ---- .../Model/Generated/Availability.cs | 70 -- src/Hl7.Fhir.R5/Model/Generated/Basic.cs | 28 - .../Generated/BiologicallyDerivedProduct.cs | 90 -- .../BiologicallyDerivedProductDispense.cs | 72 -- .../Model/Generated/BodyStructure.cs | 110 --- src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs | 88 -- src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs | 66 -- src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs | 92 -- .../Model/Generated/ChargeItemDefinition.cs | 116 --- src/Hl7.Fhir.R5/Model/Generated/Citation.cs | 578 ----------- src/Hl7.Fhir.R5/Model/Generated/Claim.cs | 506 ---------- .../Model/Generated/ClaimResponse.cs | 554 ----------- .../Model/Generated/ClinicalImpression.cs | 78 -- .../Model/Generated/ClinicalUseDefinition.cs | 222 ----- .../Model/Generated/Communication.cs | 82 -- .../Model/Generated/CommunicationRequest.cs | 82 -- .../Model/Generated/CompartmentDefinition.cs | 78 -- .../Model/Generated/Composition.cs | 138 --- src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs | 298 ------ src/Hl7.Fhir.R5/Model/Generated/Condition.cs | 96 -- .../Model/Generated/ConditionDefinition.cs | 188 ---- src/Hl7.Fhir.R5/Model/Generated/Consent.cs | 190 ---- src/Hl7.Fhir.R5/Model/Generated/Contract.cs | 542 ----------- .../Model/Generated/Contributor.cs | 24 - src/Hl7.Fhir.R5/Model/Generated/Coverage.cs | 158 --- .../Generated/CoverageEligibilityRequest.cs | 176 ---- .../Generated/CoverageEligibilityResponse.cs | 190 ---- .../Model/Generated/DataRequirement.cs | 134 --- .../Model/Generated/DetectedIssue.cs | 94 -- src/Hl7.Fhir.R5/Model/Generated/Device.cs | 208 ---- .../Model/Generated/DeviceAssociation.cs | 60 -- .../Model/Generated/DeviceDefinition.cs | 462 --------- .../Model/Generated/DeviceDispense.cs | 82 -- .../Model/Generated/DeviceMetric.cs | 60 -- .../Model/Generated/DeviceRequest.cs | 92 -- .../Model/Generated/DeviceUsage.cs | 74 -- .../Model/Generated/DiagnosticReport.cs | 104 -- .../Model/Generated/DocumentReference.cs | 152 --- src/Hl7.Fhir.R5/Model/Generated/Dosage.cs | 70 -- src/Hl7.Fhir.R5/Model/Generated/Encounter.cs | 198 ---- .../Model/Generated/EncounterHistory.cs | 66 -- src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs | 64 -- .../Model/Generated/EnrollmentRequest.cs | 32 - .../Model/Generated/EnrollmentResponse.cs | 34 - .../Model/Generated/EpisodeOfCare.cs | 110 --- .../Model/Generated/EventDefinition.cs | 78 -- src/Hl7.Fhir.R5/Model/Generated/Evidence.cs | 292 ------ .../Model/Generated/EvidenceReport.cs | 192 ---- .../Model/Generated/EvidenceVariable.cs | 226 ----- .../Model/Generated/ExampleScenario.cs | 286 ------ .../Model/Generated/ExplanationOfBenefit.cs | 920 ------------------ src/Hl7.Fhir.R5/Model/Generated/Expression.cs | 28 - .../Model/Generated/ExtendedContactDetail.cs | 30 - .../Model/Generated/FamilyMemberHistory.cs | 134 --- src/Hl7.Fhir.R5/Model/Generated/Flag.cs | 34 - .../Model/Generated/FormularyItem.cs | 24 - .../Model/Generated/GenomicStudy.cs | 192 ---- src/Hl7.Fhir.R5/Model/Generated/Goal.cs | 74 -- .../Model/Generated/GraphDefinition.cs | 148 --- src/Hl7.Fhir.R5/Model/Generated/Group.cs | 90 -- .../Model/Generated/GuidanceResponse.cs | 46 - .../Model/Generated/HealthcareService.cs | 86 -- src/Hl7.Fhir.R5/Model/Generated/HumanName.cs | 32 - .../Model/Generated/ImagingSelection.cs | 148 --- .../Model/Generated/ImagingStudy.cs | 144 --- .../Model/Generated/Immunization.cs | 170 ---- .../Model/Generated/ImmunizationEvaluation.cs | 44 - .../Generated/ImmunizationRecommendation.cs | 92 -- .../Model/Generated/ImplementationGuide.cs | 348 ------- src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs | 142 --- .../Model/Generated/InsurancePlan.cs | 242 ----- .../Model/Generated/InventoryItem.cs | 188 ---- .../Model/Generated/InventoryReport.cs | 88 -- src/Hl7.Fhir.R5/Model/Generated/Invoice.cs | 102 -- src/Hl7.Fhir.R5/Model/Generated/Library.cs | 84 -- src/Hl7.Fhir.R5/Model/Generated/Linkage.cs | 46 - src/Hl7.Fhir.R5/Model/Generated/List.cs | 70 -- src/Hl7.Fhir.R5/Model/Generated/Location.cs | 78 -- .../Generated/ManufacturedItemDefinition.cs | 116 --- .../Model/Generated/MarketingStatus.cs | 28 - src/Hl7.Fhir.R5/Model/Generated/Measure.cs | 292 ------ .../Model/Generated/MeasureReport.cs | 216 ---- src/Hl7.Fhir.R5/Model/Generated/Medication.cs | 82 -- .../Generated/MedicationAdministration.cs | 112 --- .../Model/Generated/MedicationDispense.cs | 120 --- .../Model/Generated/MedicationKnowledge.cs | 480 --------- .../Model/Generated/MedicationRequest.cs | 164 ---- .../Model/Generated/MedicationStatement.cs | 74 -- .../Generated/MedicinalProductDefinition.cs | 240 ----- .../Model/Generated/MessageDefinition.cs | 118 --- .../Model/Generated/MessageHeader.cs | 116 --- .../Model/Generated/MolecularSequence.cs | 124 --- .../Model/Generated/MonetaryComponent.cs | 26 - src/Hl7.Fhir.R5/Model/Generated/Money.cs | 22 - .../Model/Generated/NamingSystem.cs | 110 --- .../Model/Generated/NutritionIntake.cs | 134 --- .../Model/Generated/NutritionOrder.cs | 322 ------ .../Model/Generated/NutritionProduct.cs | 136 --- .../Model/Generated/Observation.cs | 156 --- .../Model/Generated/ObservationDefinition.cs | 160 --- .../Model/Generated/OperationDefinition.cs | 188 ---- .../Model/Generated/Organization.cs | 64 -- .../Generated/OrganizationAffiliation.cs | 42 - .../Generated/PackagedProductDefinition.cs | 154 --- .../Model/Generated/ParameterDefinition.cs | 32 - src/Hl7.Fhir.R5/Model/Generated/Patient.cs | 126 --- .../Model/Generated/PaymentNotice.cs | 42 - .../Model/Generated/PaymentReconciliation.cs | 142 --- src/Hl7.Fhir.R5/Model/Generated/Permission.cs | 152 --- src/Hl7.Fhir.R5/Model/Generated/Person.cs | 88 -- .../Model/Generated/PlanDefinition.cs | 418 -------- .../Model/Generated/Practitioner.cs | 88 -- .../Model/Generated/PractitionerRole.cs | 46 - src/Hl7.Fhir.R5/Model/Generated/Procedure.cs | 122 --- .../Model/Generated/ProductShelfLife.cs | 24 - src/Hl7.Fhir.R5/Model/Generated/Provenance.cs | 94 -- .../Model/Generated/Questionnaire.cs | 186 ---- .../Model/Generated/QuestionnaireResponse.cs | 90 -- src/Hl7.Fhir.R5/Model/Generated/Ratio.cs | 22 - src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs | 24 - .../Model/Generated/RegulatedAuthorization.cs | 76 -- .../Model/Generated/RelatedPerson.cs | 64 -- .../Model/Generated/RequestOrchestration.cs | 274 ------ .../Model/Generated/Requirements.cs | 98 -- .../Model/Generated/ResearchStudy.cs | 262 ----- .../Model/Generated/ResearchSubject.cs | 66 -- .../Model/Generated/RiskAssessment.cs | 80 -- .../Model/Generated/SampledData.cs | 38 - src/Hl7.Fhir.R5/Model/Generated/Schedule.cs | 36 - .../Model/Generated/SearchParameter.cs | 102 -- .../Model/Generated/ServiceRequest.cs | 148 --- src/Hl7.Fhir.R5/Model/Generated/Slot.cs | 40 - src/Hl7.Fhir.R5/Model/Generated/Specimen.cs | 158 --- .../Model/Generated/SpecimenDefinition.cs | 192 ---- .../Model/Generated/StructureMap.cs | 308 ------ .../Model/Generated/Subscription.cs | 102 -- .../Model/Generated/SubscriptionStatus.cs | 58 -- .../Model/Generated/SubscriptionTopic.cs | 202 ---- src/Hl7.Fhir.R5/Model/Generated/Substance.cs | 58 -- .../Model/Generated/SubstanceDefinition.cs | 384 -------- .../Model/Generated/SubstanceNucleicAcid.cs | 112 --- .../Model/Generated/SubstancePolymer.cs | 184 ---- .../Model/Generated/SubstanceProtein.cs | 60 -- .../SubstanceReferenceInformation.cs | 108 -- .../Generated/SubstanceSourceMaterial.cs | 198 ---- .../Model/Generated/SupplyDelivery.cs | 62 -- .../Model/Generated/SupplyRequest.cs | 72 -- src/Hl7.Fhir.R5/Model/Generated/Task.cs | 174 ---- .../Generated/TerminologyCapabilities.cs | 304 ------ src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs | 230 ----- src/Hl7.Fhir.R5/Model/Generated/TestReport.cs | 264 ----- src/Hl7.Fhir.R5/Model/Generated/TestScript.cs | 568 ----------- src/Hl7.Fhir.R5/Model/Generated/Timing.cs | 72 -- src/Hl7.Fhir.R5/Model/Generated/Transport.cs | 150 --- .../Model/Generated/TriggerDefinition.cs | 32 - .../Model/Generated/VerificationResult.cs | 136 --- .../Model/Generated/VirtualServiceDetail.cs | 28 - .../Model/Generated/VisionPrescription.cs | 102 -- src/Hl7.Fhir.STU3/Model/Generated/Account.cs | 88 -- .../Model/Generated/ActivityDefinition.cs | 134 --- src/Hl7.Fhir.STU3/Model/Generated/Address.cs | 38 - .../Model/Generated/AdverseEvent.cs | 82 -- .../Model/Generated/AllergyIntolerance.cs | 80 -- .../Model/Generated/Annotation.cs | 24 - .../Model/Generated/Appointment.cs | 84 -- .../Model/Generated/AppointmentResponse.cs | 34 - .../Model/Generated/AuditEvent.cs | 184 ---- src/Hl7.Fhir.STU3/Model/Generated/Basic.cs | 28 - src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs | 32 - .../Model/Generated/CapabilityStatement.cs | 468 --------- src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs | 136 --- src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs | 68 -- .../Model/Generated/ChargeItem.cs | 86 -- src/Hl7.Fhir.STU3/Model/Generated/Claim.cs | 430 -------- .../Model/Generated/ClaimResponse.cs | 346 ------- .../Model/Generated/ClinicalImpression.cs | 100 -- .../Model/Generated/CodeSystem.cs | 196 ---- .../Model/Generated/Communication.cs | 78 -- .../Model/Generated/CommunicationRequest.cs | 100 -- .../Model/Generated/CompartmentDefinition.cs | 72 -- .../Model/Generated/Composition.cs | 152 --- .../Model/Generated/ConceptMap.cs | 190 ---- .../Model/Generated/Condition.cs | 94 -- src/Hl7.Fhir.STU3/Model/Generated/Consent.cs | 202 ---- src/Hl7.Fhir.STU3/Model/Generated/Contract.cs | 304 ------ .../Model/Generated/Contributor.cs | 24 - src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs | 92 -- .../Model/Generated/DataElement.cs | 76 -- .../Model/Generated/DataRequirement.cs | 78 -- .../Model/Generated/DetectedIssue.cs | 64 -- src/Hl7.Fhir.STU3/Model/Generated/Device.cs | 84 -- .../Model/Generated/DeviceComponent.cs | 62 -- .../Model/Generated/DeviceMetric.cs | 62 -- .../Model/Generated/DeviceRequest.cs | 82 -- .../Model/Generated/DeviceUseStatement.cs | 40 - .../Model/Generated/DiagnosticReport.cs | 96 -- .../Model/Generated/DocumentManifest.cs | 84 -- .../Model/Generated/DocumentReference.cs | 150 --- src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs | 46 - .../Model/Generated/ElementDefinition.cs | 286 ------ .../Model/Generated/EligibilityRequest.cs | 48 - .../Model/Generated/EligibilityResponse.cs | 148 --- .../Model/Generated/Encounter.cs | 212 ---- src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs | 40 - .../Model/Generated/EnrollmentRequest.cs | 34 - .../Model/Generated/EnrollmentResponse.cs | 36 - .../Model/Generated/EpisodeOfCare.cs | 88 -- .../Model/Generated/ExpansionProfile.cs | 216 ---- .../Model/Generated/ExplanationOfBenefit.cs | 666 ------------- .../Model/Generated/FamilyMemberHistory.cs | 80 -- src/Hl7.Fhir.STU3/Model/Generated/Flag.cs | 34 - src/Hl7.Fhir.STU3/Model/Generated/Goal.cs | 72 -- .../Model/Generated/GraphDefinition.cs | 130 --- src/Hl7.Fhir.STU3/Model/Generated/Group.cs | 86 -- .../Model/Generated/GuidanceResponse.cs | 46 - .../Model/Generated/HealthcareService.cs | 114 --- .../Model/Generated/HumanName.cs | 32 - .../Model/Generated/ImagingManifest.cs | 102 -- .../Model/Generated/ImagingStudy.cs | 124 --- .../Model/Generated/Immunization.cs | 162 --- .../Generated/ImmunizationRecommendation.cs | 108 -- .../Model/Generated/ImplementationGuide.cs | 184 ---- src/Hl7.Fhir.STU3/Model/Generated/Library.cs | 70 -- src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs | 46 - src/Hl7.Fhir.STU3/Model/Generated/List.cs | 70 -- src/Hl7.Fhir.STU3/Model/Generated/Location.cs | 72 -- src/Hl7.Fhir.STU3/Model/Generated/Measure.cs | 198 ---- .../Model/Generated/MeasureReport.cs | 162 --- src/Hl7.Fhir.STU3/Model/Generated/Media.cs | 54 - .../Model/Generated/Medication.cs | 128 --- .../Generated/MedicationAdministration.cs | 110 --- .../Model/Generated/MedicationDispense.cs | 114 --- .../Model/Generated/MedicationRequest.cs | 138 --- .../Model/Generated/MedicationStatement.cs | 54 - .../Model/Generated/MessageDefinition.cs | 112 --- .../Model/Generated/MessageHeader.cs | 118 --- .../Model/Generated/NamingSystem.cs | 74 -- .../Model/Generated/NutritionOrder.cs | 204 ---- .../Model/Generated/Observation.cs | 140 --- .../Model/Generated/OperationDefinition.cs | 146 --- .../Model/Generated/Organization.cs | 64 -- .../Model/Generated/ParameterDefinition.cs | 32 - src/Hl7.Fhir.STU3/Model/Generated/Patient.cs | 152 --- .../Model/Generated/PaymentNotice.cs | 38 - .../Model/Generated/PaymentReconciliation.cs | 100 -- src/Hl7.Fhir.STU3/Model/Generated/Person.cs | 60 -- .../Model/Generated/PlanDefinition.cs | 292 ------ .../Model/Generated/Practitioner.cs | 64 -- .../Model/Generated/PractitionerRole.cs | 94 -- .../Model/Generated/Procedure.cs | 116 --- .../Model/Generated/ProcedureRequest.cs | 92 -- .../Model/Generated/ProcessRequest.cs | 68 -- .../Model/Generated/ProcessResponse.cs | 66 -- .../Model/Generated/Provenance.cs | 88 -- .../Model/Generated/Questionnaire.cs | 152 --- .../Model/Generated/QuestionnaireResponse.cs | 92 -- src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs | 22 - .../Model/Generated/ReferralRequest.cs | 86 -- .../Model/Generated/RelatedArtifact.cs | 30 - .../Model/Generated/RelatedPerson.cs | 40 - .../Model/Generated/RequestGroup.cs | 152 --- .../Model/Generated/ResearchStudy.cs | 82 -- .../Model/Generated/ResearchSubject.cs | 34 - .../Model/Generated/RiskAssessment.cs | 80 -- .../Model/Generated/SampledData.cs | 32 - src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs | 34 - .../Model/Generated/SearchParameter.cs | 88 -- src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs | 188 ---- .../Model/Generated/ServiceDefinition.cs | 68 -- src/Hl7.Fhir.STU3/Model/Generated/Slot.cs | 40 - src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs | 126 --- .../Model/Generated/StructureDefinition.cs | 140 --- .../Model/Generated/StructureMap.cs | 280 ------ .../Model/Generated/Subscription.cs | 60 -- .../Model/Generated/Substance.cs | 78 -- .../Model/Generated/SupplyDelivery.cs | 62 -- .../Model/Generated/SupplyRequest.cs | 86 -- src/Hl7.Fhir.STU3/Model/Generated/Task.cs | 162 --- .../Model/Generated/TestReport.cs | 242 ----- .../Model/Generated/TestScript.cs | 734 -------------- src/Hl7.Fhir.STU3/Model/Generated/Timing.cs | 72 -- .../Model/Generated/TriggerDefinition.cs | 26 - src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs | 268 ----- .../Model/Generated/VisionPrescription.cs | 82 -- .../Snapshot/ElementIdGenerator.cs | 359 ------- .../Snapshot/SnapshotGeneratorAnnotations.cs | 235 ----- .../Snapshot/SnapshotGeneratorErrors.cs | 45 - .../Snapshot/SnapshotGeneratorEvents.cs | 209 ---- .../Snapshot/SnapshotRecursionStack.cs | 155 --- .../Model/NullExtensionsTest.cs | 18 +- .../SummarySerializationTests.cs | 3 +- .../Hl7.Fhir.Shims.Base.projitems | 5 + .../Snapshot/ElementIdGenerator.cs | 0 .../Snapshot/SnapshotGeneratorAnnotations.cs | 10 +- .../Snapshot/SnapshotGeneratorErrors.cs | 0 .../Snapshot/SnapshotGeneratorEvents.cs | 0 .../Snapshot/SnapshotRecursionStack.cs | 0 .../Model/ModelTests.cs | 713 +++++++------- 654 files changed, 439 insertions(+), 82015 deletions(-) create mode 100644 src/Hl7.Fhir.Base/Model/Base.Extensions.cs delete mode 100644 src/Hl7.Fhir.STU3/Specification/Snapshot/ElementIdGenerator.cs delete mode 100644 src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorAnnotations.cs delete mode 100644 src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorErrors.cs delete mode 100644 src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorEvents.cs delete mode 100644 src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotRecursionStack.cs rename src/{Hl7.Fhir.Conformance => Hl7.Fhir.Shims.Base}/Specification/Snapshot/ElementIdGenerator.cs (100%) rename src/{Hl7.Fhir.Conformance => Hl7.Fhir.Shims.Base}/Specification/Snapshot/SnapshotGeneratorAnnotations.cs (96%) rename src/{Hl7.Fhir.Conformance => Hl7.Fhir.Shims.Base}/Specification/Snapshot/SnapshotGeneratorErrors.cs (100%) rename src/{Hl7.Fhir.Conformance => Hl7.Fhir.Shims.Base}/Specification/Snapshot/SnapshotGeneratorEvents.cs (100%) rename src/{Hl7.Fhir.Conformance => Hl7.Fhir.Shims.Base}/Specification/Snapshot/SnapshotRecursionStack.cs (100%) diff --git a/src/Hl7.Fhir.Base/Model/Base.Extensions.cs b/src/Hl7.Fhir.Base/Model/Base.Extensions.cs new file mode 100644 index 000000000..261b45612 --- /dev/null +++ b/src/Hl7.Fhir.Base/Model/Base.Extensions.cs @@ -0,0 +1,39 @@ +#nullable enable +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Hl7.Fhir.Model; + +public static class BaseExtensions +{ + [Obsolete("Use GetElementPairs() instead. Note that with GetElementPairs(), the elements are not guaranteed to " + + "be the same type, as they reflect the type in the actual POCO definition.")] + public static IEnumerable Children(this Base instance) + { + foreach (var element in instance.GetElementPairs()) + { + switch (element.Key, element.Value) + { + case ("div", XHtml xhtml): + yield return new FhirString(xhtml.Value); + break; + case ("id", string id): + yield return new FhirString(id); + break; + case ("url", string url): + yield return new FhirUri(url); + break; + case (_, IEnumerable list): + foreach (var item in list) + yield return item; + break; + case("value", _) when instance is PrimitiveType: + yield break; + default: + yield return (Base)element.Value; + break; + } + } + } +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Base/Model/Base.cs b/src/Hl7.Fhir.Base/Model/Base.cs index 8ff8334fd..c5bcbb35a 100644 --- a/src/Hl7.Fhir.Base/Model/Base.cs +++ b/src/Hl7.Fhir.Base/Model/Base.cs @@ -32,11 +32,11 @@ POSSIBILITY OF SUCH DAMAGE. using Hl7.Fhir.ElementModel; using Hl7.Fhir.Utility; using System; -using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; +using System.Linq; using System.Threading; namespace Hl7.Fhir.Model; @@ -119,7 +119,6 @@ internal protected virtual bool TryGetValue(string key, [NotNullWhen(true)] out // TODO bring Children + NamedChildren over as well. } - /// /// A dynamic data type that can hold any element. /// diff --git a/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs b/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs index bb7f076c0..d48efce63 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Attachment.cs @@ -546,50 +546,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (LanguageElement != null) yield return LanguageElement; - if (DataElement != null) yield return DataElement; - if (UrlElement != null) yield return UrlElement; - if (SizeElement != null) yield return SizeElement; - if (HashElement != null) yield return HashElement; - if (TitleElement != null) yield return TitleElement; - if (CreationElement != null) yield return CreationElement; - if (HeightElement != null) yield return HeightElement; - if (WidthElement != null) yield return WidthElement; - if (FramesElement != null) yield return FramesElement; - if (DurationElement != null) yield return DurationElement; - if (PagesElement != null) yield return PagesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (SizeElement != null) yield return new ElementValue("size", SizeElement); - if (HashElement != null) yield return new ElementValue("hash", HashElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (CreationElement != null) yield return new ElementValue("creation", CreationElement); - if (HeightElement != null) yield return new ElementValue("height", HeightElement); - if (WidthElement != null) yield return new ElementValue("width", WidthElement); - if (FramesElement != null) yield return new ElementValue("frames", FramesElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (PagesElement != null) yield return new ElementValue("pages", PagesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs b/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs index 3834806bc..896094269 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/BackboneElement.cs @@ -105,26 +105,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ModifierExtension) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ModifierExtension) { if (elem != null) yield return new ElementValue("modifierExtension", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs b/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs index cd94c8719..df8878410 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/BackboneType.cs @@ -105,26 +105,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ModifierExtension) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ModifierExtension) { if (elem != null) yield return new ElementValue("modifierExtension", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Base.cs b/src/Hl7.Fhir.Base/Model/Generated/Base.cs index a90f8d404..2a8bf0ff2 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Base.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Base.cs @@ -77,27 +77,6 @@ public virtual IDeepCopyable DeepCopy() => public virtual bool IsExactly(IDeepComparable other) => other is Base; - /// - /// Enumerate all child nodes. - /// Return a sequence of child elements, components and/or properties. - /// Child nodes are returned in the order defined by the FHIR specification. - /// First returns child nodes inherited from any base class(es), recursively. - /// Finally returns child nodes defined by the current class. - /// - [IgnoreDataMember] - public virtual IEnumerable Children => Enumerable.Empty(); - - /// - /// Enumerate all child nodes. - /// Return a sequence of child elements, components and/or properties. - /// Child nodes are returned as tuples with the name and the node itself, in the order defined - /// by the FHIR specification. - /// First returns child nodes inherited from any base class(es), recursively. - /// Finally returns child nodes defined by the current class. - /// - [IgnoreDataMember] - public virtual IEnumerable NamedChildren => Enumerable.Empty(); - } } diff --git a/src/Hl7.Fhir.Base/Model/Generated/Binary.cs b/src/Hl7.Fhir.Base/Model/Generated/Binary.cs index c16ced223..03253174b 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Binary.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Binary.cs @@ -225,32 +225,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (SecurityContext != null) yield return SecurityContext; - if (ContentElement != null) yield return ContentElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (SecurityContext != null) yield return new ElementValue("securityContext", SecurityContext); - if (ContentElement != null) yield return new ElementValue("content", ContentElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs b/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs index 5cf913df2..49b937a47 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Bundle.cs @@ -1063,28 +1063,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationElement != null) yield return RelationElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationElement != null) yield return new ElementValue("relation", RelationElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1298,36 +1276,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Link) { if (elem != null) yield return elem; } - if (FullUrlElement != null) yield return FullUrlElement; - if (Resource != null) yield return Resource; - if (Search != null) yield return Search; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - if (FullUrlElement != null) yield return new ElementValue("fullUrl", FullUrlElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - if (Search != null) yield return new ElementValue("search", Search); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1522,28 +1470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (ScoreElement != null) yield return ScoreElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (ScoreElement != null) yield return new ElementValue("score", ScoreElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1848,36 +1774,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MethodElement != null) yield return MethodElement; - if (UrlElement != null) yield return UrlElement; - if (IfNoneMatchElement != null) yield return IfNoneMatchElement; - if (IfModifiedSinceElement != null) yield return IfModifiedSinceElement; - if (IfMatchElement != null) yield return IfMatchElement; - if (IfNoneExistElement != null) yield return IfNoneExistElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MethodElement != null) yield return new ElementValue("method", MethodElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (IfNoneMatchElement != null) yield return new ElementValue("ifNoneMatch", IfNoneMatchElement); - if (IfModifiedSinceElement != null) yield return new ElementValue("ifModifiedSince", IfModifiedSinceElement); - if (IfMatchElement != null) yield return new ElementValue("ifMatch", IfMatchElement); - if (IfNoneExistElement != null) yield return new ElementValue("ifNoneExist", IfNoneExistElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2157,34 +2053,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (LocationElement != null) yield return LocationElement; - if (EtagElement != null) yield return EtagElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Outcome != null) yield return Outcome; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (LocationElement != null) yield return new ElementValue("location", LocationElement); - if (EtagElement != null) yield return new ElementValue("etag", EtagElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2477,40 +2345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (TypeElement != null) yield return TypeElement; - if (TimestampElement != null) yield return TimestampElement; - if (TotalElement != null) yield return TotalElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (Signature != null) yield return Signature; - if (Issues != null) yield return Issues; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (TotalElement != null) yield return new ElementValue("total", TotalElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (Signature != null) yield return new ElementValue("signature", Signature); - if (Issues != null) yield return new ElementValue("issues", Issues); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs b/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs index dc541e085..4a5bf3dc4 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/CodeableConcept.cs @@ -150,28 +150,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Coding) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Coding) { if (elem != null) yield return new ElementValue("coding", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs b/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs index c5d6e819b..297fa81d9 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/CodeableReference.cs @@ -130,28 +130,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Concept != null) yield return Concept; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Concept != null) yield return new ElementValue("concept", Concept); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Coding.cs b/src/Hl7.Fhir.Base/Model/Generated/Coding.cs index 29c35bd0a..705959f2f 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Coding.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Coding.cs @@ -268,34 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (VersionElement != null) yield return VersionElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (UserSelectedElement != null) yield return UserSelectedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (UserSelectedElement != null) yield return new ElementValue("userSelected", UserSelectedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs b/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs index cea275a33..9c0b392cc 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ContactDetail.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs b/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs index ade9a1412..db5973433 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ContactPoint.cs @@ -346,34 +346,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (ValueElement != null) yield return ValueElement; - if (UseElement != null) yield return UseElement; - if (RankElement != null) yield return RankElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs b/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs index b41917542..0174e8bcc 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/DomainResource.cs @@ -157,32 +157,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Text != null) yield return Text; - foreach (var elem in Contained) { if (elem != null) yield return elem; } - foreach (var elem in Extension) { if (elem != null) yield return elem; } - foreach (var elem in ModifierExtension) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Text != null) yield return new ElementValue("text", Text); - foreach (var elem in Contained) { if (elem != null) yield return new ElementValue("contained", elem); } - foreach (var elem in Extension) { if (elem != null) yield return new ElementValue("extension", elem); } - foreach (var elem in ModifierExtension) { if (elem != null) yield return new ElementValue("modifierExtension", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Element.cs b/src/Hl7.Fhir.Base/Model/Generated/Element.cs index 63dd9ad37..52eb68a0b 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Element.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Element.cs @@ -122,28 +122,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ElementId != null) yield return new FhirString(ElementId); - foreach (var elem in Extension) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ElementId != null) yield return new ElementValue("id", new FhirString(ElementId)); - foreach (var elem in Extension) { if (elem != null) yield return new ElementValue("extension", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Extension.cs b/src/Hl7.Fhir.Base/Model/Generated/Extension.cs index a13aff91c..0fde7c026 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Extension.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Extension.cs @@ -133,28 +133,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Url != null) yield return new FhirUri(Url); - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Url != null) yield return new ElementValue("url", new FhirUri(Url)); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs b/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs index 4067d6e14..9a67ff9c1 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Identifier.cs @@ -294,36 +294,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (Type != null) yield return Type; - if (SystemElement != null) yield return SystemElement; - if (ValueElement != null) yield return ValueElement; - if (Period != null) yield return Period; - if (Assigner != null) yield return Assigner; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Assigner != null) yield return new ElementValue("assigner", Assigner); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Meta.cs b/src/Hl7.Fhir.Base/Model/Generated/Meta.cs index fafffd169..13c82f149 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Meta.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Meta.cs @@ -272,36 +272,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VersionIdElement != null) yield return VersionIdElement; - if (LastUpdatedElement != null) yield return LastUpdatedElement; - if (SourceElement != null) yield return SourceElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - foreach (var elem in Security) { if (elem != null) yield return elem; } - foreach (var elem in Tag) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VersionIdElement != null) yield return new ElementValue("versionId", VersionIdElement); - if (LastUpdatedElement != null) yield return new ElementValue("lastUpdated", LastUpdatedElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Security) { if (elem != null) yield return new ElementValue("security", elem); } - foreach (var elem in Tag) { if (elem != null) yield return new ElementValue("tag", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs b/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs index 1f388e7d3..1906d7526 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Narrative.cs @@ -204,28 +204,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (DivElement != null) yield return new FhirString(DivElement.Value); - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DivElement != null) yield return new ElementValue("div", new FhirString(DivElement.Value)); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs b/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs index 2e113813f..c37bdc3fe 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/OperationOutcome.cs @@ -559,36 +559,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SeverityElement != null) yield return SeverityElement; - if (CodeElement != null) yield return CodeElement; - if (Details != null) yield return Details; - if (DiagnosticsElement != null) yield return DiagnosticsElement; - foreach (var elem in LocationElement) { if (elem != null) yield return elem; } - foreach (var elem in ExpressionElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Details != null) yield return new ElementValue("details", Details); - if (DiagnosticsElement != null) yield return new ElementValue("diagnostics", DiagnosticsElement); - foreach (var elem in LocationElement) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in ExpressionElement) { if (elem != null) yield return new ElementValue("expression", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -714,26 +684,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Issue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Issue) { if (elem != null) yield return new ElementValue("issue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs b/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs index b2010c454..d4b7e7a2d 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Parameters.cs @@ -201,32 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Value != null) yield return Value; - if (Resource != null) yield return Resource; - foreach (var elem in Part) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Value != null) yield return new ElementValue("value", Value); - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -338,26 +312,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Period.cs b/src/Hl7.Fhir.Base/Model/Generated/Period.cs index 024a0c9ce..90c1d95fa 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Period.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Period.cs @@ -168,28 +168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs b/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs index 9d30507ed..3f65975ea 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Quantity.cs @@ -311,34 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (ComparatorElement != null) yield return ComparatorElement; - if (UnitElement != null) yield return UnitElement; - if (SystemElement != null) yield return SystemElement; - if (CodeElement != null) yield return CodeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (ComparatorElement != null) yield return new ElementValue("comparator", ComparatorElement); - if (UnitElement != null) yield return new ElementValue("unit", UnitElement); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Range.cs b/src/Hl7.Fhir.Base/Model/Generated/Range.cs index c6d770523..7f9f91421 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Range.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Range.cs @@ -131,28 +131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Low != null) yield return Low; - if (High != null) yield return High; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Low != null) yield return new ElementValue("low", Low); - if (High != null) yield return new ElementValue("high", High); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Resource.cs b/src/Hl7.Fhir.Base/Model/Generated/Resource.cs index 3931c0496..caaae2209 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Resource.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Resource.cs @@ -207,32 +207,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdElement != null) yield return IdElement; - if (Meta != null) yield return Meta; - if (ImplicitRulesElement != null) yield return ImplicitRulesElement; - if (LanguageElement != null) yield return LanguageElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdElement != null) yield return new ElementValue("id", IdElement); - if (Meta != null) yield return new ElementValue("meta", Meta); - if (ImplicitRulesElement != null) yield return new ElementValue("implicitRules", ImplicitRulesElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs b/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs index 9aaf19e55..665371649 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/ResourceReference.cs @@ -217,32 +217,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ReferenceElement != null) yield return ReferenceElement; - if (TypeElement != null) yield return TypeElement; - if (Identifier != null) yield return Identifier; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/Signature.cs b/src/Hl7.Fhir.Base/Model/Generated/Signature.cs index 6427fffff..8be71a802 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/Signature.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/Signature.cs @@ -375,42 +375,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (WhenElement != null) yield return WhenElement; - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (TargetFormatElement != null) yield return TargetFormatElement; - if (SigFormatElement != null) yield return SigFormatElement; - if (BlobElement != null) yield return BlobElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (WhenElement != null) yield return new ElementValue("when", WhenElement); - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (TargetFormatElement != null) yield return new ElementValue("targetFormat", TargetFormatElement); - if (SigFormatElement != null) yield return new ElementValue("sigFormat", SigFormatElement); - if (BlobElement != null) yield return new ElementValue("blob", BlobElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs b/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs index 344042beb..bc541e1b0 100644 --- a/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs +++ b/src/Hl7.Fhir.Base/Model/Generated/UsageContext.cs @@ -137,28 +137,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Base/Serialization/BaseFhirSerializer.cs b/src/Hl7.Fhir.Base/Serialization/BaseFhirSerializer.cs index 3fa8d72c9..b4078da05 100644 --- a/src/Hl7.Fhir.Base/Serialization/BaseFhirSerializer.cs +++ b/src/Hl7.Fhir.Base/Serialization/BaseFhirSerializer.cs @@ -82,7 +82,9 @@ private void addSubsetted(Base instance, bool atRoot) } } - foreach (var child in instance.Children) +#pragma warning disable CS0618 // Type or member is obsolete + foreach (var child in instance.Children()) +#pragma warning restore CS0618 // Type or member is obsolete addSubsetted(child, atRoot: false); } } diff --git a/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs b/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs index 3cd2cb0ab..20bdc6b44 100644 --- a/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs +++ b/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs @@ -59,7 +59,7 @@ public static void RemoveAllConstrainedByDiffExtensions(this Element element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveConstrainedByDiffExtension(); - foreach (var child in element.Children.OfType()) + foreach (var child in element.Children().OfType()) { child.RemoveAllConstrainedByDiffExtensions(); } @@ -81,7 +81,9 @@ internal static void RemoveAllNonInheritableExtensions(this Element element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveNonInheritableExtensions(); - foreach (var child in element.Children.OfType()) +#pragma warning disable CS0618 // Type or member is obsolete + foreach (var child in element.Children().OfType()) +#pragma warning restore CS0618 // Type or member is obsolete { child.RemoveAllNonInheritableExtensions(); } @@ -159,4 +161,4 @@ static void ClearExtension(this IExtendable extendable, string uri) #endif } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Base/Utility/NullExtensions.cs b/src/Hl7.Fhir.Base/Utility/NullExtensions.cs index cea6a5431..1cb9d1a32 100644 --- a/src/Hl7.Fhir.Base/Utility/NullExtensions.cs +++ b/src/Hl7.Fhir.Base/Utility/NullExtensions.cs @@ -14,8 +14,6 @@ namespace Hl7.Fhir.Utility { public static class NullExtensions { - // Note: argument needs to be strongly typed (List, not IList) in order to prevent resolving conflicts with generic method below - /// Determines if the list is null or empty. public static bool IsNullOrEmpty(this IList list) => list == null || list.Count == 0; @@ -23,18 +21,19 @@ public static class NullExtensions /// Determines if the element is null or empty. /// For primitive values, verifies that the value equals null. /// For primitive string values, verifies that the string value is null or empty. - /// Recursively verifies that all instances are null or empty. + /// Recursively verifies that all child elements are null or empty. /// - public static bool IsNullOrEmpty(this Base element) { if (element == null) { return true; } var isEmpty = element is IValue ss ? string.IsNullOrEmpty(ss.Value) - : !(element is PrimitiveType pp) || pp.ObjectValue == null; + : element is not PrimitiveType pp || pp.ObjectValue == null; // Note: Children collection includes extensions - return isEmpty && !element.Children.Any(c => !c.IsNullOrEmpty()); +#pragma warning disable CS0618 // Type or member is obsolete + return isEmpty && element.Children().All(c => c.IsNullOrEmpty()); +#pragma warning restore CS0618 // Type or member is obsolete } } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs b/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs index 1da78c45f..545341b38 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/CapabilityStatement.cs @@ -512,30 +512,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (VersionElement != null) yield return VersionElement; - if (ReleaseDateElement != null) yield return ReleaseDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (ReleaseDateElement != null) yield return new ElementValue("releaseDate", ReleaseDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -728,30 +704,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (UrlElement != null) yield return UrlElement; - if (Custodian != null) yield return Custodian; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1046,40 +998,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (Security != null) yield return Security; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Interaction) { if (elem != null) yield return elem; } - foreach (var elem in SearchParam) { if (elem != null) yield return elem; } - foreach (var elem in Operation) { if (elem != null) yield return elem; } - foreach (var elem in CompartmentElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (Security != null) yield return new ElementValue("security", Security); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Interaction) { if (elem != null) yield return new ElementValue("interaction", elem); } - foreach (var elem in SearchParam) { if (elem != null) yield return new ElementValue("searchParam", elem); } - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - foreach (var elem in CompartmentElement) { if (elem != null) yield return new ElementValue("compartment", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1304,30 +1222,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CorsElement != null) yield return CorsElement; - foreach (var elem in Service) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CorsElement != null) yield return new ElementValue("cors", CorsElement); - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2007,60 +1901,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in SupportedProfileElement) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Interaction) { if (elem != null) yield return elem; } - if (VersioningElement != null) yield return VersioningElement; - if (ReadHistoryElement != null) yield return ReadHistoryElement; - if (UpdateCreateElement != null) yield return UpdateCreateElement; - if (ConditionalCreateElement != null) yield return ConditionalCreateElement; - if (ConditionalReadElement != null) yield return ConditionalReadElement; - if (ConditionalUpdateElement != null) yield return ConditionalUpdateElement; - if (ConditionalPatchElement != null) yield return ConditionalPatchElement; - if (ConditionalDeleteElement != null) yield return ConditionalDeleteElement; - foreach (var elem in ReferencePolicyElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchIncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchRevIncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchParam) { if (elem != null) yield return elem; } - foreach (var elem in Operation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in SupportedProfileElement) { if (elem != null) yield return new ElementValue("supportedProfile", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Interaction) { if (elem != null) yield return new ElementValue("interaction", elem); } - if (VersioningElement != null) yield return new ElementValue("versioning", VersioningElement); - if (ReadHistoryElement != null) yield return new ElementValue("readHistory", ReadHistoryElement); - if (UpdateCreateElement != null) yield return new ElementValue("updateCreate", UpdateCreateElement); - if (ConditionalCreateElement != null) yield return new ElementValue("conditionalCreate", ConditionalCreateElement); - if (ConditionalReadElement != null) yield return new ElementValue("conditionalRead", ConditionalReadElement); - if (ConditionalUpdateElement != null) yield return new ElementValue("conditionalUpdate", ConditionalUpdateElement); - if (ConditionalPatchElement != null) yield return new ElementValue("conditionalPatch", ConditionalPatchElement); - if (ConditionalDeleteElement != null) yield return new ElementValue("conditionalDelete", ConditionalDeleteElement); - foreach (var elem in ReferencePolicyElement) { if (elem != null) yield return new ElementValue("referencePolicy", elem); } - foreach (var elem in SearchIncludeElement) { if (elem != null) yield return new ElementValue("searchInclude", elem); } - foreach (var elem in SearchRevIncludeElement) { if (elem != null) yield return new ElementValue("searchRevInclude", elem); } - foreach (var elem in SearchParam) { if (elem != null) yield return new ElementValue("searchParam", elem); } - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2341,28 +2181,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2600,32 +2418,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TypeElement != null) yield return TypeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2842,30 +2634,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3040,28 +2808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3261,32 +3007,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (ReliableCacheElement != null) yield return ReliableCacheElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in SupportedMessage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (ReliableCacheElement != null) yield return new ElementValue("reliableCache", ReliableCacheElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in SupportedMessage) { if (elem != null) yield return new ElementValue("supportedMessage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3450,28 +3170,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Protocol != null) yield return Protocol; - if (AddressElement != null) yield return AddressElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Protocol != null) yield return new ElementValue("protocol", Protocol); - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3641,28 +3339,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (DefinitionElement != null) yield return DefinitionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3865,30 +3541,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4847,84 +4499,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (KindElement != null) yield return KindElement; - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - foreach (var elem in ImportsElement) { if (elem != null) yield return elem; } - if (Software != null) yield return Software; - if (Implementation != null) yield return Implementation; - if (FhirVersionElement != null) yield return FhirVersionElement; - foreach (var elem in FormatElement) { if (elem != null) yield return elem; } - foreach (var elem in PatchFormatElement) { if (elem != null) yield return elem; } - foreach (var elem in AcceptLanguageElement) { if (elem != null) yield return elem; } - foreach (var elem in ImplementationGuideElement) { if (elem != null) yield return elem; } - foreach (var elem in Rest) { if (elem != null) yield return elem; } - foreach (var elem in Messaging) { if (elem != null) yield return elem; } - foreach (var elem in Document) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - foreach (var elem in ImportsElement) { if (elem != null) yield return new ElementValue("imports", elem); } - if (Software != null) yield return new ElementValue("software", Software); - if (Implementation != null) yield return new ElementValue("implementation", Implementation); - if (FhirVersionElement != null) yield return new ElementValue("fhirVersion", FhirVersionElement); - foreach (var elem in FormatElement) { if (elem != null) yield return new ElementValue("format", elem); } - foreach (var elem in PatchFormatElement) { if (elem != null) yield return new ElementValue("patchFormat", elem); } - foreach (var elem in AcceptLanguageElement) { if (elem != null) yield return new ElementValue("acceptLanguage", elem); } - foreach (var elem in ImplementationGuideElement) { if (elem != null) yield return new ElementValue("implementationGuide", elem); } - foreach (var elem in Rest) { if (elem != null) yield return new ElementValue("rest", elem); } - foreach (var elem in Messaging) { if (elem != null) yield return new ElementValue("messaging", elem); } - foreach (var elem in Document) { if (elem != null) yield return new ElementValue("document", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs b/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs index 8a4d7cb22..8266896c2 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/CodeSystem.cs @@ -342,32 +342,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OperatorElement) { if (elem != null) yield return elem; } - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OperatorElement) { if (elem != null) yield return new ElementValue("operator", elem); } - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -619,32 +593,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (UriElement != null) yield return UriElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -910,36 +858,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Concept) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1170,32 +1088,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - foreach (var elem in AdditionalUse) { if (elem != null) yield return elem; } - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - foreach (var elem in AdditionalUse) { if (elem != null) yield return new ElementValue("additionalUse", elem); } - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1360,28 +1252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2477,98 +2347,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (CaseSensitiveElement != null) yield return CaseSensitiveElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (HierarchyMeaningElement != null) yield return HierarchyMeaningElement; - if (CompositionalElement != null) yield return CompositionalElement; - if (VersionNeededElement != null) yield return VersionNeededElement; - if (ContentElement != null) yield return ContentElement; - if (SupplementsElement != null) yield return SupplementsElement; - if (CountElement != null) yield return CountElement; - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Concept) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (CaseSensitiveElement != null) yield return new ElementValue("caseSensitive", CaseSensitiveElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (HierarchyMeaningElement != null) yield return new ElementValue("hierarchyMeaning", HierarchyMeaningElement); - if (CompositionalElement != null) yield return new ElementValue("compositional", CompositionalElement); - if (VersionNeededElement != null) yield return new ElementValue("versionNeeded", VersionNeededElement); - if (ContentElement != null) yield return new ElementValue("content", ContentElement); - if (SupplementsElement != null) yield return new ElementValue("supplements", SupplementsElement); - if (CountElement != null) yield return new ElementValue("count", CountElement); - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs b/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs index b2dca53d5..9f0c728df 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/ElementDefinition.cs @@ -478,32 +478,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Discriminator) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OrderedElement != null) yield return OrderedElement; - if (RulesElement != null) yield return RulesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Discriminator) { if (elem != null) yield return new ElementValue("discriminator", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OrderedElement != null) yield return new ElementValue("ordered", OrderedElement); - if (RulesElement != null) yield return new ElementValue("rules", RulesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -687,28 +661,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (PathElement != null) yield return PathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -911,30 +863,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1218,34 +1146,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - foreach (var elem in TargetProfileElement) { if (elem != null) yield return elem; } - foreach (var elem in AggregationElement) { if (elem != null) yield return elem; } - if (VersioningElement != null) yield return VersioningElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in TargetProfileElement) { if (elem != null) yield return new ElementValue("targetProfile", elem); } - foreach (var elem in AggregationElement) { if (elem != null) yield return new ElementValue("aggregation", elem); } - if (VersioningElement != null) yield return new ElementValue("versioning", VersioningElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1416,28 +1316,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1815,40 +1693,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (RequirementsElement != null) yield return RequirementsElement; - if (SeverityElement != null) yield return SeverityElement; - if (SuppressElement != null) yield return SuppressElement; - if (HumanElement != null) yield return HumanElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (XpathElement != null) yield return XpathElement; - if (SourceElement != null) yield return SourceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (RequirementsElement != null) yield return new ElementValue("requirements", RequirementsElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (SuppressElement != null) yield return new ElementValue("suppress", SuppressElement); - if (HumanElement != null) yield return new ElementValue("human", HumanElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (XpathElement != null) yield return new ElementValue("xpath", XpathElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2112,32 +1956,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ValueSetElement != null) yield return ValueSetElement; - foreach (var elem in Additional) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - foreach (var elem in Additional) { if (elem != null) yield return new ElementValue("additional", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2439,36 +2257,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PurposeElement != null) yield return PurposeElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (ShortDocoElement != null) yield return ShortDocoElement; - foreach (var elem in Usage) { if (elem != null) yield return elem; } - if (AnyElement != null) yield return AnyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (ShortDocoElement != null) yield return new ElementValue("shortDoco", ShortDocoElement); - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - if (AnyElement != null) yield return new ElementValue("any", AnyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2735,32 +2523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentityElement != null) yield return IdentityElement; - if (LanguageElement != null) yield return LanguageElement; - if (MapElement != null) yield return MapElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentityElement != null) yield return new ElementValue("identity", IdentityElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (MapElement != null) yield return new ElementValue("map", MapElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3862,96 +3624,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - foreach (var elem in RepresentationElement) { if (elem != null) yield return elem; } - if (SliceNameElement != null) yield return SliceNameElement; - if (SliceIsConstrainingElement != null) yield return SliceIsConstrainingElement; - if (LabelElement != null) yield return LabelElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (Slicing != null) yield return Slicing; - if (ShortElement != null) yield return ShortElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (CommentElement != null) yield return CommentElement; - if (RequirementsElement != null) yield return RequirementsElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (Base != null) yield return Base; - if (ContentReferenceElement != null) yield return ContentReferenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DefaultValue != null) yield return DefaultValue; - if (MeaningWhenMissingElement != null) yield return MeaningWhenMissingElement; - if (OrderMeaningElement != null) yield return OrderMeaningElement; - if (Fixed != null) yield return Fixed; - if (Pattern != null) yield return Pattern; - foreach (var elem in Example) { if (elem != null) yield return elem; } - if (MinValue != null) yield return MinValue; - if (MaxValue != null) yield return MaxValue; - if (MaxLengthElement != null) yield return MaxLengthElement; - foreach (var elem in ConditionElement) { if (elem != null) yield return elem; } - foreach (var elem in Constraint) { if (elem != null) yield return elem; } - if (MustHaveValueElement != null) yield return MustHaveValueElement; - foreach (var elem in ValueAlternativesElement) { if (elem != null) yield return elem; } - if (MustSupportElement != null) yield return MustSupportElement; - if (IsModifierElement != null) yield return IsModifierElement; - if (IsModifierReasonElement != null) yield return IsModifierReasonElement; - if (IsSummaryElement != null) yield return IsSummaryElement; - if (Binding != null) yield return Binding; - foreach (var elem in Mapping) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - foreach (var elem in RepresentationElement) { if (elem != null) yield return new ElementValue("representation", elem); } - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (SliceIsConstrainingElement != null) yield return new ElementValue("sliceIsConstraining", SliceIsConstrainingElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (Slicing != null) yield return new ElementValue("slicing", Slicing); - if (ShortElement != null) yield return new ElementValue("short", ShortElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (RequirementsElement != null) yield return new ElementValue("requirements", RequirementsElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (Base != null) yield return new ElementValue("base", Base); - if (ContentReferenceElement != null) yield return new ElementValue("contentReference", ContentReferenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DefaultValue != null) yield return new ElementValue("defaultValue", DefaultValue); - if (MeaningWhenMissingElement != null) yield return new ElementValue("meaningWhenMissing", MeaningWhenMissingElement); - if (OrderMeaningElement != null) yield return new ElementValue("orderMeaning", OrderMeaningElement); - if (Fixed != null) yield return new ElementValue("fixed", Fixed); - if (Pattern != null) yield return new ElementValue("pattern", Pattern); - foreach (var elem in Example) { if (elem != null) yield return new ElementValue("example", elem); } - if (MinValue != null) yield return new ElementValue("minValue", MinValue); - if (MaxValue != null) yield return new ElementValue("maxValue", MaxValue); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - foreach (var elem in ConditionElement) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Constraint) { if (elem != null) yield return new ElementValue("constraint", elem); } - if (MustHaveValueElement != null) yield return new ElementValue("mustHaveValue", MustHaveValueElement); - foreach (var elem in ValueAlternativesElement) { if (elem != null) yield return new ElementValue("valueAlternatives", elem); } - if (MustSupportElement != null) yield return new ElementValue("mustSupport", MustSupportElement); - if (IsModifierElement != null) yield return new ElementValue("isModifier", IsModifierElement); - if (IsModifierReasonElement != null) yield return new ElementValue("isModifierReason", IsModifierReasonElement); - if (IsSummaryElement != null) yield return new ElementValue("isSummary", IsSummaryElement); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in Mapping) { if (elem != null) yield return new ElementValue("mapping", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs b/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs index 9f3bc1e56..b1b99b82c 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/RelatedArtifact.cs @@ -655,46 +655,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (LabelElement != null) yield return LabelElement; - if (DisplayElement != null) yield return DisplayElement; - if (CitationElement != null) yield return CitationElement; - if (UrlElement != null) yield return UrlElement; - if (Document != null) yield return Document; - if (ResourceElement != null) yield return ResourceElement; - if (ResourceReference != null) yield return ResourceReference; - if (PublicationStatusElement != null) yield return PublicationStatusElement; - if (PublicationDateElement != null) yield return PublicationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (CitationElement != null) yield return new ElementValue("citation", CitationElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Document != null) yield return new ElementValue("document", Document); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResourceReference != null) yield return new ElementValue("resourceReference", ResourceReference); - if (PublicationStatusElement != null) yield return new ElementValue("publicationStatus", PublicationStatusElement); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs b/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs index a4645be68..167883275 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/StructureDefinition.cs @@ -335,32 +335,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentityElement != null) yield return IdentityElement; - if (UriElement != null) yield return UriElement; - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentityElement != null) yield return new ElementValue("identity", IdentityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -543,28 +517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -678,26 +630,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Element) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -804,26 +736,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Element) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1732,82 +1644,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - if (FhirVersionElement != null) yield return FhirVersionElement; - foreach (var elem in Mapping) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (AbstractElement != null) yield return AbstractElement; - foreach (var elem in Context) { if (elem != null) yield return elem; } - foreach (var elem in ContextInvariantElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (BaseDefinitionElement != null) yield return BaseDefinitionElement; - if (DerivationElement != null) yield return DerivationElement; - if (Snapshot != null) yield return Snapshot; - if (Differential != null) yield return Differential; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - if (FhirVersionElement != null) yield return new ElementValue("fhirVersion", FhirVersionElement); - foreach (var elem in Mapping) { if (elem != null) yield return new ElementValue("mapping", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (AbstractElement != null) yield return new ElementValue("abstract", AbstractElement); - foreach (var elem in Context) { if (elem != null) yield return new ElementValue("context", elem); } - foreach (var elem in ContextInvariantElement) { if (elem != null) yield return new ElementValue("contextInvariant", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (BaseDefinitionElement != null) yield return new ElementValue("baseDefinition", BaseDefinitionElement); - if (DerivationElement != null) yield return new ElementValue("derivation", DerivationElement); - if (Snapshot != null) yield return new ElementValue("snapshot", Snapshot); - if (Differential != null) yield return new ElementValue("differential", Differential); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs b/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs index e2c161e11..46d8a900b 100644 --- a/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs +++ b/src/Hl7.Fhir.Conformance/Model/Generated/ValueSet.cs @@ -251,34 +251,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LockedDateElement != null) yield return LockedDateElement; - if (InactiveElement != null) yield return InactiveElement; - foreach (var elem in Include) { if (elem != null) yield return elem; } - foreach (var elem in Exclude) { if (elem != null) yield return elem; } - foreach (var elem in PropertyElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LockedDateElement != null) yield return new ElementValue("lockedDate", LockedDateElement); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - foreach (var elem in Include) { if (elem != null) yield return new ElementValue("include", elem); } - foreach (var elem in Exclude) { if (elem != null) yield return new ElementValue("exclude", elem); } - foreach (var elem in PropertyElement) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -567,36 +539,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (VersionElement != null) yield return VersionElement; - foreach (var elem in Concept) { if (elem != null) yield return elem; } - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in ValueSetElement) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in ValueSetElement) { if (elem != null) yield return new ElementValue("valueSet", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -808,30 +750,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1041,32 +959,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - foreach (var elem in AdditionalUse) { if (elem != null) yield return elem; } - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - foreach (var elem in AdditionalUse) { if (elem != null) yield return new ElementValue("additionalUse", elem); } - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1285,30 +1177,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PropertyElement != null) yield return PropertyElement; - if (OpElement != null) yield return OpElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PropertyElement != null) yield return new ElementValue("property", PropertyElement); - if (OpElement != null) yield return new ElementValue("op", OpElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1636,40 +1504,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentifierElement != null) yield return IdentifierElement; - if (NextElement != null) yield return NextElement; - if (TimestampElement != null) yield return TimestampElement; - if (TotalElement != null) yield return TotalElement; - if (OffsetElement != null) yield return OffsetElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Contains) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentifierElement != null) yield return new ElementValue("identifier", IdentifierElement); - if (NextElement != null) yield return new ElementValue("next", NextElement); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (TotalElement != null) yield return new ElementValue("total", TotalElement); - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Contains) { if (elem != null) yield return new ElementValue("contains", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1862,28 +1696,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2049,28 +1861,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (UriElement != null) yield return UriElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2422,42 +2212,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (AbstractElement != null) yield return AbstractElement; - if (InactiveElement != null) yield return InactiveElement; - if (VersionElement != null) yield return VersionElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Contains) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (AbstractElement != null) yield return new ElementValue("abstract", AbstractElement); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Contains) { if (elem != null) yield return new ElementValue("contains", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2674,30 +2428,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Value != null) yield return Value; - foreach (var elem in SubProperty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in SubProperty) { if (elem != null) yield return new ElementValue("subProperty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2855,28 +2585,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3073,30 +2781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InclusionCriteriaElement != null) yield return InclusionCriteriaElement; - if (FocusElement != null) yield return FocusElement; - if (ExclusionCriteriaElement != null) yield return ExclusionCriteriaElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InclusionCriteriaElement != null) yield return new ElementValue("inclusionCriteria", InclusionCriteriaElement); - if (FocusElement != null) yield return new ElementValue("focus", FocusElement); - if (ExclusionCriteriaElement != null) yield return new ElementValue("exclusionCriteria", ExclusionCriteriaElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3953,84 +3637,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (ImmutableElement != null) yield return ImmutableElement; - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (Compose != null) yield return Compose; - if (Expansion != null) yield return Expansion; - if (Scope != null) yield return Scope; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (ImmutableElement != null) yield return new ElementValue("immutable", ImmutableElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (Compose != null) yield return new ElementValue("compose", Compose); - if (Expansion != null) yield return new ElementValue("expansion", Expansion); - if (Scope != null) yield return new ElementValue("scope", Scope); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Account.cs b/src/Hl7.Fhir.R4/Model/Generated/Account.cs index ed7eb6d7d..199f0bd64 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Account.cs @@ -209,28 +209,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (PriorityElement != null) yield return PriorityElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -396,30 +374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Party != null) yield return Party; - if (OnHoldElement != null) yield return OnHoldElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Party != null) yield return new ElementValue("party", Party); - if (OnHoldElement != null) yield return new ElementValue("onHold", OnHoldElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -756,46 +710,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (ServicePeriod != null) yield return ServicePeriod; - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Guarantor) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (ServicePeriod != null) yield return new ElementValue("servicePeriod", ServicePeriod); - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Guarantor) { if (elem != null) yield return new ElementValue("guarantor", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs index 5e960b575..ce1d88150 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ActivityDefinition.cs @@ -268,28 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,28 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1727,116 +1683,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (ProfileElement != null) yield return ProfileElement; - if (Code != null) yield return Code; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Timing != null) yield return Timing; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (Quantity != null) yield return Quantity; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in SpecimenRequirement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationRequirement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationResultRequirement) { if (elem != null) yield return elem; } - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (Code != null) yield return new ElementValue("code", Code); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in SpecimenRequirement) { if (elem != null) yield return new ElementValue("specimenRequirement", elem); } - foreach (var elem in ObservationRequirement) { if (elem != null) yield return new ElementValue("observationRequirement", elem); } - foreach (var elem in ObservationResultRequirement) { if (elem != null) yield return new ElementValue("observationResultRequirement", elem); } - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Address.cs b/src/Hl7.Fhir.R4/Model/Generated/Address.cs index 739e49abd..7a871a741 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Address.cs @@ -494,44 +494,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in LineElement) { if (elem != null) yield return elem; } - if (CityElement != null) yield return CityElement; - if (DistrictElement != null) yield return DistrictElement; - if (StateElement != null) yield return StateElement; - if (PostalCodeElement != null) yield return PostalCodeElement; - if (CountryElement != null) yield return CountryElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LineElement) { if (elem != null) yield return new ElementValue("line", elem); } - if (CityElement != null) yield return new ElementValue("city", CityElement); - if (DistrictElement != null) yield return new ElementValue("district", DistrictElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (PostalCodeElement != null) yield return new ElementValue("postalCode", PostalCodeElement); - if (CountryElement != null) yield return new ElementValue("country", CountryElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs index 70c0db96a..b16ddb74e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AdverseEvent.cs @@ -246,28 +246,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Instance != null) yield return Instance; - foreach (var elem in Causality) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Instance != null) yield return new ElementValue("instance", Instance); - foreach (var elem in Causality) { if (elem != null) yield return new ElementValue("causality", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -447,32 +425,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Assessment != null) yield return Assessment; - if (ProductRelatednessElement != null) yield return ProductRelatednessElement; - if (Author != null) yield return Author; - if (Method != null) yield return Method; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Assessment != null) yield return new ElementValue("assessment", Assessment); - if (ProductRelatednessElement != null) yield return new ElementValue("productRelatedness", ProductRelatednessElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Method != null) yield return new ElementValue("method", Method); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -998,64 +950,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (ActualityElement != null) yield return ActualityElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (DetectedElement != null) yield return DetectedElement; - if (RecordedDateElement != null) yield return RecordedDateElement; - foreach (var elem in ResultingCondition) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Seriousness != null) yield return Seriousness; - if (Severity != null) yield return Severity; - if (Outcome != null) yield return Outcome; - if (Recorder != null) yield return Recorder; - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in SuspectEntity) { if (elem != null) yield return elem; } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return elem; } - foreach (var elem in Study) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (ActualityElement != null) yield return new ElementValue("actuality", ActualityElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (DetectedElement != null) yield return new ElementValue("detected", DetectedElement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - foreach (var elem in ResultingCondition) { if (elem != null) yield return new ElementValue("resultingCondition", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Seriousness != null) yield return new ElementValue("seriousness", Seriousness); - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in SuspectEntity) { if (elem != null) yield return new ElementValue("suspectEntity", elem); } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return new ElementValue("subjectMedicalHistory", elem); } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return new ElementValue("referenceDocument", elem); } - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs index 239b76b4d..bd6b5bd31 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AllergyIntolerance.cs @@ -462,38 +462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - foreach (var elem in Manifestation) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OnsetElement != null) yield return OnsetElement; - if (SeverityElement != null) yield return SeverityElement; - if (ExposureRoute != null) yield return ExposureRoute; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - foreach (var elem in Manifestation) { if (elem != null) yield return new ElementValue("manifestation", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OnsetElement != null) yield return new ElementValue("onset", OnsetElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (ExposureRoute != null) yield return new ElementValue("exposureRoute", ExposureRoute); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -984,56 +952,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in CategoryElement) { if (elem != null) yield return elem; } - if (CriticalityElement != null) yield return CriticalityElement; - if (Code != null) yield return Code; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (RecordedDateElement != null) yield return RecordedDateElement; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - if (LastOccurrenceElement != null) yield return LastOccurrenceElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in CategoryElement) { if (elem != null) yield return new ElementValue("category", elem); } - if (CriticalityElement != null) yield return new ElementValue("criticality", CriticalityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - if (LastOccurrenceElement != null) yield return new ElementValue("lastOccurrence", LastOccurrenceElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs index 0f81cbabe..c3882e22a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Annotation.cs @@ -187,30 +187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Author != null) yield return Author; - if (TimeElement != null) yield return TimeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Author != null) yield return new ElementValue("author", Author); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs index 0b3954f75..a0a01d693 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Appointment.cs @@ -334,34 +334,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (RequiredElement != null) yield return RequiredElement; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1010,68 +982,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancelationReason != null) yield return CancelationReason; - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (MinutesDurationElement != null) yield return MinutesDurationElement; - foreach (var elem in Slot) { if (elem != null) yield return elem; } - if (CreatedElement != null) yield return CreatedElement; - if (CommentElement != null) yield return CommentElement; - if (PatientInstructionElement != null) yield return PatientInstructionElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancelationReason != null) yield return new ElementValue("cancelationReason", CancelationReason); - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (MinutesDurationElement != null) yield return new ElementValue("minutesDuration", MinutesDurationElement); - foreach (var elem in Slot) { if (elem != null) yield return new ElementValue("slot", elem); } - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return new ElementValue("requestedPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs index 3adcfa989..a01f5c7fc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AppointmentResponse.cs @@ -308,40 +308,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Appointment != null) yield return Appointment; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - foreach (var elem in ParticipantType) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (ParticipantStatusElement != null) yield return ParticipantStatusElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Appointment != null) yield return new ElementValue("appointment", Appointment); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - foreach (var elem in ParticipantType) { if (elem != null) yield return new ElementValue("participantType", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (ParticipantStatusElement != null) yield return new ElementValue("participantStatus", ParticipantStatusElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs index c3ef7e4ad..8b9d32785 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/AuditEvent.cs @@ -491,46 +491,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (AltIdElement != null) yield return AltIdElement; - if (NameElement != null) yield return NameElement; - if (RequestorElement != null) yield return RequestorElement; - if (Location != null) yield return Location; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Media != null) yield return Media; - if (Network != null) yield return Network; - foreach (var elem in PurposeOfUse) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (AltIdElement != null) yield return new ElementValue("altId", AltIdElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (RequestorElement != null) yield return new ElementValue("requestor", RequestorElement); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Media != null) yield return new ElementValue("media", Media); - if (Network != null) yield return new ElementValue("network", Network); - foreach (var elem in PurposeOfUse) { if (elem != null) yield return new ElementValue("purposeOfUse", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -760,28 +720,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AddressElement != null) yield return AddressElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -950,30 +888,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SiteElement != null) yield return SiteElement; - if (Observer != null) yield return Observer; - foreach (var elem in Type) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SiteElement != null) yield return new ElementValue("site", SiteElement); - if (Observer != null) yield return new ElementValue("observer", Observer); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1284,42 +1198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (What != null) yield return What; - if (Type != null) yield return Type; - if (Role != null) yield return Role; - if (Lifecycle != null) yield return Lifecycle; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (QueryElement != null) yield return QueryElement; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (What != null) yield return new ElementValue("what", What); - if (Type != null) yield return new ElementValue("type", Type); - if (Role != null) yield return new ElementValue("role", Role); - if (Lifecycle != null) yield return new ElementValue("lifecycle", Lifecycle); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (QueryElement != null) yield return new ElementValue("query", QueryElement); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1519,28 +1397,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1883,46 +1739,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (ActionElement != null) yield return ActionElement; - if (Period != null) yield return Period; - if (RecordedElement != null) yield return RecordedElement; - if (OutcomeElement != null) yield return OutcomeElement; - if (OutcomeDescElement != null) yield return OutcomeDescElement; - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Entity) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (ActionElement != null) yield return new ElementValue("action", ActionElement); - if (Period != null) yield return new ElementValue("period", Period); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (OutcomeDescElement != null) yield return new ElementValue("outcomeDesc", OutcomeDescElement); - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return new ElementValue("purposeOfEvent", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Basic.cs b/src/Hl7.Fhir.R4/Model/Generated/Basic.cs index f0becb979..c4107df28 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Basic.cs @@ -208,34 +208,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs index 8475d529a..f03d32fbc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/BiologicallyDerivedProduct.cs @@ -257,30 +257,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Source != null) yield return Source; - if (Collected != null) yield return Collected; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Source != null) yield return new ElementValue("source", Source); - if (Collected != null) yield return new ElementValue("collected", Collected); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -471,32 +447,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Procedure != null) yield return Procedure; - if (Additive != null) yield return Additive; - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - if (Additive != null) yield return new ElementValue("additive", Additive); - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -659,28 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -894,32 +822,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (TemperatureElement != null) yield return TemperatureElement; - if (ScaleElement != null) yield return ScaleElement; - if (Duration != null) yield return Duration; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TemperatureElement != null) yield return new ElementValue("temperature", TemperatureElement); - if (ScaleElement != null) yield return new ElementValue("scale", ScaleElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1260,46 +1162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ProductCategoryElement != null) yield return ProductCategoryElement; - if (ProductCode != null) yield return ProductCode; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - if (Manipulation != null) yield return Manipulation; - foreach (var elem in Storage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ProductCategoryElement != null) yield return new ElementValue("productCategory", ProductCategoryElement); - if (ProductCode != null) yield return new ElementValue("productCode", ProductCode); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - if (Manipulation != null) yield return new ElementValue("manipulation", Manipulation); - foreach (var elem in Storage) { if (elem != null) yield return new ElementValue("storage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs index 4862d3f80..e8fa8d30b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/BodyStructure.cs @@ -276,40 +276,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Morphology != null) yield return Morphology; - if (Location != null) yield return Location; - foreach (var elem in LocationQualifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Morphology != null) yield return new ElementValue("morphology", Morphology); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in LocationQualifier) { if (elem != null) yield return new ElementValue("locationQualifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs index ddd1b0ede..d3d1be501 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CarePlan.cs @@ -358,34 +358,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - foreach (var elem in Progress) { if (elem != null) yield return elem; } - if (Reference != null) yield return Reference; - if (Detail != null) yield return Detail; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return new ElementValue("outcomeCodeableConcept", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - foreach (var elem in Progress) { if (elem != null) yield return new ElementValue("progress", elem); } - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Detail != null) yield return new ElementValue("detail", Detail); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -910,58 +882,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Scheduled != null) yield return Scheduled; - if (Location != null) yield return Location; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (DailyAmount != null) yield return DailyAmount; - if (Quantity != null) yield return Quantity; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Scheduled != null) yield return new ElementValue("scheduled", Scheduled); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (DailyAmount != null) yield return new ElementValue("dailyAmount", DailyAmount); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1690,70 +1610,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Activity) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Activity) { if (elem != null) yield return new ElementValue("activity", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs index c8e1399e5..9f3453462 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CareTeam.cs @@ -224,32 +224,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Member != null) yield return Member; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Member != null) yield return new ElementValue("member", Member); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -613,50 +587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Period != null) yield return Period; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return new ElementValue("managingOrganization", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs b/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs index d6342dc5c..0f3dbda75 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CatalogEntry.cs @@ -192,28 +192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationtypeElement != null) yield return RelationtypeElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationtypeElement != null) yield return new ElementValue("relationtype", RelationtypeElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -588,50 +566,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (OrderableElement != null) yield return OrderableElement; - if (ReferencedItem != null) yield return ReferencedItem; - foreach (var elem in AdditionalIdentifier) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (ValidToElement != null) yield return ValidToElement; - if (LastUpdatedElement != null) yield return LastUpdatedElement; - foreach (var elem in AdditionalCharacteristic) { if (elem != null) yield return elem; } - foreach (var elem in AdditionalClassification) { if (elem != null) yield return elem; } - foreach (var elem in RelatedEntry) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (OrderableElement != null) yield return new ElementValue("orderable", OrderableElement); - if (ReferencedItem != null) yield return new ElementValue("referencedItem", ReferencedItem); - foreach (var elem in AdditionalIdentifier) { if (elem != null) yield return new ElementValue("additionalIdentifier", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (ValidToElement != null) yield return new ElementValue("validTo", ValidToElement); - if (LastUpdatedElement != null) yield return new ElementValue("lastUpdated", LastUpdatedElement); - foreach (var elem in AdditionalCharacteristic) { if (elem != null) yield return new ElementValue("additionalCharacteristic", elem); } - foreach (var elem in AdditionalClassification) { if (elem != null) yield return new ElementValue("additionalClassification", elem); } - foreach (var elem in RelatedEntry) { if (elem != null) yield return new ElementValue("relatedEntry", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs index d5a494013..4ad151c96 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ChargeItem.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -878,76 +856,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (PerformingOrganization != null) yield return PerformingOrganization; - if (RequestingOrganization != null) yield return RequestingOrganization; - if (CostCenter != null) yield return CostCenter; - if (Quantity != null) yield return Quantity; - foreach (var elem in Bodysite) { if (elem != null) yield return elem; } - if (FactorOverrideElement != null) yield return FactorOverrideElement; - if (PriceOverride != null) yield return PriceOverride; - if (OverrideReasonElement != null) yield return OverrideReasonElement; - if (Enterer != null) yield return Enterer; - if (EnteredDateElement != null) yield return EnteredDateElement; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Service) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - foreach (var elem in Account) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return new ElementValue("definitionUri", elem); } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return new ElementValue("definitionCanonical", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (PerformingOrganization != null) yield return new ElementValue("performingOrganization", PerformingOrganization); - if (RequestingOrganization != null) yield return new ElementValue("requestingOrganization", RequestingOrganization); - if (CostCenter != null) yield return new ElementValue("costCenter", CostCenter); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Bodysite) { if (elem != null) yield return new ElementValue("bodysite", elem); } - if (FactorOverrideElement != null) yield return new ElementValue("factorOverride", FactorOverrideElement); - if (PriceOverride != null) yield return new ElementValue("priceOverride", PriceOverride); - if (OverrideReasonElement != null) yield return new ElementValue("overrideReason", OverrideReasonElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (EnteredDateElement != null) yield return new ElementValue("enteredDate", EnteredDateElement); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - if (Product != null) yield return new ElementValue("product", Product); - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs index 63072eac2..8313146c6 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ChargeItemDefinition.cs @@ -217,30 +217,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -378,28 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -599,32 +553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (FactorElement != null) yield return FactorElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1362,70 +1290,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return elem; } - foreach (var elem in PartOfElement) { if (elem != null) yield return elem; } - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - if (Code != null) yield return Code; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PropertyGroup) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return new ElementValue("derivedFromUri", elem); } - foreach (var elem in PartOfElement) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PropertyGroup) { if (elem != null) yield return new ElementValue("propertyGroup", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Claim.cs b/src/Hl7.Fhir.R4/Model/Generated/Claim.cs index 21c10b49d..043b549e3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Claim.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -571,34 +525,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -841,36 +767,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1103,34 +999,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1375,34 +1243,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1713,38 +1553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Identifier != null) yield return Identifier; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1947,30 +1755,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2547,66 +2331,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3077,48 +2801,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3509,46 +3191,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4222,78 +3864,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - foreach (var elem in Item) { if (elem != null) yield return elem; } - if (Total != null) yield return Total; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - if (Total != null) yield return new ElementValue("total", Total); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs index f5e534c54..c8ef0232e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ClaimResponse.cs @@ -218,32 +218,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,32 +413,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -679,32 +627,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -902,30 +824,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1431,60 +1329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return new ElementValue("subdetailSequence", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1880,42 +1724,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2231,40 +2039,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2439,28 +2213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2675,36 +2427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2951,32 +2673,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3229,34 +2925,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3495,32 +3163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4194,78 +3836,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (PreAuthPeriod != null) yield return PreAuthPeriod; - if (PayeeType != null) yield return PayeeType; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FundsReserve != null) yield return FundsReserve; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (PreAuthPeriod != null) yield return new ElementValue("preAuthPeriod", PreAuthPeriod); - if (PayeeType != null) yield return new ElementValue("payeeType", PayeeType); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return new ElementValue("communicationRequest", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs index 544271762..6d2b98940 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ClinicalImpression.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -366,30 +344,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemCodeableConcept != null) yield return ItemCodeableConcept; - if (ItemReference != null) yield return ItemReference; - if (BasisElement != null) yield return BasisElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemCodeableConcept != null) yield return new ElementValue("itemCodeableConcept", ItemCodeableConcept); - if (ItemReference != null) yield return new ElementValue("itemReference", ItemReference); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -924,64 +878,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (DateElement != null) yield return DateElement; - if (Assessor != null) yield return Assessor; - if (Previous != null) yield return Previous; - foreach (var elem in Problem) { if (elem != null) yield return elem; } - foreach (var elem in Investigation) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolElement) { if (elem != null) yield return elem; } - if (SummaryElement != null) yield return SummaryElement; - foreach (var elem in Finding) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisReference) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Assessor != null) yield return new ElementValue("assessor", Assessor); - if (Previous != null) yield return new ElementValue("previous", Previous); - foreach (var elem in Problem) { if (elem != null) yield return new ElementValue("problem", elem); } - foreach (var elem in Investigation) { if (elem != null) yield return new ElementValue("investigation", elem); } - foreach (var elem in ProtocolElement) { if (elem != null) yield return new ElementValue("protocol", elem); } - if (SummaryElement != null) yield return new ElementValue("summary", SummaryElement); - foreach (var elem in Finding) { if (elem != null) yield return new ElementValue("finding", elem); } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return new ElementValue("prognosisCodeableConcept", elem); } - foreach (var elem in PrognosisReference) { if (elem != null) yield return new ElementValue("prognosisReference", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Communication.cs b/src/Hl7.Fhir.R4/Model/Generated/Communication.cs index d0b227886..a1560b20d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Communication.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -750,70 +730,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - foreach (var elem in InResponseTo) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Topic != null) yield return Topic; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (SentElement != null) yield return SentElement; - if (ReceivedElement != null) yield return ReceivedElement; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Payload) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in InResponseTo) { if (elem != null) yield return new ElementValue("inResponseTo", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Topic != null) yield return new ElementValue("topic", Topic); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (SentElement != null) yield return new ElementValue("sent", SentElement); - if (ReceivedElement != null) yield return new ElementValue("received", ReceivedElement); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs index ce6a7825e..8faac6761 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CommunicationRequest.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -696,68 +676,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - foreach (var elem in Payload) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs index ab6831a4a..93af96659 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CompartmentDefinition.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in ParamElement) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in ParamElement) { if (elem != null) yield return new ElementValue("param", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -766,52 +742,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - if (SearchElement != null) yield return SearchElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SearchElement != null) yield return new ElementValue("search", SearchElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Composition.cs b/src/Hl7.Fhir.R4/Model/Generated/Composition.cs index 2bef5a9f3..5dbe3f959 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Composition.cs @@ -302,30 +302,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (TimeElement != null) yield return TimeElement; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -487,28 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -659,30 +613,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -996,44 +926,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Focus != null) yield return Focus; - if (Text != null) yield return Text; - if (ModeElement != null) yield return ModeElement; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Focus != null) yield return new ElementValue("focus", Focus); - if (Text != null) yield return new ElementValue("text", Text); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1511,54 +1403,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (ConfidentialityElement != null) yield return ConfidentialityElement; - foreach (var elem in Attester) { if (elem != null) yield return elem; } - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ConfidentialityElement != null) yield return new ElementValue("confidentiality", ConfidentialityElement); - foreach (var elem in Attester) { if (elem != null) yield return new ElementValue("attester", elem); } - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs index 762c52547..8c9d4a70b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ConceptMap.cs @@ -311,36 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceVersionElement != null) yield return SourceVersionElement; - if (TargetElement != null) yield return TargetElement; - if (TargetVersionElement != null) yield return TargetVersionElement; - foreach (var elem in Element) { if (elem != null) yield return elem; } - if (Unmapped != null) yield return Unmapped; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceVersionElement != null) yield return new ElementValue("sourceVersion", SourceVersionElement); - if (TargetElement != null) yield return new ElementValue("target", TargetElement); - if (TargetVersionElement != null) yield return new ElementValue("targetVersion", TargetVersionElement); - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - if (Unmapped != null) yield return new ElementValue("unmapped", Unmapped); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -551,30 +521,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -852,36 +798,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (EquivalenceElement != null) yield return EquivalenceElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Product) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (EquivalenceElement != null) yield return new ElementValue("equivalence", EquivalenceElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Product) { if (elem != null) yield return new ElementValue("product", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1144,32 +1060,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PropertyElement != null) yield return PropertyElement; - if (SystemElement != null) yield return SystemElement; - if (ValueElement != null) yield return ValueElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PropertyElement != null) yield return new ElementValue("property", PropertyElement); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1420,32 +1310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2040,60 +1904,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (Source != null) yield return Source; - if (Target != null) yield return Target; - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Target != null) yield return new ElementValue("target", Target); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Condition.cs b/src/Hl7.Fhir.R4/Model/Generated/Condition.cs index eaf7da517..cbd2675cf 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Condition.cs @@ -259,30 +259,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Summary != null) yield return Summary; - foreach (var elem in Assessment) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Summary != null) yield return new ElementValue("summary", Summary); - foreach (var elem in Assessment) { if (elem != null) yield return new ElementValue("assessment", elem); } - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -424,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -846,58 +800,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Severity != null) yield return Severity; - if (Code != null) yield return Code; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (Abatement != null) yield return Abatement; - if (RecordedDateElement != null) yield return RecordedDateElement; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - foreach (var elem in Stage) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (Abatement != null) yield return new ElementValue("abatement", Abatement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - foreach (var elem in Stage) { if (elem != null) yield return new ElementValue("stage", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Consent.cs b/src/Hl7.Fhir.R4/Model/Generated/Consent.cs index e7de5f3c3..dc991ecbd 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Consent.cs @@ -285,28 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AuthorityElement != null) yield return AuthorityElement; - if (UriElement != null) yield return UriElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AuthorityElement != null) yield return new ElementValue("authority", AuthorityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -490,30 +468,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VerifiedElement != null) yield return VerifiedElement; - if (VerifiedWith != null) yield return VerifiedWith; - if (VerificationDateElement != null) yield return VerificationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VerifiedElement != null) yield return new ElementValue("verified", VerifiedElement); - if (VerifiedWith != null) yield return new ElementValue("verifiedWith", VerifiedWith); - if (VerificationDateElement != null) yield return new ElementValue("verificationDate", VerificationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -826,46 +780,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Period != null) yield return Period; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - foreach (var elem in Class) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (DataPeriod != null) yield return DataPeriod; - foreach (var elem in Data) { if (elem != null) yield return elem; } - foreach (var elem in Provision) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (DataPeriod != null) yield return new ElementValue("dataPeriod", DataPeriod); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - foreach (var elem in Provision) { if (elem != null) yield return new ElementValue("provision", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1062,28 +976,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1236,28 +1128,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1609,50 +1479,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Scope != null) yield return Scope; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (DateTimeElement != null) yield return DateTimeElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Organization) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Policy) { if (elem != null) yield return elem; } - if (PolicyRule != null) yield return PolicyRule; - foreach (var elem in Verification) { if (elem != null) yield return elem; } - if (Provision != null) yield return Provision; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Scope != null) yield return new ElementValue("scope", Scope); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Organization) { if (elem != null) yield return new ElementValue("organization", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Policy) { if (elem != null) yield return new ElementValue("policy", elem); } - if (PolicyRule != null) yield return new ElementValue("policyRule", PolicyRule); - foreach (var elem in Verification) { if (elem != null) yield return new ElementValue("verification", elem); } - if (Provision != null) yield return new ElementValue("provision", Provision); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Contract.cs b/src/Hl7.Fhir.R4/Model/Generated/Contract.cs index d1cb402f9..2139ddc12 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Contract.cs @@ -472,36 +472,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (Publisher != null) yield return Publisher; - if (PublicationDateElement != null) yield return PublicationDateElement; - if (PublicationStatusElement != null) yield return PublicationStatusElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - if (PublicationStatusElement != null) yield return new ElementValue("publicationStatus", PublicationStatusElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -864,48 +834,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (TextElement != null) yield return TextElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (Offer != null) yield return Offer; - foreach (var elem in Asset) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (Offer != null) yield return new ElementValue("offer", Offer); - foreach (var elem in Asset) { if (elem != null) yield return new ElementValue("asset", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1161,32 +1089,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return elem; } - if (Classification != null) yield return Classification; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Control) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return new ElementValue("number", elem); } - if (Classification != null) yield return new ElementValue("classification", Classification); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Control) { if (elem != null) yield return new ElementValue("control", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1522,44 +1424,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Party) { if (elem != null) yield return elem; } - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (Decision != null) yield return Decision; - foreach (var elem in DecisionMode) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Party) { if (elem != null) yield return new ElementValue("party", elem); } - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (Decision != null) yield return new ElementValue("decision", Decision); - foreach (var elem in DecisionMode) { if (elem != null) yield return new ElementValue("decisionMode", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1746,28 +1610,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1881,26 +1723,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2317,54 +2139,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Scope != null) yield return Scope; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in TypeReference) { if (elem != null) yield return elem; } - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (Relationship != null) yield return Relationship; - foreach (var elem in Context) { if (elem != null) yield return elem; } - if (ConditionElement != null) yield return ConditionElement; - foreach (var elem in PeriodType) { if (elem != null) yield return elem; } - foreach (var elem in Period) { if (elem != null) yield return elem; } - foreach (var elem in UsePeriod) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in ValuedItem) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Scope != null) yield return new ElementValue("scope", Scope); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in TypeReference) { if (elem != null) yield return new ElementValue("typeReference", elem); } - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - foreach (var elem in Context) { if (elem != null) yield return new ElementValue("context", elem); } - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - foreach (var elem in PeriodType) { if (elem != null) yield return new ElementValue("periodType", elem); } - foreach (var elem in Period) { if (elem != null) yield return new ElementValue("period", elem); } - foreach (var elem in UsePeriod) { if (elem != null) yield return new ElementValue("usePeriod", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - foreach (var elem in ValuedItem) { if (elem != null) yield return new ElementValue("valuedItem", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2619,30 +2393,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3102,52 +2852,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Identifier != null) yield return Identifier; - if (EffectiveTimeElement != null) yield return EffectiveTimeElement; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (PointsElement != null) yield return PointsElement; - if (Net != null) yield return Net; - if (PaymentElement != null) yield return PaymentElement; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Responsible != null) yield return Responsible; - if (Recipient != null) yield return Recipient; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (EffectiveTimeElement != null) yield return new ElementValue("effectiveTime", EffectiveTimeElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (PointsElement != null) yield return new ElementValue("points", PointsElement); - if (Net != null) yield return new ElementValue("net", Net); - if (PaymentElement != null) yield return new ElementValue("payment", PaymentElement); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3842,66 +3546,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Type != null) yield return Type; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Intent != null) yield return Intent; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (Context != null) yield return Context; - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Requester) { if (elem != null) yield return elem; } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (PerformerRole != null) yield return PerformerRole; - if (Performer != null) yield return Performer; - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in ReasonElement) { if (elem != null) yield return elem; } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Intent != null) yield return new ElementValue("intent", Intent); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return new ElementValue("contextLinkId", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Requester) { if (elem != null) yield return new ElementValue("requester", elem); } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return new ElementValue("requesterLinkId", elem); } - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (PerformerRole != null) yield return new ElementValue("performerRole", PerformerRole); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return new ElementValue("performerLinkId", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in ReasonElement) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return new ElementValue("reasonLinkId", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4164,28 +3808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4338,30 +3960,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4485,26 +4083,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4614,26 +4192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4743,26 +4301,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5572,90 +5110,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (StatusElement != null) yield return StatusElement; - if (LegalState != null) yield return LegalState; - if (InstantiatesCanonical != null) yield return InstantiatesCanonical; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - if (ContentDerivative != null) yield return ContentDerivative; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (ExpirationType != null) yield return ExpirationType; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - foreach (var elem in Authority) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Author != null) yield return Author; - if (Scope != null) yield return Scope; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - if (ContentDefinition != null) yield return ContentDefinition; - foreach (var elem in Term) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - foreach (var elem in Signer) { if (elem != null) yield return elem; } - foreach (var elem in Friendly) { if (elem != null) yield return elem; } - foreach (var elem in Legal) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - if (LegallyBinding != null) yield return LegallyBinding; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (LegalState != null) yield return new ElementValue("legalState", LegalState); - if (InstantiatesCanonical != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonical); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - if (ContentDerivative != null) yield return new ElementValue("contentDerivative", ContentDerivative); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (ExpirationType != null) yield return new ElementValue("expirationType", ExpirationType); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - foreach (var elem in Authority) { if (elem != null) yield return new ElementValue("authority", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Author != null) yield return new ElementValue("author", Author); - if (Scope != null) yield return new ElementValue("scope", Scope); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - if (ContentDefinition != null) yield return new ElementValue("contentDefinition", ContentDefinition); - foreach (var elem in Term) { if (elem != null) yield return new ElementValue("term", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - foreach (var elem in Signer) { if (elem != null) yield return new ElementValue("signer", elem); } - foreach (var elem in Friendly) { if (elem != null) yield return new ElementValue("friendly", elem); } - foreach (var elem in Legal) { if (elem != null) yield return new ElementValue("legal", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - if (LegallyBinding != null) yield return new ElementValue("legallyBinding", LegallyBinding); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs index 3ee0a78f5..c5ff519e6 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Contributor.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs index 9af08423d..4f2106ff4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Coverage.cs @@ -203,30 +203,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -384,30 +360,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - foreach (var elem in Exception) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Exception) { if (elem != null) yield return new ElementValue("exception", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -545,28 +497,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1053,58 +983,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (PolicyHolder != null) yield return PolicyHolder; - if (Subscriber != null) yield return Subscriber; - if (SubscriberIdElement != null) yield return SubscriberIdElement; - if (Beneficiary != null) yield return Beneficiary; - if (DependentElement != null) yield return DependentElement; - if (Relationship != null) yield return Relationship; - if (Period != null) yield return Period; - foreach (var elem in Payor) { if (elem != null) yield return elem; } - foreach (var elem in Class) { if (elem != null) yield return elem; } - if (OrderElement != null) yield return OrderElement; - if (NetworkElement != null) yield return NetworkElement; - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return elem; } - if (SubrogationElement != null) yield return SubrogationElement; - foreach (var elem in Contract) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PolicyHolder != null) yield return new ElementValue("policyHolder", PolicyHolder); - if (Subscriber != null) yield return new ElementValue("subscriber", Subscriber); - if (SubscriberIdElement != null) yield return new ElementValue("subscriberId", SubscriberIdElement); - if (Beneficiary != null) yield return new ElementValue("beneficiary", Beneficiary); - if (DependentElement != null) yield return new ElementValue("dependent", DependentElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Payor) { if (elem != null) yield return new ElementValue("payor", elem); } - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - if (OrderElement != null) yield return new ElementValue("order", OrderElement); - if (NetworkElement != null) yield return new ElementValue("network", NetworkElement); - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return new ElementValue("costToBeneficiary", elem); } - if (SubrogationElement != null) yield return new ElementValue("subrogation", SubrogationElement); - foreach (var elem in Contract) { if (elem != null) yield return new ElementValue("contract", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs index 170b4ec50..f6f0eef1e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityRequest.cs @@ -237,30 +237,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Information != null) yield return Information; - if (AppliesToAllElement != null) yield return AppliesToAllElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Information != null) yield return new ElementValue("information", Information); - if (AppliesToAllElement != null) yield return new ElementValue("appliesToAll", AppliesToAllElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -452,30 +428,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -770,44 +722,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (Facility != null) yield return Facility; - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return new ElementValue("supportingInfoSequence", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -980,26 +894,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Diagnosis != null) yield return Diagnosis; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1379,52 +1273,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Priority != null) yield return Priority; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Provider != null) yield return Provider; - if (Insurer != null) yield return Insurer; - if (Facility != null) yield return Facility; - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Priority != null) yield return new ElementValue("priority", Priority); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs index 6deea82ca..81359073a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/CoverageEligibilityResponse.cs @@ -235,32 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (InforceElement != null) yield return InforceElement; - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (InforceElement != null) yield return new ElementValue("inforce", InforceElement); - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -697,52 +671,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - if (AuthorizationRequiredElement != null) yield return AuthorizationRequiredElement; - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return elem; } - if (AuthorizationUrlElement != null) yield return AuthorizationUrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - if (AuthorizationRequiredElement != null) yield return new ElementValue("authorizationRequired", AuthorizationRequiredElement); - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return new ElementValue("authorizationSupporting", elem); } - if (AuthorizationUrlElement != null) yield return new ElementValue("authorizationUrl", AuthorizationUrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -977,30 +905,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1122,26 +1026,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1592,54 +1476,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (Insurer != null) yield return Insurer; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (Form != null) yield return Form; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs index 81c5464b9..cd8be32fc 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DataRequirement.cs @@ -255,32 +255,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (ValueSetElement != null) yield return ValueSetElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -477,30 +451,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -677,28 +627,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (DirectionElement != null) yield return DirectionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -991,40 +919,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in MustSupportElement) { if (elem != null) yield return elem; } - foreach (var elem in CodeFilter) { if (elem != null) yield return elem; } - foreach (var elem in DateFilter) { if (elem != null) yield return elem; } - if (LimitElement != null) yield return LimitElement; - foreach (var elem in Sort) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in MustSupportElement) { if (elem != null) yield return new ElementValue("mustSupport", elem); } - foreach (var elem in CodeFilter) { if (elem != null) yield return new ElementValue("codeFilter", elem); } - foreach (var elem in DateFilter) { if (elem != null) yield return new ElementValue("dateFilter", elem); } - if (LimitElement != null) yield return new ElementValue("limit", LimitElement); - foreach (var elem in Sort) { if (elem != null) yield return new ElementValue("sort", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs index 978f4e258..d2dca6c09 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DetectedIssue.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -367,30 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (DateElement != null) yield return DateElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -765,48 +719,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Code != null) yield return Code; - if (SeverityElement != null) yield return SeverityElement; - if (Patient != null) yield return Patient; - if (Identified != null) yield return Identified; - if (Author != null) yield return Author; - foreach (var elem in Implicated) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - if (DetailElement != null) yield return DetailElement; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Mitigation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Code != null) yield return new ElementValue("code", Code); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Identified != null) yield return new ElementValue("identified", Identified); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Implicated) { if (elem != null) yield return new ElementValue("implicated", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Mitigation) { if (elem != null) yield return new ElementValue("mitigation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Device.cs b/src/Hl7.Fhir.R4/Model/Generated/Device.cs index 31bd998d2..e240339bf 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Device.cs @@ -401,36 +401,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - if (CarrierAIDCElement != null) yield return CarrierAIDCElement; - if (CarrierHRFElement != null) yield return CarrierHRFElement; - if (EntryTypeElement != null) yield return EntryTypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - if (CarrierAIDCElement != null) yield return new ElementValue("carrierAIDC", CarrierAIDCElement); - if (CarrierHRFElement != null) yield return new ElementValue("carrierHRF", CarrierHRFElement); - if (EntryTypeElement != null) yield return new ElementValue("entryType", EntryTypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -627,28 +597,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -793,28 +741,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemType != null) yield return SystemType; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemType != null) yield return new ElementValue("systemType", SystemType); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -975,30 +901,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Component != null) yield return Component; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Component != null) yield return new ElementValue("component", Component); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1150,30 +1052,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueCode) { if (elem != null) yield return new ElementValue("valueCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1886,76 +1764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - foreach (var elem in UdiCarrier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (DistinctIdentifierElement != null) yield return DistinctIdentifierElement; - if (ManufacturerElement != null) yield return ManufacturerElement; - if (ManufactureDateElement != null) yield return ManufactureDateElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (LotNumberElement != null) yield return LotNumberElement; - if (SerialNumberElement != null) yield return SerialNumberElement; - foreach (var elem in DeviceName) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - if (PartNumberElement != null) yield return PartNumberElement; - if (Type != null) yield return Type; - foreach (var elem in Specialization) { if (elem != null) yield return elem; } - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - if (Parent != null) yield return Parent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UdiCarrier) { if (elem != null) yield return new ElementValue("udiCarrier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (DistinctIdentifierElement != null) yield return new ElementValue("distinctIdentifier", DistinctIdentifierElement); - if (ManufacturerElement != null) yield return new ElementValue("manufacturer", ManufacturerElement); - if (ManufactureDateElement != null) yield return new ElementValue("manufactureDate", ManufactureDateElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (SerialNumberElement != null) yield return new ElementValue("serialNumber", SerialNumberElement); - foreach (var elem in DeviceName) { if (elem != null) yield return new ElementValue("deviceName", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - if (PartNumberElement != null) yield return new ElementValue("partNumber", PartNumberElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Specialization) { if (elem != null) yield return new ElementValue("specialization", elem); } - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - if (Parent != null) yield return new ElementValue("parent", Parent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs index 8da79f7b9..f05eb1d43 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceDefinition.cs @@ -220,30 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -416,28 +392,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -600,28 +554,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemTypeElement != null) yield return SystemTypeElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemTypeElement != null) yield return new ElementValue("systemType", SystemTypeElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -749,28 +681,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Description) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Description) { if (elem != null) yield return new ElementValue("description", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -915,30 +825,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueCode) { if (elem != null) yield return new ElementValue("valueCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1124,30 +1010,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (AlternateElement != null) yield return AlternateElement; - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (AlternateElement != null) yield return new ElementValue("alternate", AlternateElement); - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1683,68 +1545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return elem; } - if (Manufacturer != null) yield return Manufacturer; - foreach (var elem in DeviceName) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - if (Type != null) yield return Type; - foreach (var elem in Specialization) { if (elem != null) yield return elem; } - foreach (var elem in VersionElement) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - if (PhysicalCharacteristics != null) yield return PhysicalCharacteristics; - foreach (var elem in LanguageCode) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - if (OnlineInformationElement != null) yield return OnlineInformationElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (ParentDevice != null) yield return ParentDevice; - foreach (var elem in Material) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return new ElementValue("udiDeviceIdentifier", elem); } - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - foreach (var elem in DeviceName) { if (elem != null) yield return new ElementValue("deviceName", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Specialization) { if (elem != null) yield return new ElementValue("specialization", elem); } - foreach (var elem in VersionElement) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - if (PhysicalCharacteristics != null) yield return new ElementValue("physicalCharacteristics", PhysicalCharacteristics); - foreach (var elem in LanguageCode) { if (elem != null) yield return new ElementValue("languageCode", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (OnlineInformationElement != null) yield return new ElementValue("onlineInformation", OnlineInformationElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ParentDevice != null) yield return new ElementValue("parentDevice", ParentDevice); - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs index 315881311..c0570882c 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceMetric.cs @@ -412,30 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StateElement != null) yield return StateElement; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -758,44 +734,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Unit != null) yield return Unit; - if (Source != null) yield return Source; - if (Parent != null) yield return Parent; - if (OperationalStatusElement != null) yield return OperationalStatusElement; - if (ColorElement != null) yield return ColorElement; - if (CategoryElement != null) yield return CategoryElement; - if (MeasurementPeriod != null) yield return MeasurementPeriod; - foreach (var elem in Calibration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Source != null) yield return new ElementValue("source", Source); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (OperationalStatusElement != null) yield return new ElementValue("operationalStatus", OperationalStatusElement); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (MeasurementPeriod != null) yield return new ElementValue("measurementPeriod", MeasurementPeriod); - foreach (var elem in Calibration) { if (elem != null) yield return new ElementValue("calibration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs index e4cff614a..a94abe211 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceRequest.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -797,72 +775,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PriorRequest) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PriorRequest) { if (elem != null) yield return new ElementValue("priorRequest", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs index 05e9a83f9..c87327367 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DeviceUseStatement.cs @@ -416,50 +416,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - if (RecordedOnElement != null) yield return RecordedOnElement; - if (Source != null) yield return Source; - if (Device != null) yield return Device; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - if (RecordedOnElement != null) yield return new ElementValue("recordedOn", RecordedOnElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs index 904290672..4825cd654 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DiagnosticReport.cs @@ -238,28 +238,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -723,60 +701,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - foreach (var elem in ImagingStudy) { if (elem != null) yield return elem; } - foreach (var elem in Media) { if (elem != null) yield return elem; } - if (ConclusionElement != null) yield return ConclusionElement; - foreach (var elem in ConclusionCode) { if (elem != null) yield return elem; } - foreach (var elem in PresentedForm) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return new ElementValue("resultsInterpreter", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - foreach (var elem in ImagingStudy) { if (elem != null) yield return new ElementValue("imagingStudy", elem); } - foreach (var elem in Media) { if (elem != null) yield return new ElementValue("media", elem); } - if (ConclusionElement != null) yield return new ElementValue("conclusion", ConclusionElement); - foreach (var elem in ConclusionCode) { if (elem != null) yield return new ElementValue("conclusionCode", elem); } - foreach (var elem in PresentedForm) { if (elem != null) yield return new ElementValue("presentedForm", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs index 25e67e57f..1113a8411 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DocumentManifest.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Ref != null) yield return Ref; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Ref != null) yield return new ElementValue("ref", Ref); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -534,48 +512,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (SourceElement != null) yield return SourceElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Content) { if (elem != null) yield return elem; } - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs index 7956f58c2..7ca7f7eee 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/DocumentReference.cs @@ -172,28 +172,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -324,28 +302,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Attachment != null) yield return Attachment; - if (Format != null) yield return Format; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - if (Format != null) yield return new ElementValue("format", Format); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -567,38 +523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (FacilityType != null) yield return FacilityType; - if (PracticeSetting != null) yield return PracticeSetting; - if (SourcePatientInfo != null) yield return SourcePatientInfo; - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (FacilityType != null) yield return new ElementValue("facilityType", FacilityType); - if (PracticeSetting != null) yield return new ElementValue("practiceSetting", PracticeSetting); - if (SourcePatientInfo != null) yield return new ElementValue("sourcePatientInfo", SourcePatientInfo); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1066,56 +990,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DocStatusElement != null) yield return DocStatusElement; - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Authenticator != null) yield return Authenticator; - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DocStatusElement != null) yield return new ElementValue("docStatus", DocStatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Authenticator != null) yield return new ElementValue("authenticator", Authenticator); - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - if (Context != null) yield return new ElementValue("context", Context); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs index e77b90e8e..4ccb8b88a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Dosage.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -549,50 +525,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - if (Timing != null) yield return Timing; - if (AsNeeded != null) yield return AsNeeded; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - foreach (var elem in DoseAndRate) { if (elem != null) yield return elem; } - if (MaxDosePerPeriod != null) yield return MaxDosePerPeriod; - if (MaxDosePerAdministration != null) yield return MaxDosePerAdministration; - if (MaxDosePerLifetime != null) yield return MaxDosePerLifetime; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return new ElementValue("additionalInstruction", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - foreach (var elem in DoseAndRate) { if (elem != null) yield return new ElementValue("doseAndRate", elem); } - if (MaxDosePerPeriod != null) yield return new ElementValue("maxDosePerPeriod", MaxDosePerPeriod); - if (MaxDosePerAdministration != null) yield return new ElementValue("maxDosePerAdministration", MaxDosePerAdministration); - if (MaxDosePerLifetime != null) yield return new ElementValue("maxDosePerLifetime", MaxDosePerLifetime); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs b/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs index a6ca433e2..c65c0a10b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EffectEvidenceSynthesis.cs @@ -238,30 +238,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfStudiesElement != null) yield return NumberOfStudiesElement; - if (NumberOfParticipantsElement != null) yield return NumberOfParticipantsElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfStudiesElement != null) yield return new ElementValue("numberOfStudies", NumberOfStudiesElement); - if (NumberOfParticipantsElement != null) yield return new ElementValue("numberOfParticipants", NumberOfParticipantsElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -471,32 +447,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExposureStateElement != null) yield return ExposureStateElement; - if (VariantState != null) yield return VariantState; - if (RiskEvidenceSynthesis != null) yield return RiskEvidenceSynthesis; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExposureStateElement != null) yield return new ElementValue("exposureState", ExposureStateElement); - if (VariantState != null) yield return new ElementValue("variantState", VariantState); - if (RiskEvidenceSynthesis != null) yield return new ElementValue("riskEvidenceSynthesis", RiskEvidenceSynthesis); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -743,36 +693,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Type != null) yield return Type; - if (VariantState != null) yield return VariantState; - if (ValueElement != null) yield return ValueElement; - if (UnitOfMeasure != null) yield return UnitOfMeasure; - foreach (var elem in PrecisionEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Type != null) yield return new ElementValue("type", Type); - if (VariantState != null) yield return new ElementValue("variantState", VariantState); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (UnitOfMeasure != null) yield return new ElementValue("unitOfMeasure", UnitOfMeasure); - foreach (var elem in PrecisionEstimate) { if (elem != null) yield return new ElementValue("precisionEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1016,32 +936,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (LevelElement != null) yield return LevelElement; - if (FromElement != null) yield return FromElement; - if (ToElement != null) yield return ToElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (LevelElement != null) yield return new ElementValue("level", LevelElement); - if (FromElement != null) yield return new ElementValue("from", FromElement); - if (ToElement != null) yield return new ElementValue("to", ToElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1204,30 +1098,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Rating) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in CertaintySubcomponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Rating) { if (elem != null) yield return new ElementValue("rating", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in CertaintySubcomponent) { if (elem != null) yield return new ElementValue("certaintySubcomponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1383,30 +1253,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Rating) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Rating) { if (elem != null) yield return new ElementValue("rating", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2255,90 +2101,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (SynthesisType != null) yield return SynthesisType; - if (StudyType != null) yield return StudyType; - if (Population != null) yield return Population; - if (Exposure != null) yield return Exposure; - if (ExposureAlternative != null) yield return ExposureAlternative; - if (Outcome != null) yield return Outcome; - if (SampleSize != null) yield return SampleSize; - foreach (var elem in ResultsByExposure) { if (elem != null) yield return elem; } - foreach (var elem in EffectEstimate) { if (elem != null) yield return elem; } - foreach (var elem in Certainty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (SynthesisType != null) yield return new ElementValue("synthesisType", SynthesisType); - if (StudyType != null) yield return new ElementValue("studyType", StudyType); - if (Population != null) yield return new ElementValue("population", Population); - if (Exposure != null) yield return new ElementValue("exposure", Exposure); - if (ExposureAlternative != null) yield return new ElementValue("exposureAlternative", ExposureAlternative); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (SampleSize != null) yield return new ElementValue("sampleSize", SampleSize); - foreach (var elem in ResultsByExposure) { if (elem != null) yield return new ElementValue("resultsByExposure", elem); } - foreach (var elem in EffectEstimate) { if (elem != null) yield return new ElementValue("effectEstimate", elem); } - foreach (var elem in Certainty) { if (elem != null) yield return new ElementValue("certainty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs index 511e562c2..3f5bf3c49 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Encounter.cs @@ -269,28 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -422,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Class != null) yield return Class; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Class != null) yield return new ElementValue("class", Class); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -592,30 +548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Individual != null) yield return Individual; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Individual != null) yield return new ElementValue("individual", Individual); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -786,30 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Use != null) yield return Use; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Use != null) yield return new ElementValue("use", Use); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1071,42 +979,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreAdmissionIdentifier != null) yield return PreAdmissionIdentifier; - if (Origin != null) yield return Origin; - if (AdmitSource != null) yield return AdmitSource; - if (ReAdmission != null) yield return ReAdmission; - foreach (var elem in DietPreference) { if (elem != null) yield return elem; } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return elem; } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return elem; } - if (Destination != null) yield return Destination; - if (DischargeDisposition != null) yield return DischargeDisposition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreAdmissionIdentifier != null) yield return new ElementValue("preAdmissionIdentifier", PreAdmissionIdentifier); - if (Origin != null) yield return new ElementValue("origin", Origin); - if (AdmitSource != null) yield return new ElementValue("admitSource", AdmitSource); - if (ReAdmission != null) yield return new ElementValue("reAdmission", ReAdmission); - foreach (var elem in DietPreference) { if (elem != null) yield return new ElementValue("dietPreference", elem); } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return new ElementValue("specialCourtesy", elem); } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return new ElementValue("specialArrangement", elem); } - if (Destination != null) yield return new ElementValue("destination", Destination); - if (DischargeDisposition != null) yield return new ElementValue("dischargeDisposition", DischargeDisposition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1341,32 +1213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (StatusElement != null) yield return StatusElement; - if (PhysicalType != null) yield return PhysicalType; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (PhysicalType != null) yield return new ElementValue("physicalType", PhysicalType); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1890,70 +1736,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - if (Class != null) yield return Class; - foreach (var elem in ClassHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (ServiceType != null) yield return ServiceType; - if (Priority != null) yield return Priority; - if (Subject != null) yield return Subject; - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Appointment) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Length != null) yield return Length; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - if (Hospitalization != null) yield return Hospitalization; - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (ServiceProvider != null) yield return ServiceProvider; - if (PartOf != null) yield return PartOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - if (Class != null) yield return new ElementValue("class", Class); - foreach (var elem in ClassHistory) { if (elem != null) yield return new ElementValue("classHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (ServiceType != null) yield return new ElementValue("serviceType", ServiceType); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return new ElementValue("episodeOfCare", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Appointment) { if (elem != null) yield return new ElementValue("appointment", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Length != null) yield return new ElementValue("length", Length); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - if (Hospitalization != null) yield return new ElementValue("hospitalization", Hospitalization); - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (ServiceProvider != null) yield return new ElementValue("serviceProvider", ServiceProvider); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs index cb9f3c96f..c73789a1d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Endpoint.cs @@ -427,46 +427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ConnectionType != null) yield return ConnectionType; - if (NameElement != null) yield return NameElement; - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in PayloadType) { if (elem != null) yield return elem; } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return elem; } - if (AddressElement != null) yield return AddressElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ConnectionType != null) yield return new ElementValue("connectionType", ConnectionType); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in PayloadType) { if (elem != null) yield return new ElementValue("payloadType", elem); } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return new ElementValue("payloadMimeType", elem); } - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs index 7b71cbf02..894aa6282 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentRequest.cs @@ -259,38 +259,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Candidate != null) yield return Candidate; - if (Coverage != null) yield return Coverage; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Candidate != null) yield return new ElementValue("candidate", Candidate); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs index 9e00194b7..5a8dd085f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EnrollmentResponse.cs @@ -311,40 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (RequestProvider != null) yield return RequestProvider; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs index f7acf50f7..f246a0a2d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EpisodeOfCare.cs @@ -220,28 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -405,30 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Role != null) yield return Role; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Role != null) yield return new ElementValue("role", Role); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -755,48 +709,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (Period != null) yield return Period; - foreach (var elem in ReferralRequest) { if (elem != null) yield return elem; } - if (CareManager != null) yield return CareManager; - foreach (var elem in Team) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in ReferralRequest) { if (elem != null) yield return new ElementValue("referralRequest", elem); } - if (CareManager != null) yield return new ElementValue("careManager", CareManager); - foreach (var elem in Team) { if (elem != null) yield return new ElementValue("team", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs index cfa771c22..f8204cab0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EventDefinition.cs @@ -838,80 +838,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs index 02e10d543..1a6b72b81 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Evidence.cs @@ -807,80 +807,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (ExposureBackground != null) yield return ExposureBackground; - foreach (var elem in ExposureVariant) { if (elem != null) yield return elem; } - foreach (var elem in Outcome) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (ExposureBackground != null) yield return new ElementValue("exposureBackground", ExposureBackground); - foreach (var elem in ExposureVariant) { if (elem != null) yield return new ElementValue("exposureVariant", elem); } - foreach (var elem in Outcome) { if (elem != null) yield return new ElementValue("outcome", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs index 222afec63..e39b24ab8 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/EvidenceVariable.cs @@ -291,38 +291,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Definition != null) yield return Definition; - foreach (var elem in UsageContext) { if (elem != null) yield return elem; } - if (ExcludeElement != null) yield return ExcludeElement; - if (ParticipantEffective != null) yield return ParticipantEffective; - if (TimeFromStart != null) yield return TimeFromStart; - if (GroupMeasureElement != null) yield return GroupMeasureElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UsageContext) { if (elem != null) yield return new ElementValue("usageContext", elem); } - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (ParticipantEffective != null) yield return new ElementValue("participantEffective", ParticipantEffective); - if (TimeFromStart != null) yield return new ElementValue("timeFromStart", TimeFromStart); - if (GroupMeasureElement != null) yield return new ElementValue("groupMeasure", GroupMeasureElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1143,78 +1111,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs index 30e10d241..c74dd4243 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ExampleScenario.cs @@ -270,32 +270,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActorIdElement != null) yield return ActorIdElement; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActorIdElement != null) yield return new ElementValue("actorId", ActorIdElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -577,36 +551,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceIdElement != null) yield return ResourceIdElement; - if (ResourceTypeElement != null) yield return ResourceTypeElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in ContainedInstance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceIdElement != null) yield return new ElementValue("resourceId", ResourceIdElement); - if (ResourceTypeElement != null) yield return new ElementValue("resourceType", ResourceTypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in ContainedInstance) { if (elem != null) yield return new ElementValue("containedInstance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -798,28 +742,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VersionIdElement != null) yield return VersionIdElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VersionIdElement != null) yield return new ElementValue("versionId", VersionIdElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -985,28 +907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceIdElement != null) yield return ResourceIdElement; - if (VersionIdElement != null) yield return VersionIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceIdElement != null) yield return new ElementValue("resourceId", ResourceIdElement); - if (VersionIdElement != null) yield return new ElementValue("versionId", VersionIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1254,34 +1154,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PreConditionsElement != null) yield return PreConditionsElement; - if (PostConditionsElement != null) yield return PostConditionsElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PreConditionsElement != null) yield return new ElementValue("preConditions", PreConditionsElement); - if (PostConditionsElement != null) yield return new ElementValue("postConditions", PostConditionsElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1480,32 +1352,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Process) { if (elem != null) yield return elem; } - if (PauseElement != null) yield return PauseElement; - if (Operation != null) yield return Operation; - foreach (var elem in Alternative) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Process) { if (elem != null) yield return new ElementValue("process", elem); } - if (PauseElement != null) yield return new ElementValue("pause", PauseElement); - if (Operation != null) yield return new ElementValue("operation", Operation); - foreach (var elem in Alternative) { if (elem != null) yield return new ElementValue("alternative", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1918,44 +1764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (InitiatorElement != null) yield return InitiatorElement; - if (ReceiverElement != null) yield return ReceiverElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (InitiatorActiveElement != null) yield return InitiatorActiveElement; - if (ReceiverActiveElement != null) yield return ReceiverActiveElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (InitiatorElement != null) yield return new ElementValue("initiator", InitiatorElement); - if (ReceiverElement != null) yield return new ElementValue("receiver", ReceiverElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (InitiatorActiveElement != null) yield return new ElementValue("initiatorActive", InitiatorActiveElement); - if (ReceiverActiveElement != null) yield return new ElementValue("receiverActive", ReceiverActiveElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2194,30 +2002,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2771,58 +2555,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (PurposeElement != null) yield return PurposeElement; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Process) { if (elem != null) yield return elem; } - foreach (var elem in WorkflowElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Process) { if (elem != null) yield return new ElementValue("process", elem); } - foreach (var elem in WorkflowElement) { if (elem != null) yield return new ElementValue("workflow", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs index 397f705f4..fa92b75fb 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ExplanationOfBenefit.cs @@ -200,30 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -363,28 +339,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -603,34 +557,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -873,36 +799,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1135,34 +1031,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1407,34 +1275,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1642,30 +1482,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1839,30 +1655,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2491,70 +2283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2883,32 +2611,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3312,52 +3014,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3814,50 +3470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4433,60 +4045,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return new ElementValue("subDetailSequence", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4882,42 +4440,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5233,40 +4755,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5441,28 +4929,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5675,36 +5141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5950,32 +5386,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6271,40 +5681,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Financial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Financial) { if (elem != null) yield return new ElementValue("financial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6497,30 +5873,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7482,110 +6834,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserveRequested != null) yield return FundsReserveRequested; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - if (Claim != null) yield return Claim; - if (ClaimResponse != null) yield return ClaimResponse; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - if (PrecedenceElement != null) yield return PrecedenceElement; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in BenefitBalance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserveRequested != null) yield return new ElementValue("fundsReserveRequested", FundsReserveRequested); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - if (Claim != null) yield return new ElementValue("claim", Claim); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return new ElementValue("preAuthRefPeriod", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - if (PrecedenceElement != null) yield return new ElementValue("precedence", PrecedenceElement); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in BenefitBalance) { if (elem != null) yield return new ElementValue("benefitBalance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Expression.cs b/src/Hl7.Fhir.R4/Model/Generated/Expression.cs index 7fd030dbc..226d9d014 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Expression.cs @@ -270,34 +270,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (NameElement != null) yield return NameElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (ReferenceElement != null) yield return ReferenceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs index 07dbdbfea..c21bf6b8a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/FamilyMemberHistory.cs @@ -252,34 +252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Outcome != null) yield return Outcome; - if (ContributedToDeathElement != null) yield return ContributedToDeathElement; - if (Onset != null) yield return Onset; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (ContributedToDeathElement != null) yield return new ElementValue("contributedToDeath", ContributedToDeathElement); - if (Onset != null) yield return new ElementValue("onset", Onset); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -805,60 +777,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DataAbsentReason != null) yield return DataAbsentReason; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (NameElement != null) yield return NameElement; - if (Relationship != null) yield return Relationship; - if (Sex != null) yield return Sex; - if (Born != null) yield return Born; - if (Age != null) yield return Age; - if (EstimatedAgeElement != null) yield return EstimatedAgeElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Sex != null) yield return new ElementValue("sex", Sex); - if (Born != null) yield return new ElementValue("born", Born); - if (Age != null) yield return new ElementValue("age", Age); - if (EstimatedAgeElement != null) yield return new ElementValue("estimatedAge", EstimatedAgeElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Flag.cs b/src/Hl7.Fhir.R4/Model/Generated/Flag.cs index c235d2151..6ee79e894 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Flag.cs @@ -292,40 +292,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - if (Encounter != null) yield return Encounter; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Goal.cs b/src/Hl7.Fhir.R4/Model/Generated/Goal.cs index ceb84ff9c..c42d127c3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Goal.cs @@ -234,30 +234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -688,56 +664,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (LifecycleStatusElement != null) yield return LifecycleStatusElement; - if (AchievementStatus != null) yield return AchievementStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - if (Description != null) yield return Description; - if (Subject != null) yield return Subject; - if (Start != null) yield return Start; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (StatusDateElement != null) yield return StatusDateElement; - if (StatusReasonElement != null) yield return StatusReasonElement; - if (ExpressedBy != null) yield return ExpressedBy; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeCode) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (LifecycleStatusElement != null) yield return new ElementValue("lifecycleStatus", LifecycleStatusElement); - if (AchievementStatus != null) yield return new ElementValue("achievementStatus", AchievementStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Description != null) yield return new ElementValue("description", Description); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (StatusReasonElement != null) yield return new ElementValue("statusReason", StatusReasonElement); - if (ExpressedBy != null) yield return new ElementValue("expressedBy", ExpressedBy); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in OutcomeCode) { if (elem != null) yield return new ElementValue("outcomeCode", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs index 9b71d8b4a..f37d23e79 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/GraphDefinition.cs @@ -354,36 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SliceNameElement != null) yield return SliceNameElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -644,34 +614,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ParamsElement != null) yield return ParamsElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Compartment) { if (elem != null) yield return elem; } - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Compartment) { if (elem != null) yield return new ElementValue("compartment", elem); } - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -965,34 +907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (CodeElement != null) yield return CodeElement; - if (RuleElement != null) yield return RuleElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (RuleElement != null) yield return new ElementValue("rule", RuleElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1544,54 +1458,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (StartElement != null) yield return StartElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Group.cs b/src/Hl7.Fhir.R4/Model/Generated/Group.cs index 08024eca0..fe39f6230 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Group.cs @@ -251,32 +251,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -456,30 +430,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Period != null) yield return Period; - if (InactiveElement != null) yield return InactiveElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Period != null) yield return new ElementValue("period", Period); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -832,44 +782,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (TypeElement != null) yield return TypeElement; - if (ActualElement != null) yield return ActualElement; - if (Code != null) yield return Code; - if (NameElement != null) yield return NameElement; - if (QuantityElement != null) yield return QuantityElement; - if (ManagingEntity != null) yield return ManagingEntity; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Member) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Code != null) yield return new ElementValue("code", Code); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - if (ManagingEntity != null) yield return new ElementValue("managingEntity", ManagingEntity); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Member) { if (elem != null) yield return new ElementValue("member", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs index 2fdef800d..bf6e94075 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/GuidanceResponse.cs @@ -451,54 +451,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequestIdentifier != null) yield return RequestIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Module != null) yield return Module; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (OccurrenceDateTimeElement != null) yield return OccurrenceDateTimeElement; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return elem; } - if (OutputParameters != null) yield return OutputParameters; - if (Result != null) yield return Result; - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequestIdentifier != null) yield return new ElementValue("requestIdentifier", RequestIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Module != null) yield return new ElementValue("module", Module); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (OccurrenceDateTimeElement != null) yield return new ElementValue("occurrenceDateTime", OccurrenceDateTimeElement); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return new ElementValue("evaluationMessage", elem); } - if (OutputParameters != null) yield return new ElementValue("outputParameters", OutputParameters); - if (Result != null) yield return new ElementValue("result", Result); - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs index 60c536ed9..e18a9663b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/HealthcareService.cs @@ -162,28 +162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -420,32 +398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -607,28 +559,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1238,72 +1168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (ProvidedBy != null) yield return ProvidedBy; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - if (ExtraDetailsElement != null) yield return ExtraDetailsElement; - if (Photo != null) yield return Photo; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return elem; } - foreach (var elem in Eligibility) { if (elem != null) yield return elem; } - foreach (var elem in Program) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in ReferralMethod) { if (elem != null) yield return elem; } - if (AppointmentRequiredElement != null) yield return AppointmentRequiredElement; - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (ProvidedBy != null) yield return new ElementValue("providedBy", ProvidedBy); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (ExtraDetailsElement != null) yield return new ElementValue("extraDetails", ExtraDetailsElement); - if (Photo != null) yield return new ElementValue("photo", Photo); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return new ElementValue("serviceProvisionCode", elem); } - foreach (var elem in Eligibility) { if (elem != null) yield return new ElementValue("eligibility", elem); } - foreach (var elem in Program) { if (elem != null) yield return new ElementValue("program", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in ReferralMethod) { if (elem != null) yield return new ElementValue("referralMethod", elem); } - if (AppointmentRequiredElement != null) yield return new ElementValue("appointmentRequired", AppointmentRequiredElement); - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs index 94907ee7a..f2bc0b19d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/HumanName.cs @@ -376,38 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TextElement != null) yield return TextElement; - if (FamilyElement != null) yield return FamilyElement; - foreach (var elem in GivenElement) { if (elem != null) yield return elem; } - foreach (var elem in PrefixElement) { if (elem != null) yield return elem; } - foreach (var elem in SuffixElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (FamilyElement != null) yield return new ElementValue("family", FamilyElement); - foreach (var elem in GivenElement) { if (elem != null) yield return new ElementValue("given", elem); } - foreach (var elem in PrefixElement) { if (elem != null) yield return new ElementValue("prefix", elem); } - foreach (var elem in SuffixElement) { if (elem != null) yield return new ElementValue("suffix", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs index cea84aa7d..d73c05b5d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImagingStudy.cs @@ -449,48 +449,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (Modality != null) yield return Modality; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Laterality != null) yield return Laterality; - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - if (StartedElement != null) yield return StartedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Laterality != null) yield return new ElementValue("laterality", Laterality); - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -694,28 +652,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -933,32 +869,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (SopClass != null) yield return SopClass; - if (NumberElement != null) yield return NumberElement; - if (TitleElement != null) yield return TitleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (SopClass != null) yield return new ElementValue("sopClass", SopClass); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1500,64 +1410,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Modality) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (StartedElement != null) yield return StartedElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Referrer != null) yield return Referrer; - foreach (var elem in Interpreter) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (NumberOfSeriesElement != null) yield return NumberOfSeriesElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - if (ProcedureReference != null) yield return ProcedureReference; - foreach (var elem in ProcedureCode) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Series) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Modality) { if (elem != null) yield return new ElementValue("modality", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Referrer != null) yield return new ElementValue("referrer", Referrer); - foreach (var elem in Interpreter) { if (elem != null) yield return new ElementValue("interpreter", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (NumberOfSeriesElement != null) yield return new ElementValue("numberOfSeries", NumberOfSeriesElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - if (ProcedureReference != null) yield return new ElementValue("procedureReference", ProcedureReference); - foreach (var elem in ProcedureCode) { if (elem != null) yield return new ElementValue("procedureCode", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Series) { if (elem != null) yield return new ElementValue("series", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs index 423c20d46..2f5929e20 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Immunization.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -432,32 +410,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DocumentTypeElement != null) yield return DocumentTypeElement; - if (ReferenceElement != null) yield return ReferenceElement; - if (PublicationDateElement != null) yield return PublicationDateElement; - if (PresentationDateElement != null) yield return PresentationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DocumentTypeElement != null) yield return new ElementValue("documentType", DocumentTypeElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - if (PresentationDateElement != null) yield return new ElementValue("presentationDate", PresentationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -655,30 +607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Detail != null) yield return Detail; - if (ReportedElement != null) yield return ReportedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (ReportedElement != null) yield return new ElementValue("reported", ReportedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -889,34 +817,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SeriesElement != null) yield return SeriesElement; - if (Authority != null) yield return Authority; - foreach (var elem in TargetDisease) { if (elem != null) yield return elem; } - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in TargetDisease) { if (elem != null) yield return new ElementValue("targetDisease", elem); } - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1616,80 +1516,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (VaccineCode != null) yield return VaccineCode; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (RecordedElement != null) yield return RecordedElement; - if (PrimarySourceElement != null) yield return PrimarySourceElement; - if (ReportOrigin != null) yield return ReportOrigin; - if (Location != null) yield return Location; - if (Manufacturer != null) yield return Manufacturer; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (DoseQuantity != null) yield return DoseQuantity; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (IsSubpotentElement != null) yield return IsSubpotentElement; - foreach (var elem in SubpotentReason) { if (elem != null) yield return elem; } - foreach (var elem in Education) { if (elem != null) yield return elem; } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return elem; } - if (FundingSource != null) yield return FundingSource; - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (VaccineCode != null) yield return new ElementValue("vaccineCode", VaccineCode); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (PrimarySourceElement != null) yield return new ElementValue("primarySource", PrimarySourceElement); - if (ReportOrigin != null) yield return new ElementValue("reportOrigin", ReportOrigin); - if (Location != null) yield return new ElementValue("location", Location); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (DoseQuantity != null) yield return new ElementValue("doseQuantity", DoseQuantity); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (IsSubpotentElement != null) yield return new ElementValue("isSubpotent", IsSubpotentElement); - foreach (var elem in SubpotentReason) { if (elem != null) yield return new ElementValue("subpotentReason", elem); } - foreach (var elem in Education) { if (elem != null) yield return new ElementValue("education", elem); } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return new ElementValue("programEligibility", elem); } - if (FundingSource != null) yield return new ElementValue("fundingSource", FundingSource); - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return new ElementValue("protocolApplied", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs index 8dfb22d79..6382e226a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationEvaluation.cs @@ -424,50 +424,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - if (TargetDisease != null) yield return TargetDisease; - if (ImmunizationEvent != null) yield return ImmunizationEvent; - if (DoseStatus != null) yield return DoseStatus; - foreach (var elem in DoseStatusReason) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - if (ImmunizationEvent != null) yield return new ElementValue("immunizationEvent", ImmunizationEvent); - if (DoseStatus != null) yield return new ElementValue("doseStatus", DoseStatus); - foreach (var elem in DoseStatusReason) { if (elem != null) yield return new ElementValue("doseStatusReason", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs index 6ca64139d..e11dc3ec7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImmunizationRecommendation.cs @@ -359,48 +359,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return elem; } - if (TargetDisease != null) yield return TargetDisease; - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return elem; } - if (ForecastStatus != null) yield return ForecastStatus; - foreach (var elem in ForecastReason) { if (elem != null) yield return elem; } - foreach (var elem in DateCriterion) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - foreach (var elem in SupportingImmunization) { if (elem != null) yield return elem; } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return new ElementValue("vaccineCode", elem); } - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return new ElementValue("contraindicatedVaccineCode", elem); } - if (ForecastStatus != null) yield return new ElementValue("forecastStatus", ForecastStatus); - foreach (var elem in ForecastReason) { if (elem != null) yield return new ElementValue("forecastReason", elem); } - foreach (var elem in DateCriterion) { if (elem != null) yield return new ElementValue("dateCriterion", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - foreach (var elem in SupportingImmunization) { if (elem != null) yield return new ElementValue("supportingImmunization", elem); } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return new ElementValue("supportingPatientInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -620,28 +578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -830,34 +766,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - foreach (var elem in Recommendation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in Recommendation) { if (elem != null) yield return new ElementValue("recommendation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs index 0c8ce32d0..9d838f13f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ImplementationGuide.cs @@ -2407,30 +2407,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2607,28 +2583,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2810,34 +2764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return elem; } - foreach (var elem in Resource) { if (elem != null) yield return elem; } - if (Page != null) yield return Page; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Template) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return new ElementValue("grouping", elem); } - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - if (Page != null) yield return new ElementValue("page", Page); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Template) { if (elem != null) yield return new ElementValue("template", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3025,28 +2951,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3319,36 +3223,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Example != null) yield return Example; - if (GroupingIdElement != null) yield return GroupingIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Example != null) yield return new ElementValue("example", Example); - if (GroupingIdElement != null) yield return new ElementValue("groupingId", GroupingIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3583,32 +3457,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Name != null) yield return Name; - if (TitleElement != null) yield return TitleElement; - if (GenerationElement != null) yield return GenerationElement; - foreach (var elem in Page) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Name != null) yield return new ElementValue("name", Name); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (GenerationElement != null) yield return new ElementValue("generation", GenerationElement); - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3788,28 +3636,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4007,30 +3833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (SourceElement != null) yield return SourceElement; - if (ScopeElement != null) yield return ScopeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (ScopeElement != null) yield return new ElementValue("scope", ScopeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4272,34 +4074,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RenderingElement != null) yield return RenderingElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Page) { if (elem != null) yield return elem; } - foreach (var elem in ImageElement) { if (elem != null) yield return elem; } - foreach (var elem in OtherElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RenderingElement != null) yield return new ElementValue("rendering", RenderingElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - foreach (var elem in ImageElement) { if (elem != null) yield return new ElementValue("image", elem); } - foreach (var elem in OtherElement) { if (elem != null) yield return new ElementValue("other", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4488,30 +4262,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - if (Example != null) yield return Example; - if (RelativePathElement != null) yield return RelativePathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Example != null) yield return new ElementValue("example", Example); - if (RelativePathElement != null) yield return new ElementValue("relativePath", RelativePathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4719,30 +4469,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in AnchorElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in AnchorElement) { if (elem != null) yield return new ElementValue("anchor", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5401,64 +5127,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (LicenseElement != null) yield return LicenseElement; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Global) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - if (Manifest != null) yield return Manifest; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (LicenseElement != null) yield return new ElementValue("license", LicenseElement); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Global) { if (elem != null) yield return new ElementValue("global", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Manifest != null) yield return new ElementValue("manifest", Manifest); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs index 99a66bbcb..d9163a07a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/InsurancePlan.cs @@ -206,32 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -395,30 +369,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -590,30 +540,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RequirementElement != null) yield return RequirementElement; - foreach (var elem in Limit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - foreach (var elem in Limit) { if (elem != null) yield return new ElementValue("limit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -749,28 +675,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -972,36 +876,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in GeneralCost) { if (elem != null) yield return elem; } - foreach (var elem in SpecificCost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in GeneralCost) { if (elem != null) yield return new ElementValue("generalCost", elem); } - foreach (var elem in SpecificCost) { if (elem != null) yield return new ElementValue("specificCost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1226,32 +1100,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (GroupSizeElement != null) yield return GroupSizeElement; - if (Cost != null) yield return Cost; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (GroupSizeElement != null) yield return new ElementValue("groupSize", GroupSizeElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1396,28 +1244,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1548,28 +1374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Cost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1733,32 +1537,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Applicability != null) yield return Applicability; - foreach (var elem in Qualifiers) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Applicability != null) yield return new ElementValue("applicability", Applicability); - foreach (var elem in Qualifiers) { if (elem != null) yield return new ElementValue("qualifiers", elem); } - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2155,52 +1933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (OwnedBy != null) yield return OwnedBy; - if (AdministeredBy != null) yield return AdministeredBy; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - foreach (var elem in Plan) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (OwnedBy != null) yield return new ElementValue("ownedBy", OwnedBy); - if (AdministeredBy != null) yield return new ElementValue("administeredBy", AdministeredBy); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - foreach (var elem in Plan) { if (elem != null) yield return new ElementValue("plan", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs index 789ae1a32..8a151c0e0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Invoice.cs @@ -189,28 +189,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -378,30 +356,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (ChargeItem != null) yield return ChargeItem; - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (ChargeItem != null) yield return new ElementValue("chargeItem", ChargeItem); - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -608,32 +562,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (FactorElement != null) yield return FactorElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1074,56 +1002,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancelledReasonElement != null) yield return CancelledReasonElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (Recipient != null) yield return Recipient; - if (DateElement != null) yield return DateElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Issuer != null) yield return Issuer; - if (Account != null) yield return Account; - foreach (var elem in LineItem) { if (elem != null) yield return elem; } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return elem; } - if (TotalNet != null) yield return TotalNet; - if (TotalGross != null) yield return TotalGross; - if (PaymentTermsElement != null) yield return PaymentTermsElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancelledReasonElement != null) yield return new ElementValue("cancelledReason", CancelledReasonElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - if (Account != null) yield return new ElementValue("account", Account); - foreach (var elem in LineItem) { if (elem != null) yield return new ElementValue("lineItem", elem); } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return new ElementValue("totalPriceComponent", elem); } - if (TotalNet != null) yield return new ElementValue("totalNet", TotalNet); - if (TotalGross != null) yield return new ElementValue("totalGross", TotalGross); - if (PaymentTermsElement != null) yield return new ElementValue("paymentTerms", PaymentTermsElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Library.cs b/src/Hl7.Fhir.R4/Model/Generated/Library.cs index b7c9a65df..0fb97a839 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Library.cs @@ -893,86 +893,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs index 8779c4496..d279db294 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Linkage.cs @@ -198,28 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,30 +347,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActiveElement != null) yield return ActiveElement; - if (Author != null) yield return Author; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/List.cs b/src/Hl7.Fhir.R4/Model/Generated/List.cs index d3a554289..e513c03ea 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/List.cs @@ -244,32 +244,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Flag != null) yield return Flag; - if (DeletedElement != null) yield return DeletedElement; - if (DateElement != null) yield return DateElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Flag != null) yield return new ElementValue("flag", Flag); - if (DeletedElement != null) yield return new ElementValue("deleted", DeletedElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -667,50 +641,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ModeElement != null) yield return ModeElement; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (Source != null) yield return Source; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Source != null) yield return new ElementValue("source", Source); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Location.cs b/src/Hl7.Fhir.R4/Model/Generated/Location.cs index f99ac6fab..c91792d87 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Location.cs @@ -268,30 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LongitudeElement != null) yield return LongitudeElement; - if (LatitudeElement != null) yield return LatitudeElement; - if (AltitudeElement != null) yield return AltitudeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LongitudeElement != null) yield return new ElementValue("longitude", LongitudeElement); - if (LatitudeElement != null) yield return new ElementValue("latitude", LatitudeElement); - if (AltitudeElement != null) yield return new ElementValue("altitude", AltitudeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,32 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (OpeningTimeElement != null) yield return OpeningTimeElement; - if (ClosingTimeElement != null) yield return ClosingTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (OpeningTimeElement != null) yield return new ElementValue("openingTime", OpeningTimeElement); - if (ClosingTimeElement != null) yield return new ElementValue("closingTime", ClosingTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1059,58 +1009,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (OperationalStatus != null) yield return OperationalStatus; - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (ModeElement != null) yield return ModeElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (PhysicalType != null) yield return PhysicalType; - if (Position != null) yield return Position; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (PartOf != null) yield return PartOf; - foreach (var elem in HoursOfOperation) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (OperationalStatus != null) yield return new ElementValue("operationalStatus", OperationalStatus); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (PhysicalType != null) yield return new ElementValue("physicalType", PhysicalType); - if (Position != null) yield return new ElementValue("position", Position); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in HoursOfOperation) { if (elem != null) yield return new ElementValue("hoursOfOperation", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs index 93d802747..fac0cbe8f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MarketingStatus.cs @@ -196,34 +196,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Status != null) yield return Status; - if (DateRange != null) yield return DateRange; - if (RestoreDateElement != null) yield return RestoreDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Status != null) yield return new ElementValue("status", Status); - if (DateRange != null) yield return new ElementValue("dateRange", DateRange); - if (RestoreDateElement != null) yield return new ElementValue("restoreDate", RestoreDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Measure.cs b/src/Hl7.Fhir.R4/Model/Generated/Measure.cs index 566508f36..3c8af0ac4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Measure.cs @@ -198,32 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Population) { if (elem != null) yield return elem; } - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -402,30 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -612,32 +562,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -816,30 +740,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1029,32 +929,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Usage) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2252,106 +2126,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (DisclaimerElement != null) yield return DisclaimerElement; - if (Scoring != null) yield return Scoring; - if (CompositeScoring != null) yield return CompositeScoring; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (RiskAdjustmentElement != null) yield return RiskAdjustmentElement; - if (RateAggregationElement != null) yield return RateAggregationElement; - if (RationaleElement != null) yield return RationaleElement; - if (ClinicalRecommendationStatementElement != null) yield return ClinicalRecommendationStatementElement; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in DefinitionElement) { if (elem != null) yield return elem; } - if (GuidanceElement != null) yield return GuidanceElement; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in SupplementalData) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (DisclaimerElement != null) yield return new ElementValue("disclaimer", DisclaimerElement); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (CompositeScoring != null) yield return new ElementValue("compositeScoring", CompositeScoring); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (RiskAdjustmentElement != null) yield return new ElementValue("riskAdjustment", RiskAdjustmentElement); - if (RateAggregationElement != null) yield return new ElementValue("rateAggregation", RateAggregationElement); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - if (ClinicalRecommendationStatementElement != null) yield return new ElementValue("clinicalRecommendationStatement", ClinicalRecommendationStatementElement); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in DefinitionElement) { if (elem != null) yield return new ElementValue("definition", elem); } - if (GuidanceElement != null) yield return new ElementValue("guidance", GuidanceElement); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in SupplementalData) { if (elem != null) yield return new ElementValue("supplementalData", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs index 29149bf2b..9f4412431 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MeasureReport.cs @@ -242,32 +242,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -447,30 +421,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -608,28 +558,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Stratum) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Stratum) { if (elem != null) yield return new ElementValue("stratum", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -792,32 +720,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Component) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -962,28 +864,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1149,30 +1029,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1528,46 +1384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (MeasureElement != null) yield return MeasureElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (Reporter != null) yield return Reporter; - if (Period != null) yield return Period; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (MeasureElement != null) yield return new ElementValue("measure", MeasureElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Reporter != null) yield return new ElementValue("reporter", Reporter); - if (Period != null) yield return new ElementValue("period", Period); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return new ElementValue("evaluatedResource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Media.cs b/src/Hl7.Fhir.R4/Model/Generated/Media.cs index baefccf1b..26cbcf7a4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Media.cs @@ -603,68 +603,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Modality != null) yield return Modality; - if (View != null) yield return View; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Created != null) yield return Created; - if (IssuedElement != null) yield return IssuedElement; - if (Operator != null) yield return Operator; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (DeviceNameElement != null) yield return DeviceNameElement; - if (Device != null) yield return Device; - if (HeightElement != null) yield return HeightElement; - if (WidthElement != null) yield return WidthElement; - if (FramesElement != null) yield return FramesElement; - if (DurationElement != null) yield return DurationElement; - if (Content != null) yield return Content; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (View != null) yield return new ElementValue("view", View); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Created != null) yield return new ElementValue("created", Created); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Operator != null) yield return new ElementValue("operator", Operator); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (DeviceNameElement != null) yield return new ElementValue("deviceName", DeviceNameElement); - if (Device != null) yield return new ElementValue("device", Device); - if (HeightElement != null) yield return new ElementValue("height", HeightElement); - if (WidthElement != null) yield return new ElementValue("width", WidthElement); - if (FramesElement != null) yield return new ElementValue("frames", FramesElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (Content != null) yield return new ElementValue("content", Content); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Medication.cs b/src/Hl7.Fhir.R4/Model/Generated/Medication.cs index 672c772cc..b74fbf24f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Medication.cs @@ -213,30 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -408,28 +384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -669,40 +623,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (Manufacturer != null) yield return Manufacturer; - if (Form != null) yield return Form; - if (Amount != null) yield return Amount; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Batch != null) yield return Batch; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (Form != null) yield return new ElementValue("form", Form); - if (Amount != null) yield return new ElementValue("amount", Amount); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Batch != null) yield return new ElementValue("batch", Batch); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs index bfa7a9411..6d11d1a12 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationAdministration.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,36 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TextElement != null) yield return TextElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -964,62 +912,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (Effective != null) yield return Effective; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (Request != null) yield return Request; - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Dosage != null) yield return Dosage; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (Effective != null) yield return new ElementValue("effective", Effective); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (Request != null) yield return new ElementValue("request", Request); - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Dosage != null) yield return new ElementValue("dosage", Dosage); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs index f14ac8078..da431be1b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationDispense.cs @@ -214,28 +214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -421,32 +399,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (WasSubstitutedElement != null) yield return WasSubstitutedElement; - if (Type != null) yield return Type; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (WasSubstitutedElement != null) yield return new ElementValue("wasSubstituted", WasSubstitutedElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return new ElementValue("responsibleParty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1028,72 +980,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (DaysSupply != null) yield return DaysSupply; - if (WhenPreparedElement != null) yield return WhenPreparedElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (Substitution != null) yield return Substitution; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return new ElementValue("authorizingPrescription", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DaysSupply != null) yield return new ElementValue("daysSupply", DaysSupply); - if (WhenPreparedElement != null) yield return new ElementValue("whenPrepared", WhenPreparedElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs index d3e1819c1..5cb143555 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationKnowledge.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -327,28 +305,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Source != null) yield return Source; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Source != null) yield return new ElementValue("source", Source); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -515,30 +471,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -710,30 +642,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SourceElement != null) yield return SourceElement; - if (Cost != null) yield return Cost; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -887,28 +795,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1058,30 +944,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - if (Indication != null) yield return Indication; - foreach (var elem in PatientCharacteristics) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - if (Indication != null) yield return new ElementValue("indication", Indication); - foreach (var elem in PatientCharacteristics) { if (elem != null) yield return new ElementValue("patientCharacteristics", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1216,28 +1078,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1388,28 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Characteristic != null) yield return Characteristic; - foreach (var elem in ValueElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Characteristic != null) yield return new ElementValue("characteristic", Characteristic); - foreach (var elem in ValueElement) { if (elem != null) yield return new ElementValue("value", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1537,28 +1355,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1688,28 +1484,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1841,28 +1615,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2025,32 +1777,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RegulatoryAuthority != null) yield return RegulatoryAuthority; - foreach (var elem in Substitution) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (MaxDispense != null) yield return MaxDispense; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RegulatoryAuthority != null) yield return new ElementValue("regulatoryAuthority", RegulatoryAuthority); - foreach (var elem in Substitution) { if (elem != null) yield return new ElementValue("substitution", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (MaxDispense != null) yield return new ElementValue("maxDispense", MaxDispense); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2210,28 +1936,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (AllowedElement != null) yield return AllowedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (AllowedElement != null) yield return new ElementValue("allowed", AllowedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2342,26 +2046,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2481,28 +2165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2646,30 +2308,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in AreaUnderCurve) { if (elem != null) yield return elem; } - foreach (var elem in LethalDose50) { if (elem != null) yield return elem; } - if (HalfLifePeriod != null) yield return HalfLifePeriod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in AreaUnderCurve) { if (elem != null) yield return new ElementValue("areaUnderCurve", elem); } - foreach (var elem in LethalDose50) { if (elem != null) yield return new ElementValue("lethalDose50", elem); } - if (HalfLifePeriod != null) yield return new ElementValue("halfLifePeriod", HalfLifePeriod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3192,68 +2830,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (Manufacturer != null) yield return Manufacturer; - if (DoseForm != null) yield return DoseForm; - if (Amount != null) yield return Amount; - foreach (var elem in SynonymElement) { if (elem != null) yield return elem; } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return elem; } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return elem; } - foreach (var elem in ProductType) { if (elem != null) yield return elem; } - foreach (var elem in Monograph) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (PreparationInstructionElement != null) yield return PreparationInstructionElement; - foreach (var elem in IntendedRoute) { if (elem != null) yield return elem; } - foreach (var elem in Cost) { if (elem != null) yield return elem; } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return elem; } - foreach (var elem in AdministrationGuidelines) { if (elem != null) yield return elem; } - foreach (var elem in MedicineClassification) { if (elem != null) yield return elem; } - if (Packaging != null) yield return Packaging; - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return elem; } - foreach (var elem in Contraindication) { if (elem != null) yield return elem; } - foreach (var elem in Regulatory) { if (elem != null) yield return elem; } - foreach (var elem in Kinetics) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (DoseForm != null) yield return new ElementValue("doseForm", DoseForm); - if (Amount != null) yield return new ElementValue("amount", Amount); - foreach (var elem in SynonymElement) { if (elem != null) yield return new ElementValue("synonym", elem); } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return new ElementValue("relatedMedicationKnowledge", elem); } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return new ElementValue("associatedMedication", elem); } - foreach (var elem in ProductType) { if (elem != null) yield return new ElementValue("productType", elem); } - foreach (var elem in Monograph) { if (elem != null) yield return new ElementValue("monograph", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (PreparationInstructionElement != null) yield return new ElementValue("preparationInstruction", PreparationInstructionElement); - foreach (var elem in IntendedRoute) { if (elem != null) yield return new ElementValue("intendedRoute", elem); } - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return new ElementValue("monitoringProgram", elem); } - foreach (var elem in AdministrationGuidelines) { if (elem != null) yield return new ElementValue("administrationGuidelines", elem); } - foreach (var elem in MedicineClassification) { if (elem != null) yield return new ElementValue("medicineClassification", elem); } - if (Packaging != null) yield return new ElementValue("packaging", Packaging); - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return new ElementValue("drugCharacteristic", elem); } - foreach (var elem in Contraindication) { if (elem != null) yield return new ElementValue("contraindication", elem); } - foreach (var elem in Regulatory) { if (elem != null) yield return new ElementValue("regulatory", elem); } - foreach (var elem in Kinetics) { if (elem != null) yield return new ElementValue("kinetics", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs index d1bf77576..df4bb5476 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationRequest.cs @@ -362,38 +362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InitialFill != null) yield return InitialFill; - if (DispenseInterval != null) yield return DispenseInterval; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (NumberOfRepeatsAllowedElement != null) yield return NumberOfRepeatsAllowedElement; - if (Quantity != null) yield return Quantity; - if (ExpectedSupplyDuration != null) yield return ExpectedSupplyDuration; - if (Performer != null) yield return Performer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InitialFill != null) yield return new ElementValue("initialFill", InitialFill); - if (DispenseInterval != null) yield return new ElementValue("dispenseInterval", DispenseInterval); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (NumberOfRepeatsAllowedElement != null) yield return new ElementValue("numberOfRepeatsAllowed", NumberOfRepeatsAllowedElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ExpectedSupplyDuration != null) yield return new ElementValue("expectedSupplyDuration", ExpectedSupplyDuration); - if (Performer != null) yield return new ElementValue("performer", Performer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -558,28 +526,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Duration != null) yield return Duration; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Duration != null) yield return new ElementValue("duration", Duration); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -713,28 +659,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Allowed != null) yield return Allowed; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1517,88 +1441,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Reported != null) yield return Reported; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (Performer != null) yield return Performer; - if (PerformerType != null) yield return PerformerType; - if (Recorder != null) yield return Recorder; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (CourseOfTherapyType != null) yield return CourseOfTherapyType; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (DispenseRequest != null) yield return DispenseRequest; - if (Substitution != null) yield return Substitution; - if (PriorPrescription != null) yield return PriorPrescription; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Reported != null) yield return new ElementValue("reported", Reported); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (CourseOfTherapyType != null) yield return new ElementValue("courseOfTherapyType", CourseOfTherapyType); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (DispenseRequest != null) yield return new ElementValue("dispenseRequest", DispenseRequest); - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - if (PriorPrescription != null) yield return new ElementValue("priorPrescription", PriorPrescription); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs index e607298f8..9e041e0ca 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicationStatement.cs @@ -517,58 +517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Effective != null) yield return Effective; - if (DateAssertedElement != null) yield return DateAssertedElement; - if (InformationSource != null) yield return InformationSource; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateAssertedElement != null) yield return new ElementValue("dateAsserted", DateAssertedElement); - if (InformationSource != null) yield return new ElementValue("informationSource", InformationSource); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs index dafd6f911..52281f68e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProduct.cs @@ -177,30 +177,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductNameElement != null) yield return ProductNameElement; - foreach (var elem in NamePart) { if (elem != null) yield return elem; } - foreach (var elem in CountryLanguage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - foreach (var elem in NamePart) { if (elem != null) yield return new ElementValue("namePart", elem); } - foreach (var elem in CountryLanguage) { if (elem != null) yield return new ElementValue("countryLanguage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -353,28 +329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PartElement != null) yield return PartElement; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PartElement != null) yield return new ElementValue("part", PartElement); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -518,30 +472,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -761,36 +691,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (OperationType != null) yield return OperationType; - if (AuthorisationReferenceNumber != null) yield return AuthorisationReferenceNumber; - if (EffectiveDateElement != null) yield return EffectiveDateElement; - if (ConfidentialityIndicator != null) yield return ConfidentialityIndicator; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - if (Regulator != null) yield return Regulator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (OperationType != null) yield return new ElementValue("operationType", OperationType); - if (AuthorisationReferenceNumber != null) yield return new ElementValue("authorisationReferenceNumber", AuthorisationReferenceNumber); - if (EffectiveDateElement != null) yield return new ElementValue("effectiveDate", EffectiveDateElement); - if (ConfidentialityIndicator != null) yield return new ElementValue("confidentialityIndicator", ConfidentialityIndicator); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - if (Regulator != null) yield return new ElementValue("regulator", Regulator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1046,38 +946,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (IntendedUse != null) yield return IntendedUse; - if (Indication != null) yield return Indication; - if (Status != null) yield return Status; - if (DateElement != null) yield return DateElement; - if (Species != null) yield return Species; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (IntendedUse != null) yield return new ElementValue("intendedUse", IntendedUse); - if (Indication != null) yield return new ElementValue("indication", Indication); - if (Status != null) yield return new ElementValue("status", Status); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Species != null) yield return new ElementValue("species", Species); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1559,64 +1427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Domain != null) yield return Domain; - if (CombinedPharmaceuticalDoseForm != null) yield return CombinedPharmaceuticalDoseForm; - if (LegalStatusOfSupply != null) yield return LegalStatusOfSupply; - if (AdditionalMonitoringIndicator != null) yield return AdditionalMonitoringIndicator; - foreach (var elem in SpecialMeasuresElement) { if (elem != null) yield return elem; } - if (PaediatricUseIndicator != null) yield return PaediatricUseIndicator; - foreach (var elem in ProductClassification) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - foreach (var elem in PharmaceuticalProduct) { if (elem != null) yield return elem; } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return elem; } - foreach (var elem in AttachedDocument) { if (elem != null) yield return elem; } - foreach (var elem in MasterFile) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in CrossReference) { if (elem != null) yield return elem; } - foreach (var elem in ManufacturingBusinessOperation) { if (elem != null) yield return elem; } - foreach (var elem in SpecialDesignation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Domain != null) yield return new ElementValue("domain", Domain); - if (CombinedPharmaceuticalDoseForm != null) yield return new ElementValue("combinedPharmaceuticalDoseForm", CombinedPharmaceuticalDoseForm); - if (LegalStatusOfSupply != null) yield return new ElementValue("legalStatusOfSupply", LegalStatusOfSupply); - if (AdditionalMonitoringIndicator != null) yield return new ElementValue("additionalMonitoringIndicator", AdditionalMonitoringIndicator); - foreach (var elem in SpecialMeasuresElement) { if (elem != null) yield return new ElementValue("specialMeasures", elem); } - if (PaediatricUseIndicator != null) yield return new ElementValue("paediatricUseIndicator", PaediatricUseIndicator); - foreach (var elem in ProductClassification) { if (elem != null) yield return new ElementValue("productClassification", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - foreach (var elem in PharmaceuticalProduct) { if (elem != null) yield return new ElementValue("pharmaceuticalProduct", elem); } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return new ElementValue("packagedMedicinalProduct", elem); } - foreach (var elem in AttachedDocument) { if (elem != null) yield return new ElementValue("attachedDocument", elem); } - foreach (var elem in MasterFile) { if (elem != null) yield return new ElementValue("masterFile", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return new ElementValue("clinicalTrial", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in CrossReference) { if (elem != null) yield return new ElementValue("crossReference", elem); } - foreach (var elem in ManufacturingBusinessOperation) { if (elem != null) yield return new ElementValue("manufacturingBusinessOperation", elem); } - foreach (var elem in SpecialDesignation) { if (elem != null) yield return new ElementValue("specialDesignation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs index 655fd9637..9fde8f912 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductAuthorization.cs @@ -190,34 +190,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Country != null) yield return Country; - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (LegalStatusOfSupply != null) yield return LegalStatusOfSupply; - if (ValidityPeriod != null) yield return ValidityPeriod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Country != null) yield return new ElementValue("country", Country); - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (LegalStatusOfSupply != null) yield return new ElementValue("legalStatusOfSupply", LegalStatusOfSupply); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -400,32 +372,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Date != null) yield return Date; - foreach (var elem in Application) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Date != null) yield return new ElementValue("date", Date); - foreach (var elem in Application) { if (elem != null) yield return new ElementValue("application", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -860,56 +806,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Country) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (RestoreDateElement != null) yield return RestoreDateElement; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (DataExclusivityPeriod != null) yield return DataExclusivityPeriod; - if (DateOfFirstAuthorizationElement != null) yield return DateOfFirstAuthorizationElement; - if (InternationalBirthDateElement != null) yield return InternationalBirthDateElement; - if (LegalBasis != null) yield return LegalBasis; - foreach (var elem in JurisdictionalAuthorization) { if (elem != null) yield return elem; } - if (Holder != null) yield return Holder; - if (Regulator != null) yield return Regulator; - if (Procedure != null) yield return Procedure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (RestoreDateElement != null) yield return new ElementValue("restoreDate", RestoreDateElement); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (DataExclusivityPeriod != null) yield return new ElementValue("dataExclusivityPeriod", DataExclusivityPeriod); - if (DateOfFirstAuthorizationElement != null) yield return new ElementValue("dateOfFirstAuthorization", DateOfFirstAuthorizationElement); - if (InternationalBirthDateElement != null) yield return new ElementValue("internationalBirthDate", InternationalBirthDateElement); - if (LegalBasis != null) yield return new ElementValue("legalBasis", LegalBasis); - foreach (var elem in JurisdictionalAuthorization) { if (elem != null) yield return new ElementValue("jurisdictionalAuthorization", elem); } - if (Holder != null) yield return new ElementValue("holder", Holder); - if (Regulator != null) yield return new ElementValue("regulator", Regulator); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs index 7cd17b0ea..e5d23f8fb 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductContraindication.cs @@ -148,28 +148,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TherapyRelationshipType != null) yield return TherapyRelationshipType; - if (Medication != null) yield return Medication; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TherapyRelationshipType != null) yield return new ElementValue("therapyRelationshipType", TherapyRelationshipType); - if (Medication != null) yield return new ElementValue("medication", Medication); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -371,38 +349,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Disease != null) yield return Disease; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - foreach (var elem in TherapeuticIndication) { if (elem != null) yield return elem; } - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Disease != null) yield return new ElementValue("disease", Disease); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - foreach (var elem in TherapeuticIndication) { if (elem != null) yield return new ElementValue("therapeuticIndication", elem); } - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs index 96b31dca9..a268dcb54 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIndication.cs @@ -148,28 +148,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TherapyRelationshipType != null) yield return TherapyRelationshipType; - if (Medication != null) yield return Medication; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TherapyRelationshipType != null) yield return new ElementValue("therapyRelationshipType", TherapyRelationshipType); - if (Medication != null) yield return new ElementValue("medication", Medication); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -403,42 +381,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (DiseaseSymptomProcedure != null) yield return DiseaseSymptomProcedure; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - if (IntendedEffect != null) yield return IntendedEffect; - if (Duration != null) yield return Duration; - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - foreach (var elem in UndesirableEffect) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (DiseaseSymptomProcedure != null) yield return new ElementValue("diseaseSymptomProcedure", DiseaseSymptomProcedure); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - if (IntendedEffect != null) yield return new ElementValue("intendedEffect", IntendedEffect); - if (Duration != null) yield return new ElementValue("duration", Duration); - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - foreach (var elem in UndesirableEffect) { if (elem != null) yield return new ElementValue("undesirableEffect", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs index 82be0a332..a80560c3c 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductIngredient.cs @@ -175,32 +175,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Group != null) yield return Group; - if (Confidentiality != null) yield return Confidentiality; - foreach (var elem in Strength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Group != null) yield return new ElementValue("group", Group); - if (Confidentiality != null) yield return new ElementValue("confidentiality", Confidentiality); - foreach (var elem in Strength) { if (elem != null) yield return new ElementValue("strength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -441,38 +415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Presentation != null) yield return Presentation; - if (PresentationLowLimit != null) yield return PresentationLowLimit; - if (Concentration != null) yield return Concentration; - if (ConcentrationLowLimit != null) yield return ConcentrationLowLimit; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Presentation != null) yield return new ElementValue("presentation", Presentation); - if (PresentationLowLimit != null) yield return new ElementValue("presentationLowLimit", PresentationLowLimit); - if (Concentration != null) yield return new ElementValue("concentration", Concentration); - if (ConcentrationLowLimit != null) yield return new ElementValue("concentrationLowLimit", ConcentrationLowLimit); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return new ElementValue("referenceStrength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -701,34 +643,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (Strength != null) yield return Strength; - if (StrengthLowLimit != null) yield return StrengthLowLimit; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (Strength != null) yield return new ElementValue("strength", Strength); - if (StrengthLowLimit != null) yield return new ElementValue("strengthLowLimit", StrengthLowLimit); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -877,28 +791,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Strength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Strength) { if (elem != null) yield return new ElementValue("strength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1100,36 +992,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Role != null) yield return Role; - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in SpecifiedSubstance) { if (elem != null) yield return elem; } - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Role != null) yield return new ElementValue("role", Role); - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in SpecifiedSubstance) { if (elem != null) yield return new ElementValue("specifiedSubstance", elem); } - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs index 2495b106c..95c7bb41d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductInteraction.cs @@ -131,26 +131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -358,38 +338,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Interactant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Effect != null) yield return Effect; - if (Incidence != null) yield return Incidence; - if (Management != null) yield return Management; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Interactant) { if (elem != null) yield return new ElementValue("interactant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Effect != null) yield return new ElementValue("effect", Effect); - if (Incidence != null) yield return new ElementValue("incidence", Incidence); - if (Management != null) yield return new ElementValue("management", Management); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs index 9613147ee..afe49afe2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductManufactured.cs @@ -216,38 +216,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ManufacturedDoseForm != null) yield return ManufacturedDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - if (Quantity != null) yield return Quantity; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (PhysicalCharacteristics != null) yield return PhysicalCharacteristics; - foreach (var elem in OtherCharacteristics) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ManufacturedDoseForm != null) yield return new ElementValue("manufacturedDoseForm", ManufacturedDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (PhysicalCharacteristics != null) yield return new ElementValue("physicalCharacteristics", PhysicalCharacteristics); - foreach (var elem in OtherCharacteristics) { if (elem != null) yield return new ElementValue("otherCharacteristics", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs index a1db71d51..38163def7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPackaged.cs @@ -141,28 +141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (OuterPackaging != null) yield return OuterPackaging; - if (ImmediatePackaging != null) yield return ImmediatePackaging; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (OuterPackaging != null) yield return new ElementValue("outerPackaging", OuterPackaging); - if (ImmediatePackaging != null) yield return new ElementValue("immediatePackaging", ImmediatePackaging); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -465,48 +443,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - foreach (var elem in Material) { if (elem != null) yield return elem; } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in ManufacturedItem) { if (elem != null) yield return elem; } - foreach (var elem in PackageItem) { if (elem != null) yield return elem; } - if (PhysicalCharacteristics != null) yield return PhysicalCharacteristics; - foreach (var elem in OtherCharacteristics) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return new ElementValue("alternateMaterial", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in ManufacturedItem) { if (elem != null) yield return new ElementValue("manufacturedItem", elem); } - foreach (var elem in PackageItem) { if (elem != null) yield return new ElementValue("packageItem", elem); } - if (PhysicalCharacteristics != null) yield return new ElementValue("physicalCharacteristics", PhysicalCharacteristics); - foreach (var elem in OtherCharacteristics) { if (elem != null) yield return new ElementValue("otherCharacteristics", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -833,42 +769,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (LegalStatusOfSupply != null) yield return LegalStatusOfSupply; - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - if (MarketingAuthorization != null) yield return MarketingAuthorization; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in BatchIdentifier) { if (elem != null) yield return elem; } - foreach (var elem in PackageItem) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (LegalStatusOfSupply != null) yield return new ElementValue("legalStatusOfSupply", LegalStatusOfSupply); - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - if (MarketingAuthorization != null) yield return new ElementValue("marketingAuthorization", MarketingAuthorization); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in BatchIdentifier) { if (elem != null) yield return new ElementValue("batchIdentifier", elem); } - foreach (var elem in PackageItem) { if (elem != null) yield return new ElementValue("packageItem", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs index 38ea830b2..c177cbf55 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductPharmaceutical.cs @@ -141,28 +141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Status != null) yield return Status; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Status != null) yield return new ElementValue("status", Status); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -370,38 +348,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (FirstDose != null) yield return FirstDose; - if (MaxSingleDose != null) yield return MaxSingleDose; - if (MaxDosePerDay != null) yield return MaxDosePerDay; - if (MaxDosePerTreatmentPeriod != null) yield return MaxDosePerTreatmentPeriod; - if (MaxTreatmentPeriod != null) yield return MaxTreatmentPeriod; - foreach (var elem in TargetSpecies) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (FirstDose != null) yield return new ElementValue("firstDose", FirstDose); - if (MaxSingleDose != null) yield return new ElementValue("maxSingleDose", MaxSingleDose); - if (MaxDosePerDay != null) yield return new ElementValue("maxDosePerDay", MaxDosePerDay); - if (MaxDosePerTreatmentPeriod != null) yield return new ElementValue("maxDosePerTreatmentPeriod", MaxDosePerTreatmentPeriod); - if (MaxTreatmentPeriod != null) yield return new ElementValue("maxTreatmentPeriod", MaxTreatmentPeriod); - foreach (var elem in TargetSpecies) { if (elem != null) yield return new ElementValue("targetSpecies", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -564,28 +510,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return new ElementValue("withdrawalPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -747,30 +671,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Tissue != null) yield return Tissue; - if (Value != null) yield return Value; - if (SupportingInformationElement != null) yield return SupportingInformationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Tissue != null) yield return new ElementValue("tissue", Tissue); - if (Value != null) yield return new ElementValue("value", Value); - if (SupportingInformationElement != null) yield return new ElementValue("supportingInformation", SupportingInformationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -982,38 +882,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AdministrableDoseForm != null) yield return AdministrableDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Characteristics) { if (elem != null) yield return elem; } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AdministrableDoseForm != null) yield return new ElementValue("administrableDoseForm", AdministrableDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Characteristics) { if (elem != null) yield return new ElementValue("characteristics", elem); } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return new ElementValue("routeOfAdministration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs index b79716fa7..92d33c9f2 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MedicinalProductUndesirableEffect.cs @@ -182,34 +182,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (SymptomConditionEffect != null) yield return SymptomConditionEffect; - if (Classification != null) yield return Classification; - if (FrequencyOfOccurrence != null) yield return FrequencyOfOccurrence; - foreach (var elem in Population) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (SymptomConditionEffect != null) yield return new ElementValue("symptomConditionEffect", SymptomConditionEffect); - if (Classification != null) yield return new ElementValue("classification", Classification); - if (FrequencyOfOccurrence != null) yield return new ElementValue("frequencyOfOccurrence", FrequencyOfOccurrence); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs index e09ab87be..beb0fa10a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MessageDefinition.cs @@ -283,32 +283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ProfileElement != null) yield return ProfileElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -489,28 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MessageElement != null) yield return MessageElement; - if (SituationElement != null) yield return SituationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (SituationElement != null) yield return new ElementValue("situation", SituationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1308,72 +1260,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ParentElement) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (CategoryElement != null) yield return CategoryElement; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (ResponseRequiredElement != null) yield return ResponseRequiredElement; - foreach (var elem in AllowedResponse) { if (elem != null) yield return elem; } - foreach (var elem in GraphElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ParentElement) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (ResponseRequiredElement != null) yield return new ElementValue("responseRequired", ResponseRequiredElement); - foreach (var elem in AllowedResponse) { if (elem != null) yield return new ElementValue("allowedResponse", elem); } - foreach (var elem in GraphElement) { if (elem != null) yield return new ElementValue("graph", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs index 18dd367d0..2a8eff741 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MessageHeader.cs @@ -248,32 +248,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Target != null) yield return Target; - if (EndpointElement != null) yield return EndpointElement; - if (Receiver != null) yield return Receiver; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Target != null) yield return new ElementValue("target", Target); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - if (Receiver != null) yield return new ElementValue("receiver", Receiver); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -537,34 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (SoftwareElement != null) yield return SoftwareElement; - if (VersionElement != null) yield return VersionElement; - if (Contact != null) yield return Contact; - if (EndpointElement != null) yield return EndpointElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (SoftwareElement != null) yield return new ElementValue("software", SoftwareElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Contact != null) yield return new ElementValue("contact", Contact); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -772,30 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentifierElement != null) yield return IdentifierElement; - if (CodeElement != null) yield return CodeElement; - if (Details != null) yield return Details; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentifierElement != null) yield return new ElementValue("identifier", IdentifierElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Details != null) yield return new ElementValue("details", Details); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1095,46 +1017,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Event != null) yield return Event; - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - if (Enterer != null) yield return Enterer; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - if (Responsible != null) yield return Responsible; - if (Reason != null) yield return Reason; - if (Response != null) yield return Response; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (DefinitionElement != null) yield return DefinitionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Event != null) yield return new ElementValue("event", Event); - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Response != null) yield return new ElementValue("response", Response); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs index f176f228a..ff058d1a9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/MolecularSequence.cs @@ -514,42 +514,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Chromosome != null) yield return Chromosome; - if (GenomeBuildElement != null) yield return GenomeBuildElement; - if (OrientationElement != null) yield return OrientationElement; - if (ReferenceSeqId != null) yield return ReferenceSeqId; - if (ReferenceSeqPointer != null) yield return ReferenceSeqPointer; - if (ReferenceSeqStringElement != null) yield return ReferenceSeqStringElement; - if (StrandElement != null) yield return StrandElement; - if (WindowStartElement != null) yield return WindowStartElement; - if (WindowEndElement != null) yield return WindowEndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Chromosome != null) yield return new ElementValue("chromosome", Chromosome); - if (GenomeBuildElement != null) yield return new ElementValue("genomeBuild", GenomeBuildElement); - if (OrientationElement != null) yield return new ElementValue("orientation", OrientationElement); - if (ReferenceSeqId != null) yield return new ElementValue("referenceSeqId", ReferenceSeqId); - if (ReferenceSeqPointer != null) yield return new ElementValue("referenceSeqPointer", ReferenceSeqPointer); - if (ReferenceSeqStringElement != null) yield return new ElementValue("referenceSeqString", ReferenceSeqStringElement); - if (StrandElement != null) yield return new ElementValue("strand", StrandElement); - if (WindowStartElement != null) yield return new ElementValue("windowStart", WindowStartElement); - if (WindowEndElement != null) yield return new ElementValue("windowEnd", WindowEndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -883,36 +847,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (ObservedAlleleElement != null) yield return ObservedAlleleElement; - if (ReferenceAlleleElement != null) yield return ReferenceAlleleElement; - if (CigarElement != null) yield return CigarElement; - if (VariantPointer != null) yield return VariantPointer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ObservedAlleleElement != null) yield return new ElementValue("observedAllele", ObservedAlleleElement); - if (ReferenceAlleleElement != null) yield return new ElementValue("referenceAllele", ReferenceAlleleElement); - if (CigarElement != null) yield return new ElementValue("cigar", CigarElement); - if (VariantPointer != null) yield return new ElementValue("variantPointer", VariantPointer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1480,54 +1414,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StandardSequence != null) yield return StandardSequence; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (Score != null) yield return Score; - if (Method != null) yield return Method; - if (TruthTPElement != null) yield return TruthTPElement; - if (QueryTPElement != null) yield return QueryTPElement; - if (TruthFNElement != null) yield return TruthFNElement; - if (QueryFPElement != null) yield return QueryFPElement; - if (GtFPElement != null) yield return GtFPElement; - if (PrecisionElement != null) yield return PrecisionElement; - if (RecallElement != null) yield return RecallElement; - if (FScoreElement != null) yield return FScoreElement; - if (Roc != null) yield return Roc; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StandardSequence != null) yield return new ElementValue("standardSequence", StandardSequence); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (Score != null) yield return new ElementValue("score", Score); - if (Method != null) yield return new ElementValue("method", Method); - if (TruthTPElement != null) yield return new ElementValue("truthTP", TruthTPElement); - if (QueryTPElement != null) yield return new ElementValue("queryTP", QueryTPElement); - if (TruthFNElement != null) yield return new ElementValue("truthFN", TruthFNElement); - if (QueryFPElement != null) yield return new ElementValue("queryFP", QueryFPElement); - if (GtFPElement != null) yield return new ElementValue("gtFP", GtFPElement); - if (PrecisionElement != null) yield return new ElementValue("precision", PrecisionElement); - if (RecallElement != null) yield return new ElementValue("recall", RecallElement); - if (FScoreElement != null) yield return new ElementValue("fScore", FScoreElement); - if (Roc != null) yield return new ElementValue("roc", Roc); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1960,38 +1846,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ScoreElement) { if (elem != null) yield return elem; } - foreach (var elem in NumTPElement) { if (elem != null) yield return elem; } - foreach (var elem in NumFPElement) { if (elem != null) yield return elem; } - foreach (var elem in NumFNElement) { if (elem != null) yield return elem; } - foreach (var elem in PrecisionElement) { if (elem != null) yield return elem; } - foreach (var elem in SensitivityElement) { if (elem != null) yield return elem; } - foreach (var elem in FMeasureElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ScoreElement) { if (elem != null) yield return new ElementValue("score", elem); } - foreach (var elem in NumTPElement) { if (elem != null) yield return new ElementValue("numTP", elem); } - foreach (var elem in NumFPElement) { if (elem != null) yield return new ElementValue("numFP", elem); } - foreach (var elem in NumFNElement) { if (elem != null) yield return new ElementValue("numFN", elem); } - foreach (var elem in PrecisionElement) { if (elem != null) yield return new ElementValue("precision", elem); } - foreach (var elem in SensitivityElement) { if (elem != null) yield return new ElementValue("sensitivity", elem); } - foreach (var elem in FMeasureElement) { if (elem != null) yield return new ElementValue("fMeasure", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2330,36 +2184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UrlElement != null) yield return UrlElement; - if (NameElement != null) yield return NameElement; - if (DatasetIdElement != null) yield return DatasetIdElement; - if (VariantsetIdElement != null) yield return VariantsetIdElement; - if (ReadsetIdElement != null) yield return ReadsetIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DatasetIdElement != null) yield return new ElementValue("datasetId", DatasetIdElement); - if (VariantsetIdElement != null) yield return new ElementValue("variantsetId", VariantsetIdElement); - if (ReadsetIdElement != null) yield return new ElementValue("readsetId", ReadsetIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2601,34 +2425,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VariantType != null) yield return VariantType; - if (ExactElement != null) yield return ExactElement; - if (LengthElement != null) yield return LengthElement; - if (Outer != null) yield return Outer; - if (Inner != null) yield return Inner; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VariantType != null) yield return new ElementValue("variantType", VariantType); - if (ExactElement != null) yield return new ElementValue("exact", ExactElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (Outer != null) yield return new ElementValue("outer", Outer); - if (Inner != null) yield return new ElementValue("inner", Inner); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2811,28 +2607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2994,28 +2768,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3445,56 +3197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (CoordinateSystemElement != null) yield return CoordinateSystemElement; - if (Patient != null) yield return Patient; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - if (Performer != null) yield return Performer; - if (Quantity != null) yield return Quantity; - if (ReferenceSeq != null) yield return ReferenceSeq; - foreach (var elem in Variant) { if (elem != null) yield return elem; } - if (ObservedSeqElement != null) yield return ObservedSeqElement; - foreach (var elem in Quality) { if (elem != null) yield return elem; } - if (ReadCoverageElement != null) yield return ReadCoverageElement; - foreach (var elem in Repository) { if (elem != null) yield return elem; } - foreach (var elem in Pointer) { if (elem != null) yield return elem; } - foreach (var elem in StructureVariant) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (CoordinateSystemElement != null) yield return new ElementValue("coordinateSystem", CoordinateSystemElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ReferenceSeq != null) yield return new ElementValue("referenceSeq", ReferenceSeq); - foreach (var elem in Variant) { if (elem != null) yield return new ElementValue("variant", elem); } - if (ObservedSeqElement != null) yield return new ElementValue("observedSeq", ObservedSeqElement); - foreach (var elem in Quality) { if (elem != null) yield return new ElementValue("quality", elem); } - if (ReadCoverageElement != null) yield return new ElementValue("readCoverage", ReadCoverageElement); - foreach (var elem in Repository) { if (elem != null) yield return new ElementValue("repository", elem); } - foreach (var elem in Pointer) { if (elem != null) yield return new ElementValue("pointer", elem); } - foreach (var elem in StructureVariant) { if (elem != null) yield return new ElementValue("structureVariant", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Money.cs b/src/Hl7.Fhir.R4/Model/Generated/Money.cs index 83dc9c4dd..ad5bdb04f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Money.cs @@ -1267,28 +1267,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (CurrencyElement != null) yield return CurrencyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (CurrencyElement != null) yield return new ElementValue("currency", CurrencyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs index 246d78674..3564442df 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/NamingSystem.cs @@ -333,34 +333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ValueElement != null) yield return ValueElement; - if (PreferredElement != null) yield return PreferredElement; - if (CommentElement != null) yield return CommentElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -828,50 +800,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (UsageElement != null) yield return UsageElement; - foreach (var elem in UniqueId) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - foreach (var elem in UniqueId) { if (elem != null) yield return new ElementValue("uniqueId", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs index 7840e41a2..57a173013 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/NutritionOrder.cs @@ -236,36 +236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Texture) { if (elem != null) yield return elem; } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return elem; } - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Texture) { if (elem != null) yield return new ElementValue("texture", elem); } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return new ElementValue("fluidConsistencyType", elem); } - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -423,28 +393,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -575,28 +523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (FoodType != null) yield return FoodType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (FoodType != null) yield return new ElementValue("foodType", FoodType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -811,34 +737,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ProductNameElement != null) yield return ProductNameElement; - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1158,42 +1056,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (BaseFormulaType != null) yield return BaseFormulaType; - if (BaseFormulaProductNameElement != null) yield return BaseFormulaProductNameElement; - if (AdditiveType != null) yield return AdditiveType; - if (AdditiveProductNameElement != null) yield return AdditiveProductNameElement; - if (CaloricDensity != null) yield return CaloricDensity; - if (RouteofAdministration != null) yield return RouteofAdministration; - foreach (var elem in Administration) { if (elem != null) yield return elem; } - if (MaxVolumeToDeliver != null) yield return MaxVolumeToDeliver; - if (AdministrationInstructionElement != null) yield return AdministrationInstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (BaseFormulaType != null) yield return new ElementValue("baseFormulaType", BaseFormulaType); - if (BaseFormulaProductNameElement != null) yield return new ElementValue("baseFormulaProductName", BaseFormulaProductNameElement); - if (AdditiveType != null) yield return new ElementValue("additiveType", AdditiveType); - if (AdditiveProductNameElement != null) yield return new ElementValue("additiveProductName", AdditiveProductNameElement); - if (CaloricDensity != null) yield return new ElementValue("caloricDensity", CaloricDensity); - if (RouteofAdministration != null) yield return new ElementValue("routeofAdministration", RouteofAdministration); - foreach (var elem in Administration) { if (elem != null) yield return new ElementValue("administration", elem); } - if (MaxVolumeToDeliver != null) yield return new ElementValue("maxVolumeToDeliver", MaxVolumeToDeliver); - if (AdministrationInstructionElement != null) yield return new ElementValue("administrationInstruction", AdministrationInstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1390,30 +1252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - if (Quantity != null) yield return Quantity; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1910,58 +1748,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateTimeElement != null) yield return DateTimeElement; - if (Orderer != null) yield return Orderer; - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return elem; } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return elem; } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return elem; } - if (OralDiet != null) yield return OralDiet; - foreach (var elem in Supplement) { if (elem != null) yield return elem; } - if (EnteralFormula != null) yield return EnteralFormula; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - if (Orderer != null) yield return new ElementValue("orderer", Orderer); - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return new ElementValue("allergyIntolerance", elem); } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return new ElementValue("foodPreferenceModifier", elem); } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return new ElementValue("excludeFoodModifier", elem); } - if (OralDiet != null) yield return new ElementValue("oralDiet", OralDiet); - foreach (var elem in Supplement) { if (elem != null) yield return new ElementValue("supplement", elem); } - if (EnteralFormula != null) yield return new ElementValue("enteralFormula", EnteralFormula); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Observation.cs b/src/Hl7.Fhir.R4/Model/Generated/Observation.cs index 802f70530..ef45807d6 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Observation.cs @@ -233,36 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Low != null) yield return Low; - if (High != null) yield return High; - if (Type != null) yield return Type; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (Age != null) yield return Age; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Low != null) yield return new ElementValue("low", Low); - if (High != null) yield return new ElementValue("high", High); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (Age != null) yield return new ElementValue("age", Age); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -476,34 +446,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1076,72 +1018,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Method != null) yield return Method; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - foreach (var elem in HasMember) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Method != null) yield return new ElementValue("method", Method); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - foreach (var elem in HasMember) { if (elem != null) yield return new ElementValue("hasMember", elem); } - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs index 6a97576f9..851e55a7b 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ObservationDefinition.cs @@ -321,32 +321,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CustomaryUnit != null) yield return CustomaryUnit; - if (Unit != null) yield return Unit; - if (ConversionFactorElement != null) yield return ConversionFactorElement; - if (DecimalPrecisionElement != null) yield return DecimalPrecisionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CustomaryUnit != null) yield return new ElementValue("customaryUnit", CustomaryUnit); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (ConversionFactorElement != null) yield return new ElementValue("conversionFactor", ConversionFactorElement); - if (DecimalPrecisionElement != null) yield return new ElementValue("decimalPrecision", DecimalPrecisionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -646,40 +620,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CategoryElement != null) yield return CategoryElement; - if (Range != null) yield return Range; - if (Context != null) yield return Context; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (Age != null) yield return Age; - if (GestationalAge != null) yield return GestationalAge; - if (ConditionElement != null) yield return ConditionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (Range != null) yield return new ElementValue("range", Range); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Age != null) yield return new ElementValue("age", Age); - if (GestationalAge != null) yield return new ElementValue("gestationalAge", GestationalAge); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1087,50 +1027,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return elem; } - if (MultipleResultsAllowedElement != null) yield return MultipleResultsAllowedElement; - if (Method != null) yield return Method; - if (PreferredReportNameElement != null) yield return PreferredReportNameElement; - if (QuantitativeDetails != null) yield return QuantitativeDetails; - foreach (var elem in QualifiedInterval) { if (elem != null) yield return elem; } - if (ValidCodedValueSet != null) yield return ValidCodedValueSet; - if (NormalCodedValueSet != null) yield return NormalCodedValueSet; - if (AbnormalCodedValueSet != null) yield return AbnormalCodedValueSet; - if (CriticalCodedValueSet != null) yield return CriticalCodedValueSet; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return new ElementValue("permittedDataType", elem); } - if (MultipleResultsAllowedElement != null) yield return new ElementValue("multipleResultsAllowed", MultipleResultsAllowedElement); - if (Method != null) yield return new ElementValue("method", Method); - if (PreferredReportNameElement != null) yield return new ElementValue("preferredReportName", PreferredReportNameElement); - if (QuantitativeDetails != null) yield return new ElementValue("quantitativeDetails", QuantitativeDetails); - foreach (var elem in QualifiedInterval) { if (elem != null) yield return new ElementValue("qualifiedInterval", elem); } - if (ValidCodedValueSet != null) yield return new ElementValue("validCodedValueSet", ValidCodedValueSet); - if (NormalCodedValueSet != null) yield return new ElementValue("normalCodedValueSet", NormalCodedValueSet); - if (AbnormalCodedValueSet != null) yield return new ElementValue("abnormalCodedValueSet", AbnormalCodedValueSet); - if (CriticalCodedValueSet != null) yield return new ElementValue("criticalCodedValueSet", CriticalCodedValueSet); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs index a96699348..4077b132a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/OperationDefinition.cs @@ -470,46 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in TargetProfileElement) { if (elem != null) yield return elem; } - if (SearchTypeElement != null) yield return SearchTypeElement; - if (Binding != null) yield return Binding; - foreach (var elem in ReferencedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Part) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in TargetProfileElement) { if (elem != null) yield return new ElementValue("targetProfile", elem); } - if (SearchTypeElement != null) yield return new ElementValue("searchType", SearchTypeElement); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in ReferencedFrom) { if (elem != null) yield return new ElementValue("referencedFrom", elem); } - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -741,28 +701,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (ValueSetElement != null) yield return ValueSetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -929,28 +867,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1117,28 +1033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return elem; } - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return new ElementValue("parameterName", elem); } - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2036,76 +1930,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (AffectsStateElement != null) yield return AffectsStateElement; - if (CodeElement != null) yield return CodeElement; - if (CommentElement != null) yield return CommentElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ResourceElement) { if (elem != null) yield return elem; } - if (SystemElement != null) yield return SystemElement; - if (TypeElement != null) yield return TypeElement; - if (InstanceElement != null) yield return InstanceElement; - if (InputProfileElement != null) yield return InputProfileElement; - if (OutputProfileElement != null) yield return OutputProfileElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Overload) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (AffectsStateElement != null) yield return new ElementValue("affectsState", AffectsStateElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ResourceElement) { if (elem != null) yield return new ElementValue("resource", elem); } - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (InstanceElement != null) yield return new ElementValue("instance", InstanceElement); - if (InputProfileElement != null) yield return new ElementValue("inputProfile", InputProfileElement); - if (OutputProfileElement != null) yield return new ElementValue("outputProfile", OutputProfileElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Overload) { if (elem != null) yield return new ElementValue("overload", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Organization.cs b/src/Hl7.Fhir.R4/Model/Generated/Organization.cs index 1b9291460..64499d378 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Organization.cs @@ -180,32 +180,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +502,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs index f177ffc46..faeaa2995 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/OrganizationAffiliation.cs @@ -329,48 +329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Organization != null) yield return Organization; - if (ParticipatingOrganization != null) yield return ParticipatingOrganization; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (ParticipatingOrganization != null) yield return new ElementValue("participatingOrganization", ParticipatingOrganization); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs index 814c80ffd..1467fc2a0 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ParameterDefinition.cs @@ -342,38 +342,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Patient.cs b/src/Hl7.Fhir.R4/Model/Generated/Patient.cs index f373854dc..76c516378 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Patient.cs @@ -285,38 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (GenderElement != null) yield return GenderElement; - if (Organization != null) yield return Organization; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -500,28 +468,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -675,28 +621,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Other != null) yield return Other; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Other != null) yield return new ElementValue("other", Other); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1111,56 +1035,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (MaritalStatus != null) yield return MaritalStatus; - if (MultipleBirth != null) yield return MultipleBirth; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (MaritalStatus != null) yield return new ElementValue("maritalStatus", MaritalStatus); - if (MultipleBirth != null) yield return new ElementValue("multipleBirth", MultipleBirth); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return new ElementValue("generalPractitioner", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs index a7132257f..f77bf2fc3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PaymentNotice.cs @@ -367,48 +367,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (CreatedElement != null) yield return CreatedElement; - if (Provider != null) yield return Provider; - if (Payment != null) yield return Payment; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Payee != null) yield return Payee; - if (Recipient != null) yield return Recipient; - if (Amount != null) yield return Amount; - if (PaymentStatus != null) yield return PaymentStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Payment != null) yield return new ElementValue("payment", Payment); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (PaymentStatus != null) yield return new ElementValue("paymentStatus", PaymentStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs index a3ca17f76..dd93d9dca 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PaymentReconciliation.cs @@ -304,44 +304,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Predecessor != null) yield return Predecessor; - if (Type != null) yield return Type; - if (Request != null) yield return Request; - if (Submitter != null) yield return Submitter; - if (Response != null) yield return Response; - if (DateElement != null) yield return DateElement; - if (Responsible != null) yield return Responsible; - if (Payee != null) yield return Payee; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Predecessor != null) yield return new ElementValue("predecessor", Predecessor); - if (Type != null) yield return new ElementValue("type", Type); - if (Request != null) yield return new ElementValue("request", Request); - if (Submitter != null) yield return new ElementValue("submitter", Submitter); - if (Response != null) yield return new ElementValue("response", Response); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -564,28 +526,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1016,54 +956,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (PaymentIssuer != null) yield return PaymentIssuer; - if (Request != null) yield return Request; - if (Requestor != null) yield return Requestor; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (PaymentAmount != null) yield return PaymentAmount; - if (PaymentIdentifier != null) yield return PaymentIdentifier; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - if (FormCode != null) yield return FormCode; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (PaymentIssuer != null) yield return new ElementValue("paymentIssuer", PaymentIssuer); - if (Request != null) yield return new ElementValue("request", Request); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (PaymentAmount != null) yield return new ElementValue("paymentAmount", PaymentAmount); - if (PaymentIdentifier != null) yield return new ElementValue("paymentIdentifier", PaymentIdentifier); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Person.cs b/src/Hl7.Fhir.R4/Model/Generated/Person.cs index cbde83c01..12035165e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Person.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (AssuranceElement != null) yield return AssuranceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (AssuranceElement != null) yield return new ElementValue("assurance", AssuranceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (Photo != null) yield return Photo; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (Photo != null) yield return new ElementValue("photo", Photo); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs index 6e5981382..da1ba762f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PlanDefinition.cs @@ -235,38 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Description != null) yield return Description; - if (Priority != null) yield return Priority; - if (Start != null) yield return Start; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Description != null) yield return new ElementValue("description", Description); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -449,30 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1258,78 +1202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in GoalIdElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Definition != null) yield return Definition; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in GoalIdElement) { if (elem != null) yield return new ElementValue("goalId", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1655,28 +1527,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1864,30 +1714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2045,28 +1871,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2214,28 +2018,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3125,86 +2907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (Type != null) yield return Type; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Population.cs b/src/Hl7.Fhir.R4/Model/Generated/Population.cs index 2cc417abb..c3e76546a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Population.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Population.cs @@ -164,32 +164,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Age != null) yield return Age; - if (Gender != null) yield return Gender; - if (Race != null) yield return Race; - if (PhysiologicalCondition != null) yield return PhysiologicalCondition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Age != null) yield return new ElementValue("age", Age); - if (Gender != null) yield return new ElementValue("gender", Gender); - if (Race != null) yield return new ElementValue("race", Race); - if (PhysiologicalCondition != null) yield return new ElementValue("physiologicalCondition", PhysiologicalCondition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs index 5cdc2d138..e4764c9ac 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Practitioner.cs @@ -183,32 +183,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Period != null) yield return Period; - if (Issuer != null) yield return Issuer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Period != null) yield return new ElementValue("period", Period); - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -529,44 +503,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Qualification) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Qualification) { if (elem != null) yield return new ElementValue("qualification", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs index 92e7b829d..09cc5275d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/PractitionerRole.cs @@ -254,32 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -441,28 +415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -829,52 +781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Practitioner != null) yield return Practitioner; - if (Organization != null) yield return Organization; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Practitioner != null) yield return new ElementValue("practitioner", Practitioner); - if (Organization != null) yield return new ElementValue("organization", Organization); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs index bd63ef3af..ae831ded5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Procedure.cs @@ -168,30 +168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (Manipulated != null) yield return Manipulated; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (Manipulated != null) yield return new ElementValue("manipulated", Manipulated); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -994,80 +948,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Performed != null) yield return Performed; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Outcome != null) yield return Outcome; - foreach (var elem in Report) { if (elem != null) yield return elem; } - foreach (var elem in Complication) { if (elem != null) yield return elem; } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return elem; } - foreach (var elem in FollowUp) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in FocalDevice) { if (elem != null) yield return elem; } - foreach (var elem in UsedReference) { if (elem != null) yield return elem; } - foreach (var elem in UsedCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Performed != null) yield return new ElementValue("performed", Performed); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - foreach (var elem in Report) { if (elem != null) yield return new ElementValue("report", elem); } - foreach (var elem in Complication) { if (elem != null) yield return new ElementValue("complication", elem); } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return new ElementValue("complicationDetail", elem); } - foreach (var elem in FollowUp) { if (elem != null) yield return new ElementValue("followUp", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in FocalDevice) { if (elem != null) yield return new ElementValue("focalDevice", elem); } - foreach (var elem in UsedReference) { if (elem != null) yield return new ElementValue("usedReference", elem); } - foreach (var elem in UsedCode) { if (elem != null) yield return new ElementValue("usedCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs b/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs index 1fa165052..62bfa5248 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ProdCharacteristic.cs @@ -328,46 +328,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Height != null) yield return Height; - if (Width != null) yield return Width; - if (Depth != null) yield return Depth; - if (Weight != null) yield return Weight; - if (NominalVolume != null) yield return NominalVolume; - if (ExternalDiameter != null) yield return ExternalDiameter; - if (ShapeElement != null) yield return ShapeElement; - foreach (var elem in ColorElement) { if (elem != null) yield return elem; } - foreach (var elem in ImprintElement) { if (elem != null) yield return elem; } - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Scoring != null) yield return Scoring; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Height != null) yield return new ElementValue("height", Height); - if (Width != null) yield return new ElementValue("width", Width); - if (Depth != null) yield return new ElementValue("depth", Depth); - if (Weight != null) yield return new ElementValue("weight", Weight); - if (NominalVolume != null) yield return new ElementValue("nominalVolume", NominalVolume); - if (ExternalDiameter != null) yield return new ElementValue("externalDiameter", ExternalDiameter); - if (ShapeElement != null) yield return new ElementValue("shape", ShapeElement); - foreach (var elem in ColorElement) { if (elem != null) yield return new ElementValue("color", elem); } - foreach (var elem in ImprintElement) { if (elem != null) yield return new ElementValue("imprint", elem); } - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs index f97122284..11349a046 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ProductShelfLife.cs @@ -162,32 +162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return new ElementValue("specialPrecautionsForStorage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs index c790f6693..d13833f41 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Provenance.cs @@ -228,32 +228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -434,30 +408,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (What != null) yield return What; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (What != null) yield return new ElementValue("what", What); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -756,44 +706,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (Occurred != null) yield return Occurred; - if (RecordedElement != null) yield return RecordedElement; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (Activity != null) yield return Activity; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - foreach (var elem in Entity) { if (elem != null) yield return elem; } - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (Occurred != null) yield return new ElementValue("occurred", Occurred); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (Activity != null) yield return new ElementValue("activity", Activity); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs index bfeec2213..0fb9b35a5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Questionnaire.cs @@ -761,56 +761,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (PrefixElement != null) yield return PrefixElement; - if (TextElement != null) yield return TextElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in EnableWhen) { if (elem != null) yield return elem; } - if (EnableBehaviorElement != null) yield return EnableBehaviorElement; - if (RequiredElement != null) yield return RequiredElement; - if (RepeatsElement != null) yield return RepeatsElement; - if (ReadOnlyElement != null) yield return ReadOnlyElement; - if (MaxLengthElement != null) yield return MaxLengthElement; - if (AnswerValueSetElement != null) yield return AnswerValueSetElement; - foreach (var elem in AnswerOption) { if (elem != null) yield return elem; } - foreach (var elem in Initial) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in EnableWhen) { if (elem != null) yield return new ElementValue("enableWhen", elem); } - if (EnableBehaviorElement != null) yield return new ElementValue("enableBehavior", EnableBehaviorElement); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (RepeatsElement != null) yield return new ElementValue("repeats", RepeatsElement); - if (ReadOnlyElement != null) yield return new ElementValue("readOnly", ReadOnlyElement); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - if (AnswerValueSetElement != null) yield return new ElementValue("answerValueSet", AnswerValueSetElement); - foreach (var elem in AnswerOption) { if (elem != null) yield return new ElementValue("answerOption", elem); } - foreach (var elem in Initial) { if (elem != null) yield return new ElementValue("initial", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1099,30 +1049,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (QuestionElement != null) yield return QuestionElement; - if (OperatorElement != null) yield return OperatorElement; - if (Answer != null) yield return Answer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (QuestionElement != null) yield return new ElementValue("question", QuestionElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (Answer != null) yield return new ElementValue("answer", Answer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1282,28 +1208,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (InitialSelectedElement != null) yield return InitialSelectedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (InitialSelectedElement != null) yield return new ElementValue("initialSelected", InitialSelectedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1422,26 +1326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2157,68 +2041,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return new ElementValue("subjectType", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs index 98c0aa594..fd286e97f 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/QuestionnaireResponse.cs @@ -293,34 +293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -476,28 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -828,46 +778,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (QuestionnaireElement != null) yield return QuestionnaireElement; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredElement != null) yield return AuthoredElement; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (QuestionnaireElement != null) yield return new ElementValue("questionnaire", QuestionnaireElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredElement != null) yield return new ElementValue("authored", AuthoredElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs index e33792369..5d4c29fab 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Ratio.cs @@ -131,28 +131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Numerator != null) yield return Numerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Numerator != null) yield return new ElementValue("numerator", Numerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs index d808e004a..8f78f0088 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RelatedPerson.cs @@ -166,28 +166,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -532,48 +510,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Patient != null) yield return Patient; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Photo) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs index a58874556..ca072cfa7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RequestGroup.cs @@ -623,62 +623,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Resource != null) yield return Resource; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -948,28 +892,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1156,30 +1078,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1697,60 +1595,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Author != null) yield return Author; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs index 6afc11240..517c9d442 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchDefinition.cs @@ -998,92 +998,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in CommentElement) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (Population != null) yield return Population; - if (Exposure != null) yield return Exposure; - if (ExposureAlternative != null) yield return ExposureAlternative; - if (Outcome != null) yield return Outcome; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in CommentElement) { if (elem != null) yield return new ElementValue("comment", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (Population != null) yield return new ElementValue("population", Population); - if (Exposure != null) yield return new ElementValue("exposure", Exposure); - if (ExposureAlternative != null) yield return new ElementValue("exposureAlternative", ExposureAlternative); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs index a05987120..5586b2472 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchElementDefinition.cs @@ -439,48 +439,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Definition != null) yield return Definition; - foreach (var elem in UsageContext) { if (elem != null) yield return elem; } - if (ExcludeElement != null) yield return ExcludeElement; - if (UnitOfMeasure != null) yield return UnitOfMeasure; - if (StudyEffectiveDescriptionElement != null) yield return StudyEffectiveDescriptionElement; - if (StudyEffective != null) yield return StudyEffective; - if (StudyEffectiveTimeFromStart != null) yield return StudyEffectiveTimeFromStart; - if (StudyEffectiveGroupMeasureElement != null) yield return StudyEffectiveGroupMeasureElement; - if (ParticipantEffectiveDescriptionElement != null) yield return ParticipantEffectiveDescriptionElement; - if (ParticipantEffective != null) yield return ParticipantEffective; - if (ParticipantEffectiveTimeFromStart != null) yield return ParticipantEffectiveTimeFromStart; - if (ParticipantEffectiveGroupMeasureElement != null) yield return ParticipantEffectiveGroupMeasureElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UsageContext) { if (elem != null) yield return new ElementValue("usageContext", elem); } - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (UnitOfMeasure != null) yield return new ElementValue("unitOfMeasure", UnitOfMeasure); - if (StudyEffectiveDescriptionElement != null) yield return new ElementValue("studyEffectiveDescription", StudyEffectiveDescriptionElement); - if (StudyEffective != null) yield return new ElementValue("studyEffective", StudyEffective); - if (StudyEffectiveTimeFromStart != null) yield return new ElementValue("studyEffectiveTimeFromStart", StudyEffectiveTimeFromStart); - if (StudyEffectiveGroupMeasureElement != null) yield return new ElementValue("studyEffectiveGroupMeasure", StudyEffectiveGroupMeasureElement); - if (ParticipantEffectiveDescriptionElement != null) yield return new ElementValue("participantEffectiveDescription", ParticipantEffectiveDescriptionElement); - if (ParticipantEffective != null) yield return new ElementValue("participantEffective", ParticipantEffective); - if (ParticipantEffectiveTimeFromStart != null) yield return new ElementValue("participantEffectiveTimeFromStart", ParticipantEffectiveTimeFromStart); - if (ParticipantEffectiveGroupMeasureElement != null) yield return new ElementValue("participantEffectiveGroupMeasure", ParticipantEffectiveGroupMeasureElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1548,90 +1506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in CommentElement) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (VariableTypeElement != null) yield return VariableTypeElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in CommentElement) { if (elem != null) yield return new ElementValue("comment", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (VariableTypeElement != null) yield return new ElementValue("variableType", VariableTypeElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs index 393cbcd0a..c2ee94163 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchStudy.cs @@ -276,30 +276,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -454,28 +430,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1034,72 +988,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Protocol) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (PrimaryPurposeType != null) yield return PrimaryPurposeType; - if (Phase != null) yield return Phase; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Enrollment) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Sponsor != null) yield return Sponsor; - if (PrincipalInvestigator != null) yield return PrincipalInvestigator; - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (ReasonStopped != null) yield return ReasonStopped; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Arm) { if (elem != null) yield return elem; } - foreach (var elem in Objective) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Protocol) { if (elem != null) yield return new ElementValue("protocol", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (PrimaryPurposeType != null) yield return new ElementValue("primaryPurposeType", PrimaryPurposeType); - if (Phase != null) yield return new ElementValue("phase", Phase); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Enrollment) { if (elem != null) yield return new ElementValue("enrollment", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Sponsor != null) yield return new ElementValue("sponsor", Sponsor); - if (PrincipalInvestigator != null) yield return new ElementValue("principalInvestigator", PrincipalInvestigator); - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (ReasonStopped != null) yield return new ElementValue("reasonStopped", ReasonStopped); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Arm) { if (elem != null) yield return new ElementValue("arm", elem); } - foreach (var elem in Objective) { if (elem != null) yield return new ElementValue("objective", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs index 13c85e7c7..64e303c17 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ResearchSubject.cs @@ -383,40 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (Study != null) yield return Study; - if (Individual != null) yield return Individual; - if (AssignedArmElement != null) yield return AssignedArmElement; - if (ActualArmElement != null) yield return ActualArmElement; - if (Consent != null) yield return Consent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Study != null) yield return new ElementValue("study", Study); - if (Individual != null) yield return new ElementValue("individual", Individual); - if (AssignedArmElement != null) yield return new ElementValue("assignedArm", AssignedArmElement); - if (ActualArmElement != null) yield return new ElementValue("actualArm", ActualArmElement); - if (Consent != null) yield return new ElementValue("consent", Consent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs index 49b71bbda..eac3ee398 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RiskAssessment.cs @@ -253,36 +253,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Outcome != null) yield return Outcome; - if (Probability != null) yield return Probability; - if (QualitativeRisk != null) yield return QualitativeRisk; - if (RelativeRiskElement != null) yield return RelativeRiskElement; - if (When != null) yield return When; - if (RationaleElement != null) yield return RationaleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Probability != null) yield return new ElementValue("probability", Probability); - if (QualitativeRisk != null) yield return new ElementValue("qualitativeRisk", QualitativeRisk); - if (RelativeRiskElement != null) yield return new ElementValue("relativeRisk", RelativeRiskElement); - if (When != null) yield return new ElementValue("when", When); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -733,58 +703,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (BasedOn != null) yield return BasedOn; - if (Parent != null) yield return Parent; - if (StatusElement != null) yield return StatusElement; - if (Method != null) yield return Method; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (Condition != null) yield return Condition; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Basis) { if (elem != null) yield return elem; } - foreach (var elem in Prediction) { if (elem != null) yield return elem; } - if (MitigationElement != null) yield return MitigationElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (BasedOn != null) yield return new ElementValue("basedOn", BasedOn); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Method != null) yield return new ElementValue("method", Method); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - foreach (var elem in Prediction) { if (elem != null) yield return new ElementValue("prediction", elem); } - if (MitigationElement != null) yield return new ElementValue("mitigation", MitigationElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs b/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs index bf8c322e0..17d5f2929 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/RiskEvidenceSynthesis.cs @@ -216,30 +216,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfStudiesElement != null) yield return NumberOfStudiesElement; - if (NumberOfParticipantsElement != null) yield return NumberOfParticipantsElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfStudiesElement != null) yield return new ElementValue("numberOfStudies", NumberOfStudiesElement); - if (NumberOfParticipantsElement != null) yield return new ElementValue("numberOfParticipants", NumberOfParticipantsElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -530,38 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - if (UnitOfMeasure != null) yield return UnitOfMeasure; - if (DenominatorCountElement != null) yield return DenominatorCountElement; - if (NumeratorCountElement != null) yield return NumeratorCountElement; - foreach (var elem in PrecisionEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (UnitOfMeasure != null) yield return new ElementValue("unitOfMeasure", UnitOfMeasure); - if (DenominatorCountElement != null) yield return new ElementValue("denominatorCount", DenominatorCountElement); - if (NumeratorCountElement != null) yield return new ElementValue("numeratorCount", NumeratorCountElement); - foreach (var elem in PrecisionEstimate) { if (elem != null) yield return new ElementValue("precisionEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -812,32 +756,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (LevelElement != null) yield return LevelElement; - if (FromElement != null) yield return FromElement; - if (ToElement != null) yield return ToElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (LevelElement != null) yield return new ElementValue("level", LevelElement); - if (FromElement != null) yield return new ElementValue("from", FromElement); - if (ToElement != null) yield return new ElementValue("to", ToElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1000,30 +918,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Rating) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in CertaintySubcomponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Rating) { if (elem != null) yield return new ElementValue("rating", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in CertaintySubcomponent) { if (elem != null) yield return new ElementValue("certaintySubcomponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1179,30 +1073,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Rating) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Rating) { if (elem != null) yield return new ElementValue("rating", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2013,86 +1883,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (SynthesisType != null) yield return SynthesisType; - if (StudyType != null) yield return StudyType; - if (Population != null) yield return Population; - if (Exposure != null) yield return Exposure; - if (Outcome != null) yield return Outcome; - if (SampleSize != null) yield return SampleSize; - if (RiskEstimate != null) yield return RiskEstimate; - foreach (var elem in Certainty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (SynthesisType != null) yield return new ElementValue("synthesisType", SynthesisType); - if (StudyType != null) yield return new ElementValue("studyType", StudyType); - if (Population != null) yield return new ElementValue("population", Population); - if (Exposure != null) yield return new ElementValue("exposure", Exposure); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (SampleSize != null) yield return new ElementValue("sampleSize", SampleSize); - if (RiskEstimate != null) yield return new ElementValue("riskEstimate", RiskEstimate); - foreach (var elem in Certainty) { if (elem != null) yield return new ElementValue("certainty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs index e723a2ab8..123cd2a2d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SampledData.cs @@ -322,38 +322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Origin != null) yield return Origin; - if (PeriodElement != null) yield return PeriodElement; - if (FactorElement != null) yield return FactorElement; - if (LowerLimitElement != null) yield return LowerLimitElement; - if (UpperLimitElement != null) yield return UpperLimitElement; - if (DimensionsElement != null) yield return DimensionsElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Origin != null) yield return new ElementValue("origin", Origin); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (LowerLimitElement != null) yield return new ElementValue("lowerLimit", LowerLimitElement); - if (UpperLimitElement != null) yield return new ElementValue("upperLimit", UpperLimitElement); - if (DimensionsElement != null) yield return new ElementValue("dimensions", DimensionsElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs index bf866213a..e0aad5331 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Schedule.cs @@ -271,40 +271,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Actor) { if (elem != null) yield return elem; } - if (PlanningHorizon != null) yield return PlanningHorizon; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - if (PlanningHorizon != null) yield return new ElementValue("planningHorizon", PlanningHorizon); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs index 78eae7a77..9c034ca7e 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SearchParameter.cs @@ -371,28 +371,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DefinitionElement != null) yield return DefinitionElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1318,76 +1296,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (DerivedFromElement != null) yield return DerivedFromElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in BaseElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (XpathElement != null) yield return XpathElement; - if (XpathUsageElement != null) yield return XpathUsageElement; - foreach (var elem in TargetElement) { if (elem != null) yield return elem; } - if (MultipleOrElement != null) yield return MultipleOrElement; - if (MultipleAndElement != null) yield return MultipleAndElement; - foreach (var elem in ComparatorElement) { if (elem != null) yield return elem; } - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - foreach (var elem in ChainElement) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DerivedFromElement != null) yield return new ElementValue("derivedFrom", DerivedFromElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in BaseElement) { if (elem != null) yield return new ElementValue("base", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (XpathElement != null) yield return new ElementValue("xpath", XpathElement); - if (XpathUsageElement != null) yield return new ElementValue("xpathUsage", XpathUsageElement); - foreach (var elem in TargetElement) { if (elem != null) yield return new ElementValue("target", elem); } - if (MultipleOrElement != null) yield return new ElementValue("multipleOr", MultipleOrElement); - if (MultipleAndElement != null) yield return new ElementValue("multipleAnd", MultipleAndElement); - foreach (var elem in ComparatorElement) { if (elem != null) yield return new ElementValue("comparator", elem); } - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ChainElement) { if (elem != null) yield return new ElementValue("chain", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs index 2913804fa..a03f49e08 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/ServiceRequest.cs @@ -840,90 +840,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (Requisition != null) yield return Requisition; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Code != null) yield return Code; - foreach (var elem in OrderDetail) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AsNeeded != null) yield return AsNeeded; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in LocationCode) { if (elem != null) yield return elem; } - foreach (var elem in LocationReference) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (Requisition != null) yield return new ElementValue("requisition", Requisition); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in OrderDetail) { if (elem != null) yield return new ElementValue("orderDetail", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in LocationCode) { if (elem != null) yield return new ElementValue("locationCode", elem); } - foreach (var elem in LocationReference) { if (elem != null) yield return new ElementValue("locationReference", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Slot.cs b/src/Hl7.Fhir.R4/Model/Generated/Slot.cs index 38b47e8e7..f07e3a7e7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Slot.cs @@ -419,46 +419,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - if (Schedule != null) yield return Schedule; - if (StatusElement != null) yield return StatusElement; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (OverbookedElement != null) yield return OverbookedElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (OverbookedElement != null) yield return new ElementValue("overbooked", OverbookedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs index f44fb8f03..ca78926b4 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Specimen.cs @@ -269,38 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Collected != null) yield return Collected; - if (Duration != null) yield return Duration; - if (Quantity != null) yield return Quantity; - if (Method != null) yield return Method; - if (BodySite != null) yield return BodySite; - if (FastingStatus != null) yield return FastingStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Collected != null) yield return new ElementValue("collected", Collected); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Method != null) yield return new ElementValue("method", Method); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (FastingStatus != null) yield return new ElementValue("fastingStatus", FastingStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -520,32 +488,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -776,36 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Type != null) yield return Type; - if (Capacity != null) yield return Capacity; - if (SpecimenQuantity != null) yield return SpecimenQuantity; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (SpecimenQuantity != null) yield return new ElementValue("specimenQuantity", SpecimenQuantity); - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1180,50 +1092,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AccessionIdentifier != null) yield return AccessionIdentifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (ReceivedTimeElement != null) yield return ReceivedTimeElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - foreach (var elem in Container) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AccessionIdentifier != null) yield return new ElementValue("accessionIdentifier", AccessionIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (ReceivedTimeElement != null) yield return new ElementValue("receivedTime", ReceivedTimeElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - foreach (var elem in Container) { if (elem != null) yield return new ElementValue("container", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs index 0b870fad5..3797dbd6d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SpecimenDefinition.cs @@ -325,40 +325,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IsDerivedElement != null) yield return IsDerivedElement; - if (Type != null) yield return Type; - if (PreferenceElement != null) yield return PreferenceElement; - if (Container != null) yield return Container; - if (RequirementElement != null) yield return RequirementElement; - if (RetentionTime != null) yield return RetentionTime; - foreach (var elem in RejectionCriterion) { if (elem != null) yield return elem; } - foreach (var elem in Handling) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IsDerivedElement != null) yield return new ElementValue("isDerived", IsDerivedElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PreferenceElement != null) yield return new ElementValue("preference", PreferenceElement); - if (Container != null) yield return new ElementValue("container", Container); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - if (RetentionTime != null) yield return new ElementValue("retentionTime", RetentionTime); - foreach (var elem in RejectionCriterion) { if (elem != null) yield return new ElementValue("rejectionCriterion", elem); } - foreach (var elem in Handling) { if (elem != null) yield return new ElementValue("handling", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -664,40 +630,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Material != null) yield return Material; - if (Type != null) yield return Type; - if (Cap != null) yield return Cap; - if (DescriptionElement != null) yield return DescriptionElement; - if (Capacity != null) yield return Capacity; - if (MinimumVolume != null) yield return MinimumVolume; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (PreparationElement != null) yield return PreparationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Material != null) yield return new ElementValue("material", Material); - if (Type != null) yield return new ElementValue("type", Type); - if (Cap != null) yield return new ElementValue("cap", Cap); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (MinimumVolume != null) yield return new ElementValue("minimumVolume", MinimumVolume); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (PreparationElement != null) yield return new ElementValue("preparation", PreparationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -857,26 +789,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1049,32 +961,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TemperatureQualifier != null) yield return TemperatureQualifier; - if (TemperatureRange != null) yield return TemperatureRange; - if (MaxDuration != null) yield return MaxDuration; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TemperatureQualifier != null) yield return new ElementValue("temperatureQualifier", TemperatureQualifier); - if (TemperatureRange != null) yield return new ElementValue("temperatureRange", TemperatureRange); - if (MaxDuration != null) yield return new ElementValue("maxDuration", MaxDuration); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1291,36 +1177,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (TypeCollected != null) yield return TypeCollected; - foreach (var elem in PatientPreparation) { if (elem != null) yield return elem; } - if (TimeAspectElement != null) yield return TimeAspectElement; - foreach (var elem in Collection) { if (elem != null) yield return elem; } - foreach (var elem in TypeTested) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (TypeCollected != null) yield return new ElementValue("typeCollected", TypeCollected); - foreach (var elem in PatientPreparation) { if (elem != null) yield return new ElementValue("patientPreparation", elem); } - if (TimeAspectElement != null) yield return new ElementValue("timeAspect", TimeAspectElement); - foreach (var elem in Collection) { if (elem != null) yield return new ElementValue("collection", elem); } - foreach (var elem in TypeTested) { if (elem != null) yield return new ElementValue("typeTested", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs index 70da21fd4..4f27adb78 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/StructureMap.cs @@ -544,32 +544,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (ModeElement != null) yield return ModeElement; - if (AliasElement != null) yield return AliasElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (AliasElement != null) yield return new ElementValue("alias", AliasElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -854,36 +828,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ExtendsElement != null) yield return ExtendsElement; - if (TypeModeElement != null) yield return TypeModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ExtendsElement != null) yield return new ElementValue("extends", ExtendsElement); - if (TypeModeElement != null) yield return new ElementValue("typeMode", TypeModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1149,32 +1093,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1419,36 +1337,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - foreach (var elem in Dependent) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - foreach (var elem in Dependent) { if (elem != null) yield return new ElementValue("dependent", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1931,46 +1819,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (TypeElement != null) yield return TypeElement; - if (DefaultValue != null) yield return DefaultValue; - if (ElementElement != null) yield return ElementElement; - if (ListModeElement != null) yield return ListModeElement; - if (VariableElement != null) yield return VariableElement; - if (ConditionElement != null) yield return ConditionElement; - if (CheckElement != null) yield return CheckElement; - if (LogMessageElement != null) yield return LogMessageElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DefaultValue != null) yield return new ElementValue("defaultValue", DefaultValue); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (ListModeElement != null) yield return new ElementValue("listMode", ListModeElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - if (CheckElement != null) yield return new ElementValue("check", CheckElement); - if (LogMessageElement != null) yield return new ElementValue("logMessage", LogMessageElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2389,40 +2237,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (ContextTypeElement != null) yield return ContextTypeElement; - if (ElementElement != null) yield return ElementElement; - if (VariableElement != null) yield return VariableElement; - foreach (var elem in ListModeElement) { if (elem != null) yield return elem; } - if (ListRuleIdElement != null) yield return ListRuleIdElement; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (ContextTypeElement != null) yield return new ElementValue("contextType", ContextTypeElement); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - foreach (var elem in ListModeElement) { if (elem != null) yield return new ElementValue("listMode", elem); } - if (ListRuleIdElement != null) yield return new ElementValue("listRuleId", ListRuleIdElement); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2577,26 +2391,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2753,28 +2547,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in VariableElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in VariableElement) { if (elem != null) yield return new ElementValue("variable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3374,60 +3146,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Structure) { if (elem != null) yield return elem; } - foreach (var elem in ImportElement) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Structure) { if (elem != null) yield return new ElementValue("structure", elem); } - foreach (var elem in ImportElement) { if (elem != null) yield return new ElementValue("import", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs index bf0348942..37a2c1fa1 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Subscription.cs @@ -329,32 +329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (EndpointElement != null) yield return EndpointElement; - if (PayloadElement != null) yield return PayloadElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - if (PayloadElement != null) yield return new ElementValue("payload", PayloadElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -658,38 +632,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (EndElement != null) yield return EndElement; - if (ReasonElement != null) yield return ReasonElement; - if (CriteriaElement != null) yield return CriteriaElement; - if (ErrorElement != null) yield return ErrorElement; - if (Channel != null) yield return Channel; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - if (ErrorElement != null) yield return new ElementValue("error", ErrorElement); - if (Channel != null) yield return new ElementValue("channel", Channel); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Substance.cs b/src/Hl7.Fhir.R4/Model/Generated/Substance.cs index 038c7437b..f5863de01 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Substance.cs @@ -205,30 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (ExpiryElement != null) yield return ExpiryElement; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,28 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -633,38 +587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs index 7fce3637b..027c19dde 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceAmount.cs @@ -140,28 +140,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LowLimit != null) yield return LowLimit; - if (HighLimit != null) yield return HighLimit; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LowLimit != null) yield return new ElementValue("lowLimit", LowLimit); - if (HighLimit != null) yield return new ElementValue("highLimit", HighLimit); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -326,32 +304,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Amount != null) yield return Amount; - if (AmountType != null) yield return AmountType; - if (AmountTextElement != null) yield return AmountTextElement; - if (ReferenceRange != null) yield return ReferenceRange; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Amount != null) yield return new ElementValue("amount", Amount); - if (AmountType != null) yield return new ElementValue("amountType", AmountType); - if (AmountTextElement != null) yield return new ElementValue("amountText", AmountTextElement); - if (ReferenceRange != null) yield return new ElementValue("referenceRange", ReferenceRange); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs index 8ccae1d51..dd35db537 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceNucleicAcid.cs @@ -292,40 +292,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubunitElement != null) yield return SubunitElement; - if (SequenceElement != null) yield return SequenceElement; - if (LengthElement != null) yield return LengthElement; - if (SequenceAttachment != null) yield return SequenceAttachment; - if (FivePrime != null) yield return FivePrime; - if (ThreePrime != null) yield return ThreePrime; - foreach (var elem in Linkage) { if (elem != null) yield return elem; } - foreach (var elem in Sugar) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubunitElement != null) yield return new ElementValue("subunit", SubunitElement); - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (SequenceAttachment != null) yield return new ElementValue("sequenceAttachment", SequenceAttachment); - if (FivePrime != null) yield return new ElementValue("fivePrime", FivePrime); - if (ThreePrime != null) yield return new ElementValue("threePrime", ThreePrime); - foreach (var elem in Linkage) { if (elem != null) yield return new ElementValue("linkage", elem); } - foreach (var elem in Sugar) { if (elem != null) yield return new ElementValue("sugar", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -579,32 +545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ConnectivityElement != null) yield return ConnectivityElement; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (ResidueSiteElement != null) yield return ResidueSiteElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ConnectivityElement != null) yield return new ElementValue("connectivity", ConnectivityElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ResidueSiteElement != null) yield return new ElementValue("residueSite", ResidueSiteElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -796,30 +736,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (ResidueSiteElement != null) yield return ResidueSiteElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ResidueSiteElement != null) yield return new ElementValue("residueSite", ResidueSiteElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1024,34 +940,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceType != null) yield return SequenceType; - if (NumberOfSubunitsElement != null) yield return NumberOfSubunitsElement; - if (AreaOfHybridisationElement != null) yield return AreaOfHybridisationElement; - if (OligoNucleotideType != null) yield return OligoNucleotideType; - foreach (var elem in Subunit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceType != null) yield return new ElementValue("sequenceType", SequenceType); - if (NumberOfSubunitsElement != null) yield return new ElementValue("numberOfSubunits", NumberOfSubunitsElement); - if (AreaOfHybridisationElement != null) yield return new ElementValue("areaOfHybridisation", AreaOfHybridisationElement); - if (OligoNucleotideType != null) yield return new ElementValue("oligoNucleotideType", OligoNucleotideType); - foreach (var elem in Subunit) { if (elem != null) yield return new ElementValue("subunit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs index 8c52f63ed..74f30b284 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstancePolymer.cs @@ -141,28 +141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RatioType != null) yield return RatioType; - foreach (var elem in StartingMaterial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RatioType != null) yield return new ElementValue("ratioType", RatioType); - foreach (var elem in StartingMaterial) { if (elem != null) yield return new ElementValue("startingMaterial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -338,32 +316,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Material != null) yield return Material; - if (Type != null) yield return Type; - if (IsDefiningElement != null) yield return IsDefiningElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Material != null) yield return new ElementValue("material", Material); - if (Type != null) yield return new ElementValue("type", Type); - if (IsDefiningElement != null) yield return new ElementValue("isDefining", IsDefiningElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -572,32 +524,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberOfUnitsElement != null) yield return NumberOfUnitsElement; - if (AverageMolecularFormulaElement != null) yield return AverageMolecularFormulaElement; - if (RepeatUnitAmountType != null) yield return RepeatUnitAmountType; - foreach (var elem in RepeatUnit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberOfUnitsElement != null) yield return new ElementValue("numberOfUnits", NumberOfUnitsElement); - if (AverageMolecularFormulaElement != null) yield return new ElementValue("averageMolecularFormula", AverageMolecularFormulaElement); - if (RepeatUnitAmountType != null) yield return new ElementValue("repeatUnitAmountType", RepeatUnitAmountType); - foreach (var elem in RepeatUnit) { if (elem != null) yield return new ElementValue("repeatUnit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -805,34 +731,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (OrientationOfPolymerisation != null) yield return OrientationOfPolymerisation; - if (RepeatUnitElement != null) yield return RepeatUnitElement; - if (Amount != null) yield return Amount; - foreach (var elem in DegreeOfPolymerisation) { if (elem != null) yield return elem; } - foreach (var elem in StructuralRepresentation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (OrientationOfPolymerisation != null) yield return new ElementValue("orientationOfPolymerisation", OrientationOfPolymerisation); - if (RepeatUnitElement != null) yield return new ElementValue("repeatUnit", RepeatUnitElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - foreach (var elem in DegreeOfPolymerisation) { if (elem != null) yield return new ElementValue("degreeOfPolymerisation", elem); } - foreach (var elem in StructuralRepresentation) { if (elem != null) yield return new ElementValue("structuralRepresentation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -979,28 +877,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Degree != null) yield return Degree; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Degree != null) yield return new ElementValue("degree", Degree); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1160,30 +1036,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RepresentationElement != null) yield return RepresentationElement; - if (Attachment != null) yield return Attachment; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RepresentationElement != null) yield return new ElementValue("representation", RepresentationElement); - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1389,36 +1241,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Class != null) yield return Class; - if (Geometry != null) yield return Geometry; - foreach (var elem in CopolymerConnectivity) { if (elem != null) yield return elem; } - foreach (var elem in ModificationElement) { if (elem != null) yield return elem; } - foreach (var elem in MonomerSet) { if (elem != null) yield return elem; } - foreach (var elem in Repeat) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Class != null) yield return new ElementValue("class", Class); - if (Geometry != null) yield return new ElementValue("geometry", Geometry); - foreach (var elem in CopolymerConnectivity) { if (elem != null) yield return new ElementValue("copolymerConnectivity", elem); } - foreach (var elem in ModificationElement) { if (elem != null) yield return new ElementValue("modification", elem); } - foreach (var elem in MonomerSet) { if (elem != null) yield return new ElementValue("monomerSet", elem); } - foreach (var elem in Repeat) { if (elem != null) yield return new ElementValue("repeat", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs index 0f2ca81e0..b11a84c27 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceProtein.cs @@ -326,40 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubunitElement != null) yield return SubunitElement; - if (SequenceElement != null) yield return SequenceElement; - if (LengthElement != null) yield return LengthElement; - if (SequenceAttachment != null) yield return SequenceAttachment; - if (NTerminalModificationId != null) yield return NTerminalModificationId; - if (NTerminalModificationElement != null) yield return NTerminalModificationElement; - if (CTerminalModificationId != null) yield return CTerminalModificationId; - if (CTerminalModificationElement != null) yield return CTerminalModificationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubunitElement != null) yield return new ElementValue("subunit", SubunitElement); - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (SequenceAttachment != null) yield return new ElementValue("sequenceAttachment", SequenceAttachment); - if (NTerminalModificationId != null) yield return new ElementValue("nTerminalModificationId", NTerminalModificationId); - if (NTerminalModificationElement != null) yield return new ElementValue("nTerminalModification", NTerminalModificationElement); - if (CTerminalModificationId != null) yield return new ElementValue("cTerminalModificationId", CTerminalModificationId); - if (CTerminalModificationElement != null) yield return new ElementValue("cTerminalModification", CTerminalModificationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -584,32 +550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceType != null) yield return SequenceType; - if (NumberOfSubunitsElement != null) yield return NumberOfSubunitsElement; - foreach (var elem in DisulfideLinkageElement) { if (elem != null) yield return elem; } - foreach (var elem in Subunit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceType != null) yield return new ElementValue("sequenceType", SequenceType); - if (NumberOfSubunitsElement != null) yield return new ElementValue("numberOfSubunits", NumberOfSubunitsElement); - foreach (var elem in DisulfideLinkageElement) { if (elem != null) yield return new ElementValue("disulfideLinkage", elem); } - foreach (var elem in Subunit) { if (elem != null) yield return new ElementValue("subunit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs index 5f59409e2..d4bd359a9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceReferenceInformation.cs @@ -159,30 +159,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (GeneSequenceOrigin != null) yield return GeneSequenceOrigin; - if (Gene != null) yield return Gene; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (GeneSequenceOrigin != null) yield return new ElementValue("geneSequenceOrigin", GeneSequenceOrigin); - if (Gene != null) yield return new ElementValue("gene", Gene); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -334,30 +310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Element != null) yield return Element; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Element != null) yield return new ElementValue("element", Element); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -526,32 +478,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Domain != null) yield return Domain; - if (Classification != null) yield return Classification; - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Domain != null) yield return new ElementValue("domain", Domain); - if (Classification != null) yield return new ElementValue("classification", Classification); - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -792,40 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (Type != null) yield return Type; - if (Interaction != null) yield return Interaction; - if (Organism != null) yield return Organism; - if (OrganismType != null) yield return OrganismType; - if (Amount != null) yield return Amount; - if (AmountType != null) yield return AmountType; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (Type != null) yield return new ElementValue("type", Type); - if (Interaction != null) yield return new ElementValue("interaction", Interaction); - if (Organism != null) yield return new ElementValue("organism", Organism); - if (OrganismType != null) yield return new ElementValue("organismType", OrganismType); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (AmountType != null) yield return new ElementValue("amountType", AmountType); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1050,34 +942,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Gene) { if (elem != null) yield return elem; } - foreach (var elem in GeneElement) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Gene) { if (elem != null) yield return new ElementValue("gene", elem); } - foreach (var elem in GeneElement) { if (elem != null) yield return new ElementValue("geneElement", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs index ccd32136d..0eed30ecd 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSourceMaterial.cs @@ -158,28 +158,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FractionElement != null) yield return FractionElement; - if (MaterialType != null) yield return MaterialType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FractionElement != null) yield return new ElementValue("fraction", FractionElement); - if (MaterialType != null) yield return new ElementValue("materialType", MaterialType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -420,40 +398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Family != null) yield return Family; - if (Genus != null) yield return Genus; - if (Species != null) yield return Species; - if (IntraspecificType != null) yield return IntraspecificType; - if (IntraspecificDescriptionElement != null) yield return IntraspecificDescriptionElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Hybrid != null) yield return Hybrid; - if (OrganismGeneral != null) yield return OrganismGeneral; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Family != null) yield return new ElementValue("family", Family); - if (Genus != null) yield return new ElementValue("genus", Genus); - if (Species != null) yield return new ElementValue("species", Species); - if (IntraspecificType != null) yield return new ElementValue("intraspecificType", IntraspecificType); - if (IntraspecificDescriptionElement != null) yield return new ElementValue("intraspecificDescription", IntraspecificDescriptionElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Hybrid != null) yield return new ElementValue("hybrid", Hybrid); - if (OrganismGeneral != null) yield return new ElementValue("organismGeneral", OrganismGeneral); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -639,28 +583,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AuthorType != null) yield return AuthorType; - if (AuthorDescriptionElement != null) yield return AuthorDescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AuthorType != null) yield return new ElementValue("authorType", AuthorType); - if (AuthorDescriptionElement != null) yield return new ElementValue("authorDescription", AuthorDescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -906,34 +828,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MaternalOrganismIdElement != null) yield return MaternalOrganismIdElement; - if (MaternalOrganismNameElement != null) yield return MaternalOrganismNameElement; - if (PaternalOrganismIdElement != null) yield return PaternalOrganismIdElement; - if (PaternalOrganismNameElement != null) yield return PaternalOrganismNameElement; - if (HybridType != null) yield return HybridType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MaternalOrganismIdElement != null) yield return new ElementValue("maternalOrganismId", MaternalOrganismIdElement); - if (MaternalOrganismNameElement != null) yield return new ElementValue("maternalOrganismName", MaternalOrganismNameElement); - if (PaternalOrganismIdElement != null) yield return new ElementValue("paternalOrganismId", PaternalOrganismIdElement); - if (PaternalOrganismNameElement != null) yield return new ElementValue("paternalOrganismName", PaternalOrganismNameElement); - if (HybridType != null) yield return new ElementValue("hybridType", HybridType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1112,32 +1006,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Kingdom != null) yield return Kingdom; - if (Phylum != null) yield return Phylum; - if (Class != null) yield return Class; - if (Order != null) yield return Order; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Kingdom != null) yield return new ElementValue("kingdom", Kingdom); - if (Phylum != null) yield return new ElementValue("phylum", Phylum); - if (Class != null) yield return new ElementValue("class", Class); - if (Order != null) yield return new ElementValue("order", Order); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1277,28 +1145,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Part != null) yield return Part; - if (PartLocation != null) yield return PartLocation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Part != null) yield return new ElementValue("part", Part); - if (PartLocation != null) yield return new ElementValue("partLocation", PartLocation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1647,50 +1493,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceMaterialClass != null) yield return SourceMaterialClass; - if (SourceMaterialType != null) yield return SourceMaterialType; - if (SourceMaterialState != null) yield return SourceMaterialState; - if (OrganismId != null) yield return OrganismId; - if (OrganismNameElement != null) yield return OrganismNameElement; - foreach (var elem in ParentSubstanceId) { if (elem != null) yield return elem; } - foreach (var elem in ParentSubstanceNameElement) { if (elem != null) yield return elem; } - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return elem; } - foreach (var elem in GeographicalLocationElement) { if (elem != null) yield return elem; } - if (DevelopmentStage != null) yield return DevelopmentStage; - foreach (var elem in FractionDescription) { if (elem != null) yield return elem; } - if (Organism != null) yield return Organism; - foreach (var elem in PartDescription) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceMaterialClass != null) yield return new ElementValue("sourceMaterialClass", SourceMaterialClass); - if (SourceMaterialType != null) yield return new ElementValue("sourceMaterialType", SourceMaterialType); - if (SourceMaterialState != null) yield return new ElementValue("sourceMaterialState", SourceMaterialState); - if (OrganismId != null) yield return new ElementValue("organismId", OrganismId); - if (OrganismNameElement != null) yield return new ElementValue("organismName", OrganismNameElement); - foreach (var elem in ParentSubstanceId) { if (elem != null) yield return new ElementValue("parentSubstanceId", elem); } - foreach (var elem in ParentSubstanceNameElement) { if (elem != null) yield return new ElementValue("parentSubstanceName", elem); } - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return new ElementValue("countryOfOrigin", elem); } - foreach (var elem in GeographicalLocationElement) { if (elem != null) yield return new ElementValue("geographicalLocation", elem); } - if (DevelopmentStage != null) yield return new ElementValue("developmentStage", DevelopmentStage); - foreach (var elem in FractionDescription) { if (elem != null) yield return new ElementValue("fractionDescription", elem); } - if (Organism != null) yield return new ElementValue("organism", Organism); - foreach (var elem in PartDescription) { if (elem != null) yield return new ElementValue("partDescription", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs index 299ff28c6..6a03d4a05 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SubstanceSpecification.cs @@ -258,38 +258,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -521,34 +489,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (ParametersElement != null) yield return ParametersElement; - if (DefiningSubstance != null) yield return DefiningSubstance; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (ParametersElement != null) yield return new ElementValue("parameters", ParametersElement); - if (DefiningSubstance != null) yield return new ElementValue("definingSubstance", DefiningSubstance); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -832,40 +772,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (MolecularFormulaByMoietyElement != null) yield return MolecularFormulaByMoietyElement; - foreach (var elem in Isotope) { if (elem != null) yield return elem; } - if (MolecularWeight != null) yield return MolecularWeight; - foreach (var elem in Source) { if (elem != null) yield return elem; } - foreach (var elem in Representation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (MolecularFormulaByMoietyElement != null) yield return new ElementValue("molecularFormulaByMoiety", MolecularFormulaByMoietyElement); - foreach (var elem in Isotope) { if (elem != null) yield return new ElementValue("isotope", elem); } - if (MolecularWeight != null) yield return new ElementValue("molecularWeight", MolecularWeight); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - foreach (var elem in Representation) { if (elem != null) yield return new ElementValue("representation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1081,34 +987,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Name != null) yield return Name; - if (Substitution != null) yield return Substitution; - if (HalfLife != null) yield return HalfLife; - if (MolecularWeight != null) yield return MolecularWeight; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Name != null) yield return new ElementValue("name", Name); - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - if (HalfLife != null) yield return new ElementValue("halfLife", HalfLife); - if (MolecularWeight != null) yield return new ElementValue("molecularWeight", MolecularWeight); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1271,30 +1149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Method != null) yield return Method; - if (Type != null) yield return Type; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Method != null) yield return new ElementValue("method", Method); - if (Type != null) yield return new ElementValue("type", Type); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1461,30 +1315,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RepresentationElement != null) yield return RepresentationElement; - if (Attachment != null) yield return Attachment; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RepresentationElement != null) yield return new ElementValue("representation", RepresentationElement); - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1704,34 +1534,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2068,46 +1870,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (PreferredElement != null) yield return PreferredElement; - foreach (var elem in Language) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Synonym) { if (elem != null) yield return elem; } - foreach (var elem in Translation) { if (elem != null) yield return elem; } - foreach (var elem in Official) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - foreach (var elem in Language) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Synonym) { if (elem != null) yield return new ElementValue("synonym", elem); } - foreach (var elem in Translation) { if (elem != null) yield return new ElementValue("translation", elem); } - foreach (var elem in Official) { if (elem != null) yield return new ElementValue("official", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2330,30 +2092,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Authority != null) yield return Authority; - if (Status != null) yield return Status; - if (DateElement != null) yield return DateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Authority != null) yield return new ElementValue("authority", Authority); - if (Status != null) yield return new ElementValue("status", Status); - if (DateElement != null) yield return new ElementValue("date", DateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2592,38 +2330,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (Relationship != null) yield return Relationship; - if (IsDefiningElement != null) yield return IsDefiningElement; - if (Amount != null) yield return Amount; - if (AmountRatioLowLimit != null) yield return AmountRatioLowLimit; - if (AmountType != null) yield return AmountType; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (IsDefiningElement != null) yield return new ElementValue("isDefining", IsDefiningElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (AmountRatioLowLimit != null) yield return new ElementValue("amountRatioLowLimit", AmountRatioLowLimit); - if (AmountType != null) yield return new ElementValue("amountType", AmountType); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3100,62 +2806,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (Domain != null) yield return Domain; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Moiety) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (ReferenceInformation != null) yield return ReferenceInformation; - if (Structure != null) yield return Structure; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in MolecularWeight) { if (elem != null) yield return elem; } - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (NucleicAcid != null) yield return NucleicAcid; - if (Polymer != null) yield return Polymer; - if (Protein != null) yield return Protein; - if (SourceMaterial != null) yield return SourceMaterial; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (Domain != null) yield return new ElementValue("domain", Domain); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Moiety) { if (elem != null) yield return new ElementValue("moiety", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (ReferenceInformation != null) yield return new ElementValue("referenceInformation", ReferenceInformation); - if (Structure != null) yield return new ElementValue("structure", Structure); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in MolecularWeight) { if (elem != null) yield return new ElementValue("molecularWeight", elem); } - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (NucleicAcid != null) yield return new ElementValue("nucleicAcid", NucleicAcid); - if (Polymer != null) yield return new ElementValue("polymer", Polymer); - if (Protein != null) yield return new ElementValue("protein", Protein); - if (SourceMaterial != null) yield return new ElementValue("sourceMaterial", SourceMaterial); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs index d0de570c4..a09eab3d7 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SupplyDelivery.cs @@ -206,28 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,46 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Type != null) yield return Type; - if (SuppliedItem != null) yield return SuppliedItem; - if (Occurrence != null) yield return Occurrence; - if (Supplier != null) yield return Supplier; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Type != null) yield return new ElementValue("type", Type); - if (SuppliedItem != null) yield return new ElementValue("suppliedItem", SuppliedItem); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Supplier != null) yield return new ElementValue("supplier", Supplier); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs index 21a0e8aec..ec97b769d 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/SupplyRequest.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -631,54 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (PriorityElement != null) yield return PriorityElement; - if (Item != null) yield return Item; - if (Quantity != null) yield return Quantity; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (DeliverFrom != null) yield return DeliverFrom; - if (DeliverTo != null) yield return DeliverTo; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Item != null) yield return new ElementValue("item", Item); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (DeliverFrom != null) yield return new ElementValue("deliverFrom", DeliverFrom); - if (DeliverTo != null) yield return new ElementValue("deliverTo", DeliverTo); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Task.cs b/src/Hl7.Fhir.R4/Model/Generated/Task.cs index 5687f250d..5861ada65 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Task.cs @@ -326,30 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RepetitionsElement != null) yield return RepetitionsElement; - if (Period != null) yield return Period; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RepetitionsElement != null) yield return new ElementValue("repetitions", RepetitionsElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -490,28 +466,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,28 +599,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1436,86 +1368,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (BusinessStatus != null) yield return BusinessStatus; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Focus != null) yield return Focus; - if (For != null) yield return For; - if (Encounter != null) yield return Encounter; - if (ExecutionPeriod != null) yield return ExecutionPeriod; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Requester != null) yield return Requester; - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (Location != null) yield return Location; - if (ReasonCode != null) yield return ReasonCode; - if (ReasonReference != null) yield return ReasonReference; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - if (Restriction != null) yield return Restriction; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (BusinessStatus != null) yield return new ElementValue("businessStatus", BusinessStatus); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (For != null) yield return new ElementValue("for", For); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (ExecutionPeriod != null) yield return new ElementValue("executionPeriod", ExecutionPeriod); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (Location != null) yield return new ElementValue("location", Location); - if (ReasonCode != null) yield return new ElementValue("reasonCode", ReasonCode); - if (ReasonReference != null) yield return new ElementValue("reasonReference", ReasonReference); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - if (Restriction != null) yield return new ElementValue("restriction", Restriction); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs index 7d4eb738b..5405db8e5 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TerminologyCapabilities.cs @@ -205,28 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -392,28 +370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -596,30 +552,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - foreach (var elem in Version) { if (elem != null) yield return elem; } - if (SubsumptionElement != null) yield return SubsumptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - if (SubsumptionElement != null) yield return new ElementValue("subsumption", SubsumptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -913,36 +845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (IsDefaultElement != null) yield return IsDefaultElement; - if (CompositionalElement != null) yield return CompositionalElement; - foreach (var elem in LanguageElement) { if (elem != null) yield return elem; } - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in PropertyElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (IsDefaultElement != null) yield return new ElementValue("isDefault", IsDefaultElement); - if (CompositionalElement != null) yield return new ElementValue("compositional", CompositionalElement); - foreach (var elem in LanguageElement) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in PropertyElement) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1134,28 +1036,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in OpElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in OpElement) { if (elem != null) yield return new ElementValue("op", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1402,34 +1282,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (HierarchicalElement != null) yield return HierarchicalElement; - if (PagingElement != null) yield return PagingElement; - if (IncompleteElement != null) yield return IncompleteElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (TextFilterElement != null) yield return TextFilterElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (HierarchicalElement != null) yield return new ElementValue("hierarchical", HierarchicalElement); - if (PagingElement != null) yield return new ElementValue("paging", PagingElement); - if (IncompleteElement != null) yield return new ElementValue("incomplete", IncompleteElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (TextFilterElement != null) yield return new ElementValue("textFilter", TextFilterElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1613,28 +1465,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1763,26 +1593,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationsElement != null) yield return TranslationsElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationsElement != null) yield return new ElementValue("translations", TranslationsElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1904,26 +1714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NeedsMapElement != null) yield return NeedsMapElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NeedsMapElement != null) yield return new ElementValue("needsMap", NeedsMapElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2047,26 +1837,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationElement != null) yield return TranslationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationElement != null) yield return new ElementValue("translation", TranslationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2790,72 +2560,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (KindElement != null) yield return KindElement; - if (Software != null) yield return Software; - if (Implementation != null) yield return Implementation; - if (LockedDateElement != null) yield return LockedDateElement; - foreach (var elem in CodeSystem) { if (elem != null) yield return elem; } - if (Expansion != null) yield return Expansion; - if (CodeSearchElement != null) yield return CodeSearchElement; - if (ValidateCode != null) yield return ValidateCode; - if (Translation != null) yield return Translation; - if (Closure != null) yield return Closure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Software != null) yield return new ElementValue("software", Software); - if (Implementation != null) yield return new ElementValue("implementation", Implementation); - if (LockedDateElement != null) yield return new ElementValue("lockedDate", LockedDateElement); - foreach (var elem in CodeSystem) { if (elem != null) yield return new ElementValue("codeSystem", elem); } - if (Expansion != null) yield return new ElementValue("expansion", Expansion); - if (CodeSearchElement != null) yield return new ElementValue("codeSearch", CodeSearchElement); - if (ValidateCode != null) yield return new ElementValue("validateCode", ValidateCode); - if (Translation != null) yield return new ElementValue("translation", Translation); - if (Closure != null) yield return new ElementValue("closure", Closure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs index d583e76c5..cab147115 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TestReport.cs @@ -353,30 +353,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UriElement != null) yield return UriElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -494,26 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -636,28 +592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -859,30 +793,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1091,30 +1001,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1300,30 +1186,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1460,28 +1322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1595,26 +1435,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1722,26 +1542,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2128,48 +1928,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (TestScript != null) yield return TestScript; - if (ResultElement != null) yield return ResultElement; - if (ScoreElement != null) yield return ScoreElement; - if (TesterElement != null) yield return TesterElement; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TestScript != null) yield return new ElementValue("testScript", TestScript); - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (ScoreElement != null) yield return new ElementValue("score", ScoreElement); - if (TesterElement != null) yield return new ElementValue("tester", TesterElement); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs index 5813f81d0..283f47bf3 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TestScript.cs @@ -400,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -572,28 +550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -724,28 +680,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -911,28 +845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1273,38 +1185,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequiredElement != null) yield return RequiredElement; - if (ValidatedElement != null) yield return ValidatedElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OriginElement) { if (elem != null) yield return elem; } - if (DestinationElement != null) yield return DestinationElement; - foreach (var elem in LinkElement) { if (elem != null) yield return elem; } - if (CapabilitiesElement != null) yield return CapabilitiesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (ValidatedElement != null) yield return new ElementValue("validated", ValidatedElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OriginElement) { if (elem != null) yield return new ElementValue("origin", elem); } - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - foreach (var elem in LinkElement) { if (elem != null) yield return new ElementValue("link", elem); } - if (CapabilitiesElement != null) yield return new ElementValue("capabilities", CapabilitiesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1524,30 +1404,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AutocreateElement != null) yield return AutocreateElement; - if (AutodeleteElement != null) yield return AutodeleteElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AutocreateElement != null) yield return new ElementValue("autocreate", AutocreateElement); - if (AutodeleteElement != null) yield return new ElementValue("autodelete", AutodeleteElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1925,40 +1781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefaultValueElement != null) yield return DefaultValueElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (HintElement != null) yield return HintElement; - if (PathElement != null) yield return PathElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefaultValueElement != null) yield return new ElementValue("defaultValue", DefaultValueElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (HintElement != null) yield return new ElementValue("hint", HintElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2111,26 +1933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2253,28 +2055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2922,58 +2702,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceElement != null) yield return ResourceElement; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (AcceptElement != null) yield return AcceptElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (DestinationElement != null) yield return DestinationElement; - if (EncodeRequestUrlElement != null) yield return EncodeRequestUrlElement; - if (MethodElement != null) yield return MethodElement; - if (OriginElement != null) yield return OriginElement; - if (ParamsElement != null) yield return ParamsElement; - foreach (var elem in RequestHeader) { if (elem != null) yield return elem; } - if (RequestIdElement != null) yield return RequestIdElement; - if (ResponseIdElement != null) yield return ResponseIdElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (TargetIdElement != null) yield return TargetIdElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AcceptElement != null) yield return new ElementValue("accept", AcceptElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - if (EncodeRequestUrlElement != null) yield return new ElementValue("encodeRequestUrl", EncodeRequestUrlElement); - if (MethodElement != null) yield return new ElementValue("method", MethodElement); - if (OriginElement != null) yield return new ElementValue("origin", OriginElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - foreach (var elem in RequestHeader) { if (elem != null) yield return new ElementValue("requestHeader", elem); } - if (RequestIdElement != null) yield return new ElementValue("requestId", RequestIdElement); - if (ResponseIdElement != null) yield return new ElementValue("responseId", ResponseIdElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3246,28 +2974,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FieldElement != null) yield return FieldElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FieldElement != null) yield return new ElementValue("field", FieldElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4125,68 +3831,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (DirectionElement != null) yield return DirectionElement; - if (CompareToSourceIdElement != null) yield return CompareToSourceIdElement; - if (CompareToSourceExpressionElement != null) yield return CompareToSourceExpressionElement; - if (CompareToSourcePathElement != null) yield return CompareToSourcePathElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (MinimumIdElement != null) yield return MinimumIdElement; - if (NavigationLinksElement != null) yield return NavigationLinksElement; - if (OperatorElement != null) yield return OperatorElement; - if (PathElement != null) yield return PathElement; - if (RequestMethodElement != null) yield return RequestMethodElement; - if (RequestURLElement != null) yield return RequestURLElement; - if (ResourceElement != null) yield return ResourceElement; - if (ResponseElement != null) yield return ResponseElement; - if (ResponseCodeElement != null) yield return ResponseCodeElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (ValidateProfileIdElement != null) yield return ValidateProfileIdElement; - if (ValueElement != null) yield return ValueElement; - if (WarningOnlyElement != null) yield return WarningOnlyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - if (CompareToSourceIdElement != null) yield return new ElementValue("compareToSourceId", CompareToSourceIdElement); - if (CompareToSourceExpressionElement != null) yield return new ElementValue("compareToSourceExpression", CompareToSourceExpressionElement); - if (CompareToSourcePathElement != null) yield return new ElementValue("compareToSourcePath", CompareToSourcePathElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (MinimumIdElement != null) yield return new ElementValue("minimumId", MinimumIdElement); - if (NavigationLinksElement != null) yield return new ElementValue("navigationLinks", NavigationLinksElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (RequestMethodElement != null) yield return new ElementValue("requestMethod", RequestMethodElement); - if (RequestURLElement != null) yield return new ElementValue("requestURL", RequestURLElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResponseElement != null) yield return new ElementValue("response", ResponseElement); - if (ResponseCodeElement != null) yield return new ElementValue("responseCode", ResponseCodeElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (ValidateProfileIdElement != null) yield return new ElementValue("validateProfileId", ValidateProfileIdElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (WarningOnlyElement != null) yield return new ElementValue("warningOnly", WarningOnlyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4505,30 +4149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4665,28 +4285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4800,26 +4398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4927,26 +4505,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5621,72 +5179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Origin) { if (elem != null) yield return elem; } - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Metadata != null) yield return Metadata; - foreach (var elem in Fixture) { if (elem != null) yield return elem; } - foreach (var elem in Profile) { if (elem != null) yield return elem; } - foreach (var elem in Variable) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Origin) { if (elem != null) yield return new ElementValue("origin", elem); } - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Metadata != null) yield return new ElementValue("metadata", Metadata); - foreach (var elem in Fixture) { if (elem != null) yield return new ElementValue("fixture", elem); } - foreach (var elem in Profile) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/Timing.cs b/src/Hl7.Fhir.R4/Model/Generated/Timing.cs index 60b41cde1..d6221627a 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/Timing.cs @@ -843,54 +843,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Bounds != null) yield return Bounds; - if (CountElement != null) yield return CountElement; - if (CountMaxElement != null) yield return CountMaxElement; - if (DurationElement != null) yield return DurationElement; - if (DurationMaxElement != null) yield return DurationMaxElement; - if (DurationUnitElement != null) yield return DurationUnitElement; - if (FrequencyElement != null) yield return FrequencyElement; - if (FrequencyMaxElement != null) yield return FrequencyMaxElement; - if (PeriodElement != null) yield return PeriodElement; - if (PeriodMaxElement != null) yield return PeriodMaxElement; - if (PeriodUnitElement != null) yield return PeriodUnitElement; - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return elem; } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return elem; } - foreach (var elem in WhenElement) { if (elem != null) yield return elem; } - if (OffsetElement != null) yield return OffsetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Bounds != null) yield return new ElementValue("bounds", Bounds); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (CountMaxElement != null) yield return new ElementValue("countMax", CountMaxElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (DurationMaxElement != null) yield return new ElementValue("durationMax", DurationMaxElement); - if (DurationUnitElement != null) yield return new ElementValue("durationUnit", DurationUnitElement); - if (FrequencyElement != null) yield return new ElementValue("frequency", FrequencyElement); - if (FrequencyMaxElement != null) yield return new ElementValue("frequencyMax", FrequencyMaxElement); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (PeriodMaxElement != null) yield return new ElementValue("periodMax", PeriodMaxElement); - if (PeriodUnitElement != null) yield return new ElementValue("periodUnit", PeriodUnitElement); - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return new ElementValue("dayOfWeek", elem); } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return new ElementValue("timeOfDay", elem); } - foreach (var elem in WhenElement) { if (elem != null) yield return new ElementValue("when", elem); } - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1130,30 +1082,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return elem; } - if (Repeat != null) yield return Repeat; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return new ElementValue("event", elem); } - if (Repeat != null) yield return new ElementValue("repeat", Repeat); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs index 291066b28..0d7dec575 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/TriggerDefinition.cs @@ -280,34 +280,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (Timing != null) yield return Timing; - foreach (var elem in Data) { if (elem != null) yield return elem; } - if (Condition != null) yield return Condition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - if (Condition != null) yield return new ElementValue("condition", Condition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs index b89445415..7040a9fb8 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/VerificationResult.cs @@ -294,38 +294,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return elem; } - if (ValidationStatus != null) yield return ValidationStatus; - if (ValidationDateElement != null) yield return ValidationDateElement; - if (CanPushUpdates != null) yield return CanPushUpdates; - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return new ElementValue("communicationMethod", elem); } - if (ValidationStatus != null) yield return new ElementValue("validationStatus", ValidationStatus); - if (ValidationDateElement != null) yield return new ElementValue("validationDate", ValidationDateElement); - if (CanPushUpdates != null) yield return new ElementValue("canPushUpdates", CanPushUpdates); - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return new ElementValue("pushTypeAvailable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -641,40 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (CommunicationMethod != null) yield return CommunicationMethod; - if (DateElement != null) yield return DateElement; - if (SourceIdentityCertificateElement != null) yield return SourceIdentityCertificateElement; - if (ProxyIdentityCertificateElement != null) yield return ProxyIdentityCertificateElement; - if (ProxySignature != null) yield return ProxySignature; - if (SourceSignature != null) yield return SourceSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (CommunicationMethod != null) yield return new ElementValue("communicationMethod", CommunicationMethod); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (SourceIdentityCertificateElement != null) yield return new ElementValue("sourceIdentityCertificate", SourceIdentityCertificateElement); - if (ProxyIdentityCertificateElement != null) yield return new ElementValue("proxyIdentityCertificate", ProxyIdentityCertificateElement); - if (ProxySignature != null) yield return new ElementValue("proxySignature", ProxySignature); - if (SourceSignature != null) yield return new ElementValue("sourceSignature", SourceSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,30 +813,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Organization != null) yield return Organization; - if (IdentityCertificateElement != null) yield return IdentityCertificateElement; - if (AttestationSignature != null) yield return AttestationSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Organization != null) yield return new ElementValue("organization", Organization); - if (IdentityCertificateElement != null) yield return new ElementValue("identityCertificate", IdentityCertificateElement); - if (AttestationSignature != null) yield return new ElementValue("attestationSignature", AttestationSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1318,52 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return elem; } - if (Need != null) yield return Need; - if (StatusElement != null) yield return StatusElement; - if (StatusDateElement != null) yield return StatusDateElement; - if (ValidationType != null) yield return ValidationType; - foreach (var elem in ValidationProcess) { if (elem != null) yield return elem; } - if (Frequency != null) yield return Frequency; - if (LastPerformedElement != null) yield return LastPerformedElement; - if (NextScheduledElement != null) yield return NextScheduledElement; - if (FailureAction != null) yield return FailureAction; - foreach (var elem in PrimarySource) { if (elem != null) yield return elem; } - if (Attestation != null) yield return Attestation; - foreach (var elem in Validator) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return new ElementValue("targetLocation", elem); } - if (Need != null) yield return new ElementValue("need", Need); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (ValidationType != null) yield return new ElementValue("validationType", ValidationType); - foreach (var elem in ValidationProcess) { if (elem != null) yield return new ElementValue("validationProcess", elem); } - if (Frequency != null) yield return new ElementValue("frequency", Frequency); - if (LastPerformedElement != null) yield return new ElementValue("lastPerformed", LastPerformedElement); - if (NextScheduledElement != null) yield return new ElementValue("nextScheduled", NextScheduledElement); - if (FailureAction != null) yield return new ElementValue("failureAction", FailureAction); - foreach (var elem in PrimarySource) { if (elem != null) yield return new ElementValue("primarySource", elem); } - if (Attestation != null) yield return new ElementValue("attestation", Attestation); - foreach (var elem in Validator) { if (elem != null) yield return new ElementValue("validator", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs index 54dc4c3a7..32842a0a9 100644 --- a/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R4/Model/Generated/VisionPrescription.cs @@ -581,52 +581,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (EyeElement != null) yield return EyeElement; - if (SphereElement != null) yield return SphereElement; - if (CylinderElement != null) yield return CylinderElement; - if (AxisElement != null) yield return AxisElement; - foreach (var elem in Prism) { if (elem != null) yield return elem; } - if (AddElement != null) yield return AddElement; - if (PowerElement != null) yield return PowerElement; - if (BackCurveElement != null) yield return BackCurveElement; - if (DiameterElement != null) yield return DiameterElement; - if (Duration != null) yield return Duration; - if (ColorElement != null) yield return ColorElement; - if (BrandElement != null) yield return BrandElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (EyeElement != null) yield return new ElementValue("eye", EyeElement); - if (SphereElement != null) yield return new ElementValue("sphere", SphereElement); - if (CylinderElement != null) yield return new ElementValue("cylinder", CylinderElement); - if (AxisElement != null) yield return new ElementValue("axis", AxisElement); - foreach (var elem in Prism) { if (elem != null) yield return new ElementValue("prism", elem); } - if (AddElement != null) yield return new ElementValue("add", AddElement); - if (PowerElement != null) yield return new ElementValue("power", PowerElement); - if (BackCurveElement != null) yield return new ElementValue("backCurve", BackCurveElement); - if (DiameterElement != null) yield return new ElementValue("diameter", DiameterElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (BrandElement != null) yield return new ElementValue("brand", BrandElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,28 +833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AmountElement != null) yield return AmountElement; - if (BaseElement != null) yield return BaseElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AmountElement != null) yield return new ElementValue("amount", AmountElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1180,40 +1112,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateWrittenElement != null) yield return DateWrittenElement; - if (Prescriber != null) yield return Prescriber; - foreach (var elem in LensSpecification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateWrittenElement != null) yield return new ElementValue("dateWritten", DateWrittenElement); - if (Prescriber != null) yield return new ElementValue("prescriber", Prescriber); - foreach (var elem in LensSpecification) { if (elem != null) yield return new ElementValue("lensSpecification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Account.cs b/src/Hl7.Fhir.R4B/Model/Generated/Account.cs index 75d5e9db5..cd163c34c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Account.cs @@ -209,28 +209,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (PriorityElement != null) yield return PriorityElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -396,30 +374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Party != null) yield return Party; - if (OnHoldElement != null) yield return OnHoldElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Party != null) yield return new ElementValue("party", Party); - if (OnHoldElement != null) yield return new ElementValue("onHold", OnHoldElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -753,46 +707,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (ServicePeriod != null) yield return ServicePeriod; - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Guarantor) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (ServicePeriod != null) yield return new ElementValue("servicePeriod", ServicePeriod); - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Guarantor) { if (elem != null) yield return new ElementValue("guarantor", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs index 333839e56..7035a65b6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ActivityDefinition.cs @@ -268,28 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,28 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1724,116 +1680,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (ProfileElement != null) yield return ProfileElement; - if (Code != null) yield return Code; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Timing != null) yield return Timing; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (Quantity != null) yield return Quantity; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in SpecimenRequirement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationRequirement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationResultRequirement) { if (elem != null) yield return elem; } - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (Code != null) yield return new ElementValue("code", Code); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in SpecimenRequirement) { if (elem != null) yield return new ElementValue("specimenRequirement", elem); } - foreach (var elem in ObservationRequirement) { if (elem != null) yield return new ElementValue("observationRequirement", elem); } - foreach (var elem in ObservationResultRequirement) { if (elem != null) yield return new ElementValue("observationResultRequirement", elem); } - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Address.cs b/src/Hl7.Fhir.R4B/Model/Generated/Address.cs index 86dc6d2ba..88f5824f9 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Address.cs @@ -494,44 +494,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in LineElement) { if (elem != null) yield return elem; } - if (CityElement != null) yield return CityElement; - if (DistrictElement != null) yield return DistrictElement; - if (StateElement != null) yield return StateElement; - if (PostalCodeElement != null) yield return PostalCodeElement; - if (CountryElement != null) yield return CountryElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LineElement) { if (elem != null) yield return new ElementValue("line", elem); } - if (CityElement != null) yield return new ElementValue("city", CityElement); - if (DistrictElement != null) yield return new ElementValue("district", DistrictElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (PostalCodeElement != null) yield return new ElementValue("postalCode", PostalCodeElement); - if (CountryElement != null) yield return new ElementValue("country", CountryElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs index c01a573c6..1186ceac5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AdministrableProductDefinition.cs @@ -164,30 +164,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - if (Status != null) yield return Status; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - if (Status != null) yield return new ElementValue("status", Status); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -406,38 +382,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (FirstDose != null) yield return FirstDose; - if (MaxSingleDose != null) yield return MaxSingleDose; - if (MaxDosePerDay != null) yield return MaxDosePerDay; - if (MaxDosePerTreatmentPeriod != null) yield return MaxDosePerTreatmentPeriod; - if (MaxTreatmentPeriod != null) yield return MaxTreatmentPeriod; - foreach (var elem in TargetSpecies) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (FirstDose != null) yield return new ElementValue("firstDose", FirstDose); - if (MaxSingleDose != null) yield return new ElementValue("maxSingleDose", MaxSingleDose); - if (MaxDosePerDay != null) yield return new ElementValue("maxDosePerDay", MaxDosePerDay); - if (MaxDosePerTreatmentPeriod != null) yield return new ElementValue("maxDosePerTreatmentPeriod", MaxDosePerTreatmentPeriod); - if (MaxTreatmentPeriod != null) yield return new ElementValue("maxTreatmentPeriod", MaxTreatmentPeriod); - foreach (var elem in TargetSpecies) { if (elem != null) yield return new ElementValue("targetSpecies", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -601,28 +545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return new ElementValue("withdrawalPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -785,30 +707,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Tissue != null) yield return Tissue; - if (Value != null) yield return Value; - if (SupportingInformationElement != null) yield return SupportingInformationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Tissue != null) yield return new ElementValue("tissue", Tissue); - if (Value != null) yield return new ElementValue("value", Value); - if (SupportingInformationElement != null) yield return new ElementValue("supportingInformation", SupportingInformationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1094,44 +992,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in FormOf) { if (elem != null) yield return elem; } - if (AdministrableDoseForm != null) yield return AdministrableDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - foreach (var elem in ProducedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Device != null) yield return Device; - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in FormOf) { if (elem != null) yield return new ElementValue("formOf", elem); } - if (AdministrableDoseForm != null) yield return new ElementValue("administrableDoseForm", AdministrableDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - foreach (var elem in ProducedFrom) { if (elem != null) yield return new ElementValue("producedFrom", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return new ElementValue("routeOfAdministration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs index 80fe32d25..ae4c75e48 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AdverseEvent.cs @@ -246,28 +246,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Instance != null) yield return Instance; - foreach (var elem in Causality) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Instance != null) yield return new ElementValue("instance", Instance); - foreach (var elem in Causality) { if (elem != null) yield return new ElementValue("causality", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -447,32 +425,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Assessment != null) yield return Assessment; - if (ProductRelatednessElement != null) yield return ProductRelatednessElement; - if (Author != null) yield return Author; - if (Method != null) yield return Method; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Assessment != null) yield return new ElementValue("assessment", Assessment); - if (ProductRelatednessElement != null) yield return new ElementValue("productRelatedness", ProductRelatednessElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Method != null) yield return new ElementValue("method", Method); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -995,64 +947,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (ActualityElement != null) yield return ActualityElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (DetectedElement != null) yield return DetectedElement; - if (RecordedDateElement != null) yield return RecordedDateElement; - foreach (var elem in ResultingCondition) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Seriousness != null) yield return Seriousness; - if (Severity != null) yield return Severity; - if (Outcome != null) yield return Outcome; - if (Recorder != null) yield return Recorder; - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in SuspectEntity) { if (elem != null) yield return elem; } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return elem; } - foreach (var elem in Study) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (ActualityElement != null) yield return new ElementValue("actuality", ActualityElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (DetectedElement != null) yield return new ElementValue("detected", DetectedElement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - foreach (var elem in ResultingCondition) { if (elem != null) yield return new ElementValue("resultingCondition", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Seriousness != null) yield return new ElementValue("seriousness", Seriousness); - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in SuspectEntity) { if (elem != null) yield return new ElementValue("suspectEntity", elem); } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return new ElementValue("subjectMedicalHistory", elem); } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return new ElementValue("referenceDocument", elem); } - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs index 5d38d945e..dc2019bb7 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AllergyIntolerance.cs @@ -462,38 +462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - foreach (var elem in Manifestation) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OnsetElement != null) yield return OnsetElement; - if (SeverityElement != null) yield return SeverityElement; - if (ExposureRoute != null) yield return ExposureRoute; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - foreach (var elem in Manifestation) { if (elem != null) yield return new ElementValue("manifestation", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OnsetElement != null) yield return new ElementValue("onset", OnsetElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (ExposureRoute != null) yield return new ElementValue("exposureRoute", ExposureRoute); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -981,56 +949,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in CategoryElement) { if (elem != null) yield return elem; } - if (CriticalityElement != null) yield return CriticalityElement; - if (Code != null) yield return Code; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (RecordedDateElement != null) yield return RecordedDateElement; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - if (LastOccurrenceElement != null) yield return LastOccurrenceElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in CategoryElement) { if (elem != null) yield return new ElementValue("category", elem); } - if (CriticalityElement != null) yield return new ElementValue("criticality", CriticalityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - if (LastOccurrenceElement != null) yield return new ElementValue("lastOccurrence", LastOccurrenceElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs index 191586107..a3dc0299e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Annotation.cs @@ -187,30 +187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Author != null) yield return Author; - if (TimeElement != null) yield return TimeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Author != null) yield return new ElementValue("author", Author); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs index 2e60fbde4..722f411f5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Appointment.cs @@ -334,34 +334,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (RequiredElement != null) yield return RequiredElement; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1007,68 +979,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancelationReason != null) yield return CancelationReason; - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (MinutesDurationElement != null) yield return MinutesDurationElement; - foreach (var elem in Slot) { if (elem != null) yield return elem; } - if (CreatedElement != null) yield return CreatedElement; - if (CommentElement != null) yield return CommentElement; - if (PatientInstructionElement != null) yield return PatientInstructionElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancelationReason != null) yield return new ElementValue("cancelationReason", CancelationReason); - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (MinutesDurationElement != null) yield return new ElementValue("minutesDuration", MinutesDurationElement); - foreach (var elem in Slot) { if (elem != null) yield return new ElementValue("slot", elem); } - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return new ElementValue("requestedPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs index 896971c09..43484b510 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AppointmentResponse.cs @@ -308,40 +308,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Appointment != null) yield return Appointment; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - foreach (var elem in ParticipantType) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (ParticipantStatusElement != null) yield return ParticipantStatusElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Appointment != null) yield return new ElementValue("appointment", Appointment); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - foreach (var elem in ParticipantType) { if (elem != null) yield return new ElementValue("participantType", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (ParticipantStatusElement != null) yield return new ElementValue("participantStatus", ParticipantStatusElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs index f94224c01..f0072d17f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/AuditEvent.cs @@ -491,46 +491,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (AltIdElement != null) yield return AltIdElement; - if (NameElement != null) yield return NameElement; - if (RequestorElement != null) yield return RequestorElement; - if (Location != null) yield return Location; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Media != null) yield return Media; - if (Network != null) yield return Network; - foreach (var elem in PurposeOfUse) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (AltIdElement != null) yield return new ElementValue("altId", AltIdElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (RequestorElement != null) yield return new ElementValue("requestor", RequestorElement); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Media != null) yield return new ElementValue("media", Media); - if (Network != null) yield return new ElementValue("network", Network); - foreach (var elem in PurposeOfUse) { if (elem != null) yield return new ElementValue("purposeOfUse", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -760,28 +720,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AddressElement != null) yield return AddressElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -950,30 +888,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SiteElement != null) yield return SiteElement; - if (Observer != null) yield return Observer; - foreach (var elem in Type) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SiteElement != null) yield return new ElementValue("site", SiteElement); - if (Observer != null) yield return new ElementValue("observer", Observer); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1284,42 +1198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (What != null) yield return What; - if (Type != null) yield return Type; - if (Role != null) yield return Role; - if (Lifecycle != null) yield return Lifecycle; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (QueryElement != null) yield return QueryElement; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (What != null) yield return new ElementValue("what", What); - if (Type != null) yield return new ElementValue("type", Type); - if (Role != null) yield return new ElementValue("role", Role); - if (Lifecycle != null) yield return new ElementValue("lifecycle", Lifecycle); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (QueryElement != null) yield return new ElementValue("query", QueryElement); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1519,28 +1397,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1883,46 +1739,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (ActionElement != null) yield return ActionElement; - if (Period != null) yield return Period; - if (RecordedElement != null) yield return RecordedElement; - if (OutcomeElement != null) yield return OutcomeElement; - if (OutcomeDescElement != null) yield return OutcomeDescElement; - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Entity) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (ActionElement != null) yield return new ElementValue("action", ActionElement); - if (Period != null) yield return new ElementValue("period", Period); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (OutcomeDescElement != null) yield return new ElementValue("outcomeDesc", OutcomeDescElement); - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return new ElementValue("purposeOfEvent", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs b/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs index 07e67dfe8..a11b5003f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Basic.cs @@ -205,34 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs index d7678b541..7f64f0330 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/BiologicallyDerivedProduct.cs @@ -257,30 +257,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Source != null) yield return Source; - if (Collected != null) yield return Collected; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Source != null) yield return new ElementValue("source", Source); - if (Collected != null) yield return new ElementValue("collected", Collected); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -471,32 +447,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Procedure != null) yield return Procedure; - if (Additive != null) yield return Additive; - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - if (Additive != null) yield return new ElementValue("additive", Additive); - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -659,28 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -894,32 +822,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (TemperatureElement != null) yield return TemperatureElement; - if (ScaleElement != null) yield return ScaleElement; - if (Duration != null) yield return Duration; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TemperatureElement != null) yield return new ElementValue("temperature", TemperatureElement); - if (ScaleElement != null) yield return new ElementValue("scale", ScaleElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1260,46 +1162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ProductCategoryElement != null) yield return ProductCategoryElement; - if (ProductCode != null) yield return ProductCode; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - if (Manipulation != null) yield return Manipulation; - foreach (var elem in Storage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ProductCategoryElement != null) yield return new ElementValue("productCategory", ProductCategoryElement); - if (ProductCode != null) yield return new ElementValue("productCode", ProductCode); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - if (Manipulation != null) yield return new ElementValue("manipulation", Manipulation); - foreach (var elem in Storage) { if (elem != null) yield return new ElementValue("storage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs index d561452ef..28b4eb02b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/BodyStructure.cs @@ -273,40 +273,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Morphology != null) yield return Morphology; - if (Location != null) yield return Location; - foreach (var elem in LocationQualifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Morphology != null) yield return new ElementValue("morphology", Morphology); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in LocationQualifier) { if (elem != null) yield return new ElementValue("locationQualifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs index dbb9b0370..7645a33a5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CarePlan.cs @@ -358,34 +358,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - foreach (var elem in Progress) { if (elem != null) yield return elem; } - if (Reference != null) yield return Reference; - if (Detail != null) yield return Detail; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return new ElementValue("outcomeCodeableConcept", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - foreach (var elem in Progress) { if (elem != null) yield return new ElementValue("progress", elem); } - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Detail != null) yield return new ElementValue("detail", Detail); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -910,58 +882,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Scheduled != null) yield return Scheduled; - if (Location != null) yield return Location; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (DailyAmount != null) yield return DailyAmount; - if (Quantity != null) yield return Quantity; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Scheduled != null) yield return new ElementValue("scheduled", Scheduled); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (DailyAmount != null) yield return new ElementValue("dailyAmount", DailyAmount); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1687,70 +1607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Activity) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Activity) { if (elem != null) yield return new ElementValue("activity", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs index 3fdf32d4e..02e6aa4dc 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CareTeam.cs @@ -224,32 +224,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Member != null) yield return Member; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Member != null) yield return new ElementValue("member", Member); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -610,50 +584,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Period != null) yield return Period; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return new ElementValue("managingOrganization", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs b/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs index 3761f34ac..72b13d13b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CatalogEntry.cs @@ -192,28 +192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationtypeElement != null) yield return RelationtypeElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationtypeElement != null) yield return new ElementValue("relationtype", RelationtypeElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -588,50 +566,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (OrderableElement != null) yield return OrderableElement; - if (ReferencedItem != null) yield return ReferencedItem; - foreach (var elem in AdditionalIdentifier) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (ValidToElement != null) yield return ValidToElement; - if (LastUpdatedElement != null) yield return LastUpdatedElement; - foreach (var elem in AdditionalCharacteristic) { if (elem != null) yield return elem; } - foreach (var elem in AdditionalClassification) { if (elem != null) yield return elem; } - foreach (var elem in RelatedEntry) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (OrderableElement != null) yield return new ElementValue("orderable", OrderableElement); - if (ReferencedItem != null) yield return new ElementValue("referencedItem", ReferencedItem); - foreach (var elem in AdditionalIdentifier) { if (elem != null) yield return new ElementValue("additionalIdentifier", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (ValidToElement != null) yield return new ElementValue("validTo", ValidToElement); - if (LastUpdatedElement != null) yield return new ElementValue("lastUpdated", LastUpdatedElement); - foreach (var elem in AdditionalCharacteristic) { if (elem != null) yield return new ElementValue("additionalCharacteristic", elem); } - foreach (var elem in AdditionalClassification) { if (elem != null) yield return new ElementValue("additionalClassification", elem); } - foreach (var elem in RelatedEntry) { if (elem != null) yield return new ElementValue("relatedEntry", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs index c81a8b13e..7a11b6ce5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItem.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -875,76 +853,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (PerformingOrganization != null) yield return PerformingOrganization; - if (RequestingOrganization != null) yield return RequestingOrganization; - if (CostCenter != null) yield return CostCenter; - if (Quantity != null) yield return Quantity; - foreach (var elem in Bodysite) { if (elem != null) yield return elem; } - if (FactorOverrideElement != null) yield return FactorOverrideElement; - if (PriceOverride != null) yield return PriceOverride; - if (OverrideReasonElement != null) yield return OverrideReasonElement; - if (Enterer != null) yield return Enterer; - if (EnteredDateElement != null) yield return EnteredDateElement; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Service) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - foreach (var elem in Account) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return new ElementValue("definitionUri", elem); } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return new ElementValue("definitionCanonical", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (PerformingOrganization != null) yield return new ElementValue("performingOrganization", PerformingOrganization); - if (RequestingOrganization != null) yield return new ElementValue("requestingOrganization", RequestingOrganization); - if (CostCenter != null) yield return new ElementValue("costCenter", CostCenter); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Bodysite) { if (elem != null) yield return new ElementValue("bodysite", elem); } - if (FactorOverrideElement != null) yield return new ElementValue("factorOverride", FactorOverrideElement); - if (PriceOverride != null) yield return new ElementValue("priceOverride", PriceOverride); - if (OverrideReasonElement != null) yield return new ElementValue("overrideReason", OverrideReasonElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (EnteredDateElement != null) yield return new ElementValue("enteredDate", EnteredDateElement); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - if (Product != null) yield return new ElementValue("product", Product); - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs index 9c52a15af..6e19bf6bc 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ChargeItemDefinition.cs @@ -217,30 +217,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -378,28 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -599,32 +553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (FactorElement != null) yield return FactorElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1359,70 +1287,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return elem; } - foreach (var elem in PartOfElement) { if (elem != null) yield return elem; } - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - if (Code != null) yield return Code; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PropertyGroup) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return new ElementValue("derivedFromUri", elem); } - foreach (var elem in PartOfElement) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PropertyGroup) { if (elem != null) yield return new ElementValue("propertyGroup", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs index 4b9df268c..068d6e66f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Citation.cs @@ -163,28 +163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Style != null) yield return Style; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Style != null) yield return new ElementValue("style", Style); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -313,28 +291,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -497,30 +453,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Activity != null) yield return Activity; - if (ActualElement != null) yield return ActualElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Activity != null) yield return new ElementValue("activity", Activity); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -677,30 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationshipType != null) yield return RelationshipType; - foreach (var elem in TargetClassifier) { if (elem != null) yield return elem; } - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationshipType != null) yield return new ElementValue("relationshipType", RelationshipType); - foreach (var elem in TargetClassifier) { if (elem != null) yield return new ElementValue("targetClassifier", elem); } - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1071,54 +979,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return elem; } - if (DateAccessedElement != null) yield return DateAccessedElement; - if (Version != null) yield return Version; - foreach (var elem in CurrentState) { if (elem != null) yield return elem; } - foreach (var elem in StatusDate) { if (elem != null) yield return elem; } - foreach (var elem in Title) { if (elem != null) yield return elem; } - foreach (var elem in Abstract) { if (elem != null) yield return elem; } - if (Part != null) yield return Part; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in PublicationForm) { if (elem != null) yield return elem; } - foreach (var elem in WebLocation) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (Contributorship != null) yield return Contributorship; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return new ElementValue("relatedIdentifier", elem); } - if (DateAccessedElement != null) yield return new ElementValue("dateAccessed", DateAccessedElement); - if (Version != null) yield return new ElementValue("version", Version); - foreach (var elem in CurrentState) { if (elem != null) yield return new ElementValue("currentState", elem); } - foreach (var elem in StatusDate) { if (elem != null) yield return new ElementValue("statusDate", elem); } - foreach (var elem in Title) { if (elem != null) yield return new ElementValue("title", elem); } - foreach (var elem in Abstract) { if (elem != null) yield return new ElementValue("abstract", elem); } - if (Part != null) yield return new ElementValue("part", Part); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in PublicationForm) { if (elem != null) yield return new ElementValue("publicationForm", elem); } - foreach (var elem in WebLocation) { if (elem != null) yield return new ElementValue("webLocation", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (Contributorship != null) yield return new ElementValue("contributorship", Contributorship); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1356,28 +1216,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (BaseCitation != null) yield return BaseCitation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (BaseCitation != null) yield return new ElementValue("baseCitation", BaseCitation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1540,30 +1378,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Activity != null) yield return Activity; - if (ActualElement != null) yield return ActualElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Activity != null) yield return new ElementValue("activity", Activity); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1734,30 +1548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Language != null) yield return Language; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Language != null) yield return new ElementValue("language", Language); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1961,32 +1751,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Language != null) yield return Language; - if (TextElement != null) yield return TextElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Language != null) yield return new ElementValue("language", Language); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2163,30 +1927,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - if (BaseCitation != null) yield return BaseCitation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (BaseCitation != null) yield return new ElementValue("baseCitation", BaseCitation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2343,30 +2083,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationshipType != null) yield return RelationshipType; - foreach (var elem in TargetClassifier) { if (elem != null) yield return elem; } - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationshipType != null) yield return new ElementValue("relationshipType", RelationshipType); - foreach (var elem in TargetClassifier) { if (elem != null) yield return new ElementValue("targetClassifier", elem); } - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2792,46 +2508,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PublishedIn != null) yield return PublishedIn; - if (PeriodicRelease != null) yield return PeriodicRelease; - if (ArticleDateElement != null) yield return ArticleDateElement; - if (LastRevisionDateElement != null) yield return LastRevisionDateElement; - foreach (var elem in Language) { if (elem != null) yield return elem; } - if (AccessionNumberElement != null) yield return AccessionNumberElement; - if (PageStringElement != null) yield return PageStringElement; - if (FirstPageElement != null) yield return FirstPageElement; - if (LastPageElement != null) yield return LastPageElement; - if (PageCountElement != null) yield return PageCountElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PublishedIn != null) yield return new ElementValue("publishedIn", PublishedIn); - if (PeriodicRelease != null) yield return new ElementValue("periodicRelease", PeriodicRelease); - if (ArticleDateElement != null) yield return new ElementValue("articleDate", ArticleDateElement); - if (LastRevisionDateElement != null) yield return new ElementValue("lastRevisionDate", LastRevisionDateElement); - foreach (var elem in Language) { if (elem != null) yield return new ElementValue("language", elem); } - if (AccessionNumberElement != null) yield return new ElementValue("accessionNumber", AccessionNumberElement); - if (PageStringElement != null) yield return new ElementValue("pageString", PageStringElement); - if (FirstPageElement != null) yield return new ElementValue("firstPage", FirstPageElement); - if (LastPageElement != null) yield return new ElementValue("lastPage", LastPageElement); - if (PageCountElement != null) yield return new ElementValue("pageCount", PageCountElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3108,34 +2784,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (Publisher != null) yield return Publisher; - if (PublisherLocationElement != null) yield return PublisherLocationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (PublisherLocationElement != null) yield return new ElementValue("publisherLocation", PublisherLocationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3351,32 +2999,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CitedMedium != null) yield return CitedMedium; - if (VolumeElement != null) yield return VolumeElement; - if (IssueElement != null) yield return IssueElement; - if (DateOfPublication != null) yield return DateOfPublication; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CitedMedium != null) yield return new ElementValue("citedMedium", CitedMedium); - if (VolumeElement != null) yield return new ElementValue("volume", VolumeElement); - if (IssueElement != null) yield return new ElementValue("issue", IssueElement); - if (DateOfPublication != null) yield return new ElementValue("dateOfPublication", DateOfPublication); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3688,36 +3310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (YearElement != null) yield return YearElement; - if (MonthElement != null) yield return MonthElement; - if (DayElement != null) yield return DayElement; - if (SeasonElement != null) yield return SeasonElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (YearElement != null) yield return new ElementValue("year", YearElement); - if (MonthElement != null) yield return new ElementValue("month", MonthElement); - if (DayElement != null) yield return new ElementValue("day", DayElement); - if (SeasonElement != null) yield return new ElementValue("season", SeasonElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3890,28 +3482,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4056,30 +3626,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (WhoClassified != null) yield return WhoClassified; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (WhoClassified != null) yield return new ElementValue("whoClassified", WhoClassified); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4302,34 +3848,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Person != null) yield return Person; - if (Organization != null) yield return Organization; - if (Publisher != null) yield return Publisher; - if (ClassifierCopyrightElement != null) yield return ClassifierCopyrightElement; - if (FreeToShareElement != null) yield return FreeToShareElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Person != null) yield return new ElementValue("person", Person); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (ClassifierCopyrightElement != null) yield return new ElementValue("classifierCopyright", ClassifierCopyrightElement); - if (FreeToShareElement != null) yield return new ElementValue("freeToShare", FreeToShareElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4515,30 +4033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CompleteElement != null) yield return CompleteElement; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - foreach (var elem in Summary) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CompleteElement != null) yield return new ElementValue("complete", CompleteElement); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - foreach (var elem in Summary) { if (elem != null) yield return new ElementValue("summary", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4915,48 +4409,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Name != null) yield return Name; - if (InitialsElement != null) yield return InitialsElement; - if (CollectiveNameElement != null) yield return CollectiveNameElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in AffiliationInfo) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in ContributionType) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - foreach (var elem in ContributionInstance) { if (elem != null) yield return elem; } - if (CorrespondingContactElement != null) yield return CorrespondingContactElement; - if (ListOrderElement != null) yield return ListOrderElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Name != null) yield return new ElementValue("name", Name); - if (InitialsElement != null) yield return new ElementValue("initials", InitialsElement); - if (CollectiveNameElement != null) yield return new ElementValue("collectiveName", CollectiveNameElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in AffiliationInfo) { if (elem != null) yield return new ElementValue("affiliationInfo", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in ContributionType) { if (elem != null) yield return new ElementValue("contributionType", elem); } - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in ContributionInstance) { if (elem != null) yield return new ElementValue("contributionInstance", elem); } - if (CorrespondingContactElement != null) yield return new ElementValue("correspondingContact", CorrespondingContactElement); - if (ListOrderElement != null) yield return new ElementValue("listOrder", ListOrderElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5208,30 +4660,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AffiliationElement != null) yield return AffiliationElement; - if (RoleElement != null) yield return RoleElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AffiliationElement != null) yield return new ElementValue("affiliation", AffiliationElement); - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5384,28 +4812,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5585,32 +4991,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Style != null) yield return Style; - if (Source != null) yield return Source; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Style != null) yield return new ElementValue("style", Style); - if (Source != null) yield return new ElementValue("source", Source); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6424,82 +5804,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in Summary) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in CurrentState) { if (elem != null) yield return elem; } - foreach (var elem in StatusDate) { if (elem != null) yield return elem; } - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - if (CitedArtifact != null) yield return CitedArtifact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in Summary) { if (elem != null) yield return new ElementValue("summary", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in CurrentState) { if (elem != null) yield return new ElementValue("currentState", elem); } - foreach (var elem in StatusDate) { if (elem != null) yield return new ElementValue("statusDate", elem); } - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - if (CitedArtifact != null) yield return new ElementValue("citedArtifact", CitedArtifact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs b/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs index 2edd96f98..cece820a2 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Claim.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -571,34 +525,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -841,36 +767,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1103,34 +999,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1375,34 +1243,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1713,38 +1553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Identifier != null) yield return Identifier; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1947,30 +1755,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2547,66 +2331,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3077,48 +2801,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3509,46 +3191,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4219,78 +3861,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - foreach (var elem in Item) { if (elem != null) yield return elem; } - if (Total != null) yield return Total; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - if (Total != null) yield return new ElementValue("total", Total); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs index d3816dab9..6e821d2a1 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClaimResponse.cs @@ -218,32 +218,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,32 +413,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -679,32 +627,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -902,30 +824,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1431,60 +1329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return new ElementValue("subdetailSequence", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1880,42 +1724,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2231,40 +2039,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2439,28 +2213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2675,36 +2427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2951,32 +2673,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3229,34 +2925,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3495,32 +3163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4194,78 +3836,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (PreAuthPeriod != null) yield return PreAuthPeriod; - if (PayeeType != null) yield return PayeeType; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FundsReserve != null) yield return FundsReserve; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (PreAuthPeriod != null) yield return new ElementValue("preAuthPeriod", PreAuthPeriod); - if (PayeeType != null) yield return new ElementValue("payeeType", PayeeType); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return new ElementValue("communicationRequest", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs index 451fd780f..42f9e23df 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalImpression.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -366,30 +344,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemCodeableConcept != null) yield return ItemCodeableConcept; - if (ItemReference != null) yield return ItemReference; - if (BasisElement != null) yield return BasisElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemCodeableConcept != null) yield return new ElementValue("itemCodeableConcept", ItemCodeableConcept); - if (ItemReference != null) yield return new ElementValue("itemReference", ItemReference); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -921,64 +875,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (DateElement != null) yield return DateElement; - if (Assessor != null) yield return Assessor; - if (Previous != null) yield return Previous; - foreach (var elem in Problem) { if (elem != null) yield return elem; } - foreach (var elem in Investigation) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolElement) { if (elem != null) yield return elem; } - if (SummaryElement != null) yield return SummaryElement; - foreach (var elem in Finding) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisReference) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Assessor != null) yield return new ElementValue("assessor", Assessor); - if (Previous != null) yield return new ElementValue("previous", Previous); - foreach (var elem in Problem) { if (elem != null) yield return new ElementValue("problem", elem); } - foreach (var elem in Investigation) { if (elem != null) yield return new ElementValue("investigation", elem); } - foreach (var elem in ProtocolElement) { if (elem != null) yield return new ElementValue("protocol", elem); } - if (SummaryElement != null) yield return new ElementValue("summary", SummaryElement); - foreach (var elem in Finding) { if (elem != null) yield return new ElementValue("finding", elem); } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return new ElementValue("prognosisCodeableConcept", elem); } - foreach (var elem in PrognosisReference) { if (elem != null) yield return new ElementValue("prognosisReference", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs index 9b464aac0..d50ad5088 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ClinicalUseDefinition.cs @@ -236,34 +236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DiseaseSymptomProcedure != null) yield return DiseaseSymptomProcedure; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - foreach (var elem in Indication) { if (elem != null) yield return elem; } - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DiseaseSymptomProcedure != null) yield return new ElementValue("diseaseSymptomProcedure", DiseaseSymptomProcedure); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -417,28 +389,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationshipType != null) yield return RelationshipType; - if (Therapy != null) yield return Therapy; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationshipType != null) yield return new ElementValue("relationshipType", RelationshipType); - if (Therapy != null) yield return new ElementValue("therapy", Therapy); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -655,38 +605,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DiseaseSymptomProcedure != null) yield return DiseaseSymptomProcedure; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - if (IntendedEffect != null) yield return IntendedEffect; - if (Duration != null) yield return Duration; - foreach (var elem in UndesirableEffect) { if (elem != null) yield return elem; } - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DiseaseSymptomProcedure != null) yield return new ElementValue("diseaseSymptomProcedure", DiseaseSymptomProcedure); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - if (IntendedEffect != null) yield return new ElementValue("intendedEffect", IntendedEffect); - if (Duration != null) yield return new ElementValue("duration", Duration); - foreach (var elem in UndesirableEffect) { if (elem != null) yield return new ElementValue("undesirableEffect", elem); } - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -901,34 +819,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Interactant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Effect != null) yield return Effect; - if (Incidence != null) yield return Incidence; - foreach (var elem in Management) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Interactant) { if (elem != null) yield return new ElementValue("interactant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Effect != null) yield return new ElementValue("effect", Effect); - if (Incidence != null) yield return new ElementValue("incidence", Incidence); - foreach (var elem in Management) { if (elem != null) yield return new ElementValue("management", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1064,26 +954,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1224,30 +1094,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SymptomConditionEffect != null) yield return SymptomConditionEffect; - if (Classification != null) yield return Classification; - if (FrequencyOfOccurrence != null) yield return FrequencyOfOccurrence; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SymptomConditionEffect != null) yield return new ElementValue("symptomConditionEffect", SymptomConditionEffect); - if (Classification != null) yield return new ElementValue("classification", Classification); - if (FrequencyOfOccurrence != null) yield return new ElementValue("frequencyOfOccurrence", FrequencyOfOccurrence); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1402,28 +1248,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1713,46 +1537,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (Contraindication != null) yield return Contraindication; - if (Indication != null) yield return Indication; - if (Interaction != null) yield return Interaction; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (UndesirableEffect != null) yield return UndesirableEffect; - if (Warning != null) yield return Warning; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (Contraindication != null) yield return new ElementValue("contraindication", Contraindication); - if (Indication != null) yield return new ElementValue("indication", Indication); - if (Interaction != null) yield return new ElementValue("interaction", Interaction); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (UndesirableEffect != null) yield return new ElementValue("undesirableEffect", UndesirableEffect); - if (Warning != null) yield return new ElementValue("warning", Warning); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs b/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs index a66f64ce8..e9b76d665 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Communication.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -747,70 +727,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - foreach (var elem in InResponseTo) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Topic != null) yield return Topic; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (SentElement != null) yield return SentElement; - if (ReceivedElement != null) yield return ReceivedElement; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Payload) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in InResponseTo) { if (elem != null) yield return new ElementValue("inResponseTo", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Topic != null) yield return new ElementValue("topic", Topic); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (SentElement != null) yield return new ElementValue("sent", SentElement); - if (ReceivedElement != null) yield return new ElementValue("received", ReceivedElement); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs index 4a8440eb4..7f2291a88 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CommunicationRequest.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -693,68 +673,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - foreach (var elem in Payload) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs index b243d295d..2c058e78f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CompartmentDefinition.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in ParamElement) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in ParamElement) { if (elem != null) yield return new ElementValue("param", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -766,52 +742,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - if (SearchElement != null) yield return SearchElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SearchElement != null) yield return new ElementValue("search", SearchElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs b/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs index d8ff0f99f..a6c699363 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Composition.cs @@ -285,30 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (TimeElement != null) yield return TimeElement; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -470,28 +446,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -642,30 +596,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -979,44 +909,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Focus != null) yield return Focus; - if (Text != null) yield return Text; - if (ModeElement != null) yield return ModeElement; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Focus != null) yield return new ElementValue("focus", Focus); - if (Text != null) yield return new ElementValue("text", Text); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1491,54 +1383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (ConfidentialityElement != null) yield return ConfidentialityElement; - foreach (var elem in Attester) { if (elem != null) yield return elem; } - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ConfidentialityElement != null) yield return new ElementValue("confidentiality", ConfidentialityElement); - foreach (var elem in Attester) { if (elem != null) yield return new ElementValue("attester", elem); } - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs index 24178a734..0ed2fa791 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ConceptMap.cs @@ -311,36 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceVersionElement != null) yield return SourceVersionElement; - if (TargetElement != null) yield return TargetElement; - if (TargetVersionElement != null) yield return TargetVersionElement; - foreach (var elem in Element) { if (elem != null) yield return elem; } - if (Unmapped != null) yield return Unmapped; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceVersionElement != null) yield return new ElementValue("sourceVersion", SourceVersionElement); - if (TargetElement != null) yield return new ElementValue("target", TargetElement); - if (TargetVersionElement != null) yield return new ElementValue("targetVersion", TargetVersionElement); - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - if (Unmapped != null) yield return new ElementValue("unmapped", Unmapped); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -551,30 +521,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -852,36 +798,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (EquivalenceElement != null) yield return EquivalenceElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Product) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (EquivalenceElement != null) yield return new ElementValue("equivalence", EquivalenceElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Product) { if (elem != null) yield return new ElementValue("product", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1144,32 +1060,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PropertyElement != null) yield return PropertyElement; - if (SystemElement != null) yield return SystemElement; - if (ValueElement != null) yield return ValueElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PropertyElement != null) yield return new ElementValue("property", PropertyElement); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1420,32 +1310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2040,60 +1904,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (Source != null) yield return Source; - if (Target != null) yield return Target; - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Target != null) yield return new ElementValue("target", Target); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs b/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs index 660086d65..9b91a7854 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Condition.cs @@ -259,30 +259,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Summary != null) yield return Summary; - foreach (var elem in Assessment) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Summary != null) yield return new ElementValue("summary", Summary); - foreach (var elem in Assessment) { if (elem != null) yield return new ElementValue("assessment", elem); } - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -424,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -843,58 +797,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Severity != null) yield return Severity; - if (Code != null) yield return Code; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (Abatement != null) yield return Abatement; - if (RecordedDateElement != null) yield return RecordedDateElement; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - foreach (var elem in Stage) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (Abatement != null) yield return new ElementValue("abatement", Abatement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - foreach (var elem in Stage) { if (elem != null) yield return new ElementValue("stage", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs b/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs index 0ec202755..a9460168e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Consent.cs @@ -285,28 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AuthorityElement != null) yield return AuthorityElement; - if (UriElement != null) yield return UriElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AuthorityElement != null) yield return new ElementValue("authority", AuthorityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -490,30 +468,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VerifiedElement != null) yield return VerifiedElement; - if (VerifiedWith != null) yield return VerifiedWith; - if (VerificationDateElement != null) yield return VerificationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VerifiedElement != null) yield return new ElementValue("verified", VerifiedElement); - if (VerifiedWith != null) yield return new ElementValue("verifiedWith", VerifiedWith); - if (VerificationDateElement != null) yield return new ElementValue("verificationDate", VerificationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -826,46 +780,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Period != null) yield return Period; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - foreach (var elem in Class) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (DataPeriod != null) yield return DataPeriod; - foreach (var elem in Data) { if (elem != null) yield return elem; } - foreach (var elem in Provision) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (DataPeriod != null) yield return new ElementValue("dataPeriod", DataPeriod); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - foreach (var elem in Provision) { if (elem != null) yield return new ElementValue("provision", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1062,28 +976,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1236,28 +1128,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1606,50 +1476,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Scope != null) yield return Scope; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (DateTimeElement != null) yield return DateTimeElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Organization) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Policy) { if (elem != null) yield return elem; } - if (PolicyRule != null) yield return PolicyRule; - foreach (var elem in Verification) { if (elem != null) yield return elem; } - if (Provision != null) yield return Provision; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Scope != null) yield return new ElementValue("scope", Scope); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Organization) { if (elem != null) yield return new ElementValue("organization", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Policy) { if (elem != null) yield return new ElementValue("policy", elem); } - if (PolicyRule != null) yield return new ElementValue("policyRule", PolicyRule); - foreach (var elem in Verification) { if (elem != null) yield return new ElementValue("verification", elem); } - if (Provision != null) yield return new ElementValue("provision", Provision); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs b/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs index b3cabd6c6..ee5386d2e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Contract.cs @@ -472,36 +472,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (Publisher != null) yield return Publisher; - if (PublicationDateElement != null) yield return PublicationDateElement; - if (PublicationStatusElement != null) yield return PublicationStatusElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - if (PublicationStatusElement != null) yield return new ElementValue("publicationStatus", PublicationStatusElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -864,48 +834,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (TextElement != null) yield return TextElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (Offer != null) yield return Offer; - foreach (var elem in Asset) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (Offer != null) yield return new ElementValue("offer", Offer); - foreach (var elem in Asset) { if (elem != null) yield return new ElementValue("asset", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1161,32 +1089,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return elem; } - if (Classification != null) yield return Classification; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Control) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return new ElementValue("number", elem); } - if (Classification != null) yield return new ElementValue("classification", Classification); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Control) { if (elem != null) yield return new ElementValue("control", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1522,44 +1424,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Party) { if (elem != null) yield return elem; } - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (Decision != null) yield return Decision; - foreach (var elem in DecisionMode) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Party) { if (elem != null) yield return new ElementValue("party", elem); } - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (Decision != null) yield return new ElementValue("decision", Decision); - foreach (var elem in DecisionMode) { if (elem != null) yield return new ElementValue("decisionMode", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1746,28 +1610,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1881,26 +1723,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2317,54 +2139,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Scope != null) yield return Scope; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in TypeReference) { if (elem != null) yield return elem; } - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (Relationship != null) yield return Relationship; - foreach (var elem in Context) { if (elem != null) yield return elem; } - if (ConditionElement != null) yield return ConditionElement; - foreach (var elem in PeriodType) { if (elem != null) yield return elem; } - foreach (var elem in Period) { if (elem != null) yield return elem; } - foreach (var elem in UsePeriod) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in ValuedItem) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Scope != null) yield return new ElementValue("scope", Scope); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in TypeReference) { if (elem != null) yield return new ElementValue("typeReference", elem); } - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - foreach (var elem in Context) { if (elem != null) yield return new ElementValue("context", elem); } - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - foreach (var elem in PeriodType) { if (elem != null) yield return new ElementValue("periodType", elem); } - foreach (var elem in Period) { if (elem != null) yield return new ElementValue("period", elem); } - foreach (var elem in UsePeriod) { if (elem != null) yield return new ElementValue("usePeriod", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - foreach (var elem in ValuedItem) { if (elem != null) yield return new ElementValue("valuedItem", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2619,30 +2393,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3102,52 +2852,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Identifier != null) yield return Identifier; - if (EffectiveTimeElement != null) yield return EffectiveTimeElement; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (PointsElement != null) yield return PointsElement; - if (Net != null) yield return Net; - if (PaymentElement != null) yield return PaymentElement; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Responsible != null) yield return Responsible; - if (Recipient != null) yield return Recipient; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (EffectiveTimeElement != null) yield return new ElementValue("effectiveTime", EffectiveTimeElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (PointsElement != null) yield return new ElementValue("points", PointsElement); - if (Net != null) yield return new ElementValue("net", Net); - if (PaymentElement != null) yield return new ElementValue("payment", PaymentElement); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3842,66 +3546,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Type != null) yield return Type; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Intent != null) yield return Intent; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (Context != null) yield return Context; - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Requester) { if (elem != null) yield return elem; } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (PerformerRole != null) yield return PerformerRole; - if (Performer != null) yield return Performer; - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in ReasonElement) { if (elem != null) yield return elem; } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Intent != null) yield return new ElementValue("intent", Intent); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return new ElementValue("contextLinkId", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Requester) { if (elem != null) yield return new ElementValue("requester", elem); } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return new ElementValue("requesterLinkId", elem); } - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (PerformerRole != null) yield return new ElementValue("performerRole", PerformerRole); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return new ElementValue("performerLinkId", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in ReasonElement) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return new ElementValue("reasonLinkId", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4164,28 +3808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4338,30 +3960,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4485,26 +4083,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4614,26 +4192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4743,26 +4301,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5572,90 +5110,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (StatusElement != null) yield return StatusElement; - if (LegalState != null) yield return LegalState; - if (InstantiatesCanonical != null) yield return InstantiatesCanonical; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - if (ContentDerivative != null) yield return ContentDerivative; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (ExpirationType != null) yield return ExpirationType; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - foreach (var elem in Authority) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Author != null) yield return Author; - if (Scope != null) yield return Scope; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - if (ContentDefinition != null) yield return ContentDefinition; - foreach (var elem in Term) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - foreach (var elem in Signer) { if (elem != null) yield return elem; } - foreach (var elem in Friendly) { if (elem != null) yield return elem; } - foreach (var elem in Legal) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - if (LegallyBinding != null) yield return LegallyBinding; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (LegalState != null) yield return new ElementValue("legalState", LegalState); - if (InstantiatesCanonical != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonical); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - if (ContentDerivative != null) yield return new ElementValue("contentDerivative", ContentDerivative); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (ExpirationType != null) yield return new ElementValue("expirationType", ExpirationType); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - foreach (var elem in Authority) { if (elem != null) yield return new ElementValue("authority", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Author != null) yield return new ElementValue("author", Author); - if (Scope != null) yield return new ElementValue("scope", Scope); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - if (ContentDefinition != null) yield return new ElementValue("contentDefinition", ContentDefinition); - foreach (var elem in Term) { if (elem != null) yield return new ElementValue("term", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - foreach (var elem in Signer) { if (elem != null) yield return new ElementValue("signer", elem); } - foreach (var elem in Friendly) { if (elem != null) yield return new ElementValue("friendly", elem); } - foreach (var elem in Legal) { if (elem != null) yield return new ElementValue("legal", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - if (LegallyBinding != null) yield return new ElementValue("legallyBinding", LegallyBinding); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs index 3a3f50850..328ee0faf 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Contributor.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs index 20bc034d8..7cd448c75 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Coverage.cs @@ -203,30 +203,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -384,30 +360,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - foreach (var elem in Exception) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Exception) { if (elem != null) yield return new ElementValue("exception", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -545,28 +497,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1050,58 +980,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (PolicyHolder != null) yield return PolicyHolder; - if (Subscriber != null) yield return Subscriber; - if (SubscriberIdElement != null) yield return SubscriberIdElement; - if (Beneficiary != null) yield return Beneficiary; - if (DependentElement != null) yield return DependentElement; - if (Relationship != null) yield return Relationship; - if (Period != null) yield return Period; - foreach (var elem in Payor) { if (elem != null) yield return elem; } - foreach (var elem in Class) { if (elem != null) yield return elem; } - if (OrderElement != null) yield return OrderElement; - if (NetworkElement != null) yield return NetworkElement; - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return elem; } - if (SubrogationElement != null) yield return SubrogationElement; - foreach (var elem in Contract) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PolicyHolder != null) yield return new ElementValue("policyHolder", PolicyHolder); - if (Subscriber != null) yield return new ElementValue("subscriber", Subscriber); - if (SubscriberIdElement != null) yield return new ElementValue("subscriberId", SubscriberIdElement); - if (Beneficiary != null) yield return new ElementValue("beneficiary", Beneficiary); - if (DependentElement != null) yield return new ElementValue("dependent", DependentElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Payor) { if (elem != null) yield return new ElementValue("payor", elem); } - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - if (OrderElement != null) yield return new ElementValue("order", OrderElement); - if (NetworkElement != null) yield return new ElementValue("network", NetworkElement); - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return new ElementValue("costToBeneficiary", elem); } - if (SubrogationElement != null) yield return new ElementValue("subrogation", SubrogationElement); - foreach (var elem in Contract) { if (elem != null) yield return new ElementValue("contract", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs index 0fe897f69..256120773 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityRequest.cs @@ -237,30 +237,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Information != null) yield return Information; - if (AppliesToAllElement != null) yield return AppliesToAllElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Information != null) yield return new ElementValue("information", Information); - if (AppliesToAllElement != null) yield return new ElementValue("appliesToAll", AppliesToAllElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -452,30 +428,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -770,44 +722,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (Facility != null) yield return Facility; - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return new ElementValue("supportingInfoSequence", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -980,26 +894,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Diagnosis != null) yield return Diagnosis; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1379,52 +1273,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Priority != null) yield return Priority; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Provider != null) yield return Provider; - if (Insurer != null) yield return Insurer; - if (Facility != null) yield return Facility; - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Priority != null) yield return new ElementValue("priority", Priority); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs index afda7f4ba..c3b310547 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/CoverageEligibilityResponse.cs @@ -235,32 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (InforceElement != null) yield return InforceElement; - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (InforceElement != null) yield return new ElementValue("inforce", InforceElement); - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -697,52 +671,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - if (AuthorizationRequiredElement != null) yield return AuthorizationRequiredElement; - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return elem; } - if (AuthorizationUrlElement != null) yield return AuthorizationUrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - if (AuthorizationRequiredElement != null) yield return new ElementValue("authorizationRequired", AuthorizationRequiredElement); - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return new ElementValue("authorizationSupporting", elem); } - if (AuthorizationUrlElement != null) yield return new ElementValue("authorizationUrl", AuthorizationUrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -977,30 +905,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1122,26 +1026,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1592,54 +1476,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (Insurer != null) yield return Insurer; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (Form != null) yield return Form; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs index cbc1c8519..383d0978a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DataRequirement.cs @@ -255,32 +255,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (ValueSetElement != null) yield return ValueSetElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -477,30 +451,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -677,28 +627,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (DirectionElement != null) yield return DirectionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -991,40 +919,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in MustSupportElement) { if (elem != null) yield return elem; } - foreach (var elem in CodeFilter) { if (elem != null) yield return elem; } - foreach (var elem in DateFilter) { if (elem != null) yield return elem; } - if (LimitElement != null) yield return LimitElement; - foreach (var elem in Sort) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in MustSupportElement) { if (elem != null) yield return new ElementValue("mustSupport", elem); } - foreach (var elem in CodeFilter) { if (elem != null) yield return new ElementValue("codeFilter", elem); } - foreach (var elem in DateFilter) { if (elem != null) yield return new ElementValue("dateFilter", elem); } - if (LimitElement != null) yield return new ElementValue("limit", LimitElement); - foreach (var elem in Sort) { if (elem != null) yield return new ElementValue("sort", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs index 478a1aa64..9fbd5c647 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DetectedIssue.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -367,30 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (DateElement != null) yield return DateElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -762,48 +716,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Code != null) yield return Code; - if (SeverityElement != null) yield return SeverityElement; - if (Patient != null) yield return Patient; - if (Identified != null) yield return Identified; - if (Author != null) yield return Author; - foreach (var elem in Implicated) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - if (DetailElement != null) yield return DetailElement; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Mitigation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Code != null) yield return new ElementValue("code", Code); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Identified != null) yield return new ElementValue("identified", Identified); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Implicated) { if (elem != null) yield return new ElementValue("implicated", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Mitigation) { if (elem != null) yield return new ElementValue("mitigation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Device.cs b/src/Hl7.Fhir.R4B/Model/Generated/Device.cs index 4d315d140..98bab0ab4 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Device.cs @@ -401,36 +401,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - if (CarrierAIDCElement != null) yield return CarrierAIDCElement; - if (CarrierHRFElement != null) yield return CarrierHRFElement; - if (EntryTypeElement != null) yield return EntryTypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - if (CarrierAIDCElement != null) yield return new ElementValue("carrierAIDC", CarrierAIDCElement); - if (CarrierHRFElement != null) yield return new ElementValue("carrierHRF", CarrierHRFElement); - if (EntryTypeElement != null) yield return new ElementValue("entryType", EntryTypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -627,28 +597,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -793,28 +741,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemType != null) yield return SystemType; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemType != null) yield return new ElementValue("systemType", SystemType); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -975,30 +901,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Component != null) yield return Component; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Component != null) yield return new ElementValue("component", Component); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1150,30 +1052,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueCode) { if (elem != null) yield return new ElementValue("valueCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1883,76 +1761,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - foreach (var elem in UdiCarrier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (DistinctIdentifierElement != null) yield return DistinctIdentifierElement; - if (ManufacturerElement != null) yield return ManufacturerElement; - if (ManufactureDateElement != null) yield return ManufactureDateElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (LotNumberElement != null) yield return LotNumberElement; - if (SerialNumberElement != null) yield return SerialNumberElement; - foreach (var elem in DeviceName) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - if (PartNumberElement != null) yield return PartNumberElement; - if (Type != null) yield return Type; - foreach (var elem in Specialization) { if (elem != null) yield return elem; } - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - if (Parent != null) yield return Parent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UdiCarrier) { if (elem != null) yield return new ElementValue("udiCarrier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (DistinctIdentifierElement != null) yield return new ElementValue("distinctIdentifier", DistinctIdentifierElement); - if (ManufacturerElement != null) yield return new ElementValue("manufacturer", ManufacturerElement); - if (ManufactureDateElement != null) yield return new ElementValue("manufactureDate", ManufactureDateElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (SerialNumberElement != null) yield return new ElementValue("serialNumber", SerialNumberElement); - foreach (var elem in DeviceName) { if (elem != null) yield return new ElementValue("deviceName", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - if (PartNumberElement != null) yield return new ElementValue("partNumber", PartNumberElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Specialization) { if (elem != null) yield return new ElementValue("specialization", elem); } - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - if (Parent != null) yield return new ElementValue("parent", Parent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs index afe11d958..ca2facc67 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceDefinition.cs @@ -220,30 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -416,28 +392,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -600,28 +554,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemTypeElement != null) yield return SystemTypeElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemTypeElement != null) yield return new ElementValue("systemType", SystemTypeElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -749,28 +681,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Description) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Description) { if (elem != null) yield return new ElementValue("description", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -915,30 +825,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueCode) { if (elem != null) yield return new ElementValue("valueCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1124,30 +1010,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (AlternateElement != null) yield return AlternateElement; - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (AlternateElement != null) yield return new ElementValue("alternate", AlternateElement); - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1683,68 +1545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return elem; } - if (Manufacturer != null) yield return Manufacturer; - foreach (var elem in DeviceName) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - if (Type != null) yield return Type; - foreach (var elem in Specialization) { if (elem != null) yield return elem; } - foreach (var elem in VersionElement) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - if (PhysicalCharacteristics != null) yield return PhysicalCharacteristics; - foreach (var elem in LanguageCode) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - if (OnlineInformationElement != null) yield return OnlineInformationElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (ParentDevice != null) yield return ParentDevice; - foreach (var elem in Material) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return new ElementValue("udiDeviceIdentifier", elem); } - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - foreach (var elem in DeviceName) { if (elem != null) yield return new ElementValue("deviceName", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Specialization) { if (elem != null) yield return new ElementValue("specialization", elem); } - foreach (var elem in VersionElement) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - if (PhysicalCharacteristics != null) yield return new ElementValue("physicalCharacteristics", PhysicalCharacteristics); - foreach (var elem in LanguageCode) { if (elem != null) yield return new ElementValue("languageCode", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (OnlineInformationElement != null) yield return new ElementValue("onlineInformation", OnlineInformationElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ParentDevice != null) yield return new ElementValue("parentDevice", ParentDevice); - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs index a846269d0..a73292eac 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceMetric.cs @@ -412,30 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StateElement != null) yield return StateElement; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -755,44 +731,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Unit != null) yield return Unit; - if (Source != null) yield return Source; - if (Parent != null) yield return Parent; - if (OperationalStatusElement != null) yield return OperationalStatusElement; - if (ColorElement != null) yield return ColorElement; - if (CategoryElement != null) yield return CategoryElement; - if (MeasurementPeriod != null) yield return MeasurementPeriod; - foreach (var elem in Calibration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Source != null) yield return new ElementValue("source", Source); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (OperationalStatusElement != null) yield return new ElementValue("operationalStatus", OperationalStatusElement); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (MeasurementPeriod != null) yield return new ElementValue("measurementPeriod", MeasurementPeriod); - foreach (var elem in Calibration) { if (elem != null) yield return new ElementValue("calibration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs index d74810675..d13ff3ed8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceRequest.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -794,72 +772,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PriorRequest) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PriorRequest) { if (elem != null) yield return new ElementValue("priorRequest", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs index 5491d21ef..7bc58d250 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DeviceUseStatement.cs @@ -416,50 +416,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - if (RecordedOnElement != null) yield return RecordedOnElement; - if (Source != null) yield return Source; - if (Device != null) yield return Device; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - if (RecordedOnElement != null) yield return new ElementValue("recordedOn", RecordedOnElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs index 27704da1c..14bf8a2dc 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DiagnosticReport.cs @@ -238,28 +238,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -720,60 +698,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - foreach (var elem in ImagingStudy) { if (elem != null) yield return elem; } - foreach (var elem in Media) { if (elem != null) yield return elem; } - if (ConclusionElement != null) yield return ConclusionElement; - foreach (var elem in ConclusionCode) { if (elem != null) yield return elem; } - foreach (var elem in PresentedForm) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return new ElementValue("resultsInterpreter", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - foreach (var elem in ImagingStudy) { if (elem != null) yield return new ElementValue("imagingStudy", elem); } - foreach (var elem in Media) { if (elem != null) yield return new ElementValue("media", elem); } - if (ConclusionElement != null) yield return new ElementValue("conclusion", ConclusionElement); - foreach (var elem in ConclusionCode) { if (elem != null) yield return new ElementValue("conclusionCode", elem); } - foreach (var elem in PresentedForm) { if (elem != null) yield return new ElementValue("presentedForm", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs index 30fb6b374..c58457a7b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DocumentManifest.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Ref != null) yield return Ref; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Ref != null) yield return new ElementValue("ref", Ref); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -534,48 +512,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (SourceElement != null) yield return SourceElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Content) { if (elem != null) yield return elem; } - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs index 133e286cb..adbe1ed42 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/DocumentReference.cs @@ -172,28 +172,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -324,28 +302,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Attachment != null) yield return Attachment; - if (Format != null) yield return Format; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - if (Format != null) yield return new ElementValue("format", Format); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -567,38 +523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (FacilityType != null) yield return FacilityType; - if (PracticeSetting != null) yield return PracticeSetting; - if (SourcePatientInfo != null) yield return SourcePatientInfo; - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (FacilityType != null) yield return new ElementValue("facilityType", FacilityType); - if (PracticeSetting != null) yield return new ElementValue("practiceSetting", PracticeSetting); - if (SourcePatientInfo != null) yield return new ElementValue("sourcePatientInfo", SourcePatientInfo); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1066,56 +990,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DocStatusElement != null) yield return DocStatusElement; - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Authenticator != null) yield return Authenticator; - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DocStatusElement != null) yield return new ElementValue("docStatus", DocStatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Authenticator != null) yield return new ElementValue("authenticator", Authenticator); - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - if (Context != null) yield return new ElementValue("context", Context); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs index 19659193d..c8f24109c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Dosage.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -549,50 +525,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - if (Timing != null) yield return Timing; - if (AsNeeded != null) yield return AsNeeded; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - foreach (var elem in DoseAndRate) { if (elem != null) yield return elem; } - if (MaxDosePerPeriod != null) yield return MaxDosePerPeriod; - if (MaxDosePerAdministration != null) yield return MaxDosePerAdministration; - if (MaxDosePerLifetime != null) yield return MaxDosePerLifetime; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return new ElementValue("additionalInstruction", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - foreach (var elem in DoseAndRate) { if (elem != null) yield return new ElementValue("doseAndRate", elem); } - if (MaxDosePerPeriod != null) yield return new ElementValue("maxDosePerPeriod", MaxDosePerPeriod); - if (MaxDosePerAdministration != null) yield return new ElementValue("maxDosePerAdministration", MaxDosePerAdministration); - if (MaxDosePerLifetime != null) yield return new ElementValue("maxDosePerLifetime", MaxDosePerLifetime); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs index fe4f5d0e3..ed7079ced 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Encounter.cs @@ -269,28 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -422,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Class != null) yield return Class; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Class != null) yield return new ElementValue("class", Class); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -592,30 +548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Individual != null) yield return Individual; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Individual != null) yield return new ElementValue("individual", Individual); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -786,30 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Use != null) yield return Use; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Use != null) yield return new ElementValue("use", Use); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1071,42 +979,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreAdmissionIdentifier != null) yield return PreAdmissionIdentifier; - if (Origin != null) yield return Origin; - if (AdmitSource != null) yield return AdmitSource; - if (ReAdmission != null) yield return ReAdmission; - foreach (var elem in DietPreference) { if (elem != null) yield return elem; } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return elem; } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return elem; } - if (Destination != null) yield return Destination; - if (DischargeDisposition != null) yield return DischargeDisposition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreAdmissionIdentifier != null) yield return new ElementValue("preAdmissionIdentifier", PreAdmissionIdentifier); - if (Origin != null) yield return new ElementValue("origin", Origin); - if (AdmitSource != null) yield return new ElementValue("admitSource", AdmitSource); - if (ReAdmission != null) yield return new ElementValue("reAdmission", ReAdmission); - foreach (var elem in DietPreference) { if (elem != null) yield return new ElementValue("dietPreference", elem); } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return new ElementValue("specialCourtesy", elem); } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return new ElementValue("specialArrangement", elem); } - if (Destination != null) yield return new ElementValue("destination", Destination); - if (DischargeDisposition != null) yield return new ElementValue("dischargeDisposition", DischargeDisposition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1341,32 +1213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (StatusElement != null) yield return StatusElement; - if (PhysicalType != null) yield return PhysicalType; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (PhysicalType != null) yield return new ElementValue("physicalType", PhysicalType); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1887,70 +1733,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - if (Class != null) yield return Class; - foreach (var elem in ClassHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (ServiceType != null) yield return ServiceType; - if (Priority != null) yield return Priority; - if (Subject != null) yield return Subject; - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Appointment) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Length != null) yield return Length; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - if (Hospitalization != null) yield return Hospitalization; - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (ServiceProvider != null) yield return ServiceProvider; - if (PartOf != null) yield return PartOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - if (Class != null) yield return new ElementValue("class", Class); - foreach (var elem in ClassHistory) { if (elem != null) yield return new ElementValue("classHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (ServiceType != null) yield return new ElementValue("serviceType", ServiceType); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return new ElementValue("episodeOfCare", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Appointment) { if (elem != null) yield return new ElementValue("appointment", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Length != null) yield return new ElementValue("length", Length); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - if (Hospitalization != null) yield return new ElementValue("hospitalization", Hospitalization); - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (ServiceProvider != null) yield return new ElementValue("serviceProvider", ServiceProvider); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs index 56a68b3c6..5419d3921 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Endpoint.cs @@ -427,46 +427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ConnectionType != null) yield return ConnectionType; - if (NameElement != null) yield return NameElement; - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in PayloadType) { if (elem != null) yield return elem; } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return elem; } - if (AddressElement != null) yield return AddressElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ConnectionType != null) yield return new ElementValue("connectionType", ConnectionType); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in PayloadType) { if (elem != null) yield return new ElementValue("payloadType", elem); } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return new ElementValue("payloadMimeType", elem); } - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs index 096564db6..897e55474 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentRequest.cs @@ -259,38 +259,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Candidate != null) yield return Candidate; - if (Coverage != null) yield return Coverage; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Candidate != null) yield return new ElementValue("candidate", Candidate); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs index c68f7575c..0554d5633 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EnrollmentResponse.cs @@ -311,40 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (RequestProvider != null) yield return RequestProvider; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs index cc6262eb5..186d303d8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EpisodeOfCare.cs @@ -220,28 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -405,30 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Role != null) yield return Role; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Role != null) yield return new ElementValue("role", Role); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -752,48 +706,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (Period != null) yield return Period; - foreach (var elem in ReferralRequest) { if (elem != null) yield return elem; } - if (CareManager != null) yield return CareManager; - foreach (var elem in Team) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in ReferralRequest) { if (elem != null) yield return new ElementValue("referralRequest", elem); } - if (CareManager != null) yield return new ElementValue("careManager", CareManager); - foreach (var elem in Team) { if (elem != null) yield return new ElementValue("team", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs index 4f5ebe800..899815ca1 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EventDefinition.cs @@ -838,80 +838,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs index cb529d644..8222103e9 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Evidence.cs @@ -233,36 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (VariableRole != null) yield return VariableRole; - if (Observed != null) yield return Observed; - if (Intended != null) yield return Intended; - if (DirectnessMatch != null) yield return DirectnessMatch; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (VariableRole != null) yield return new ElementValue("variableRole", VariableRole); - if (Observed != null) yield return new ElementValue("observed", Observed); - if (Intended != null) yield return new ElementValue("intended", Intended); - if (DirectnessMatch != null) yield return new ElementValue("directnessMatch", DirectnessMatch); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -602,44 +572,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (StatisticType != null) yield return StatisticType; - if (Category != null) yield return Category; - if (Quantity != null) yield return Quantity; - if (NumberOfEventsElement != null) yield return NumberOfEventsElement; - if (NumberAffectedElement != null) yield return NumberAffectedElement; - if (SampleSize != null) yield return SampleSize; - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - foreach (var elem in ModelCharacteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (StatisticType != null) yield return new ElementValue("statisticType", StatisticType); - if (Category != null) yield return new ElementValue("category", Category); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (NumberOfEventsElement != null) yield return new ElementValue("numberOfEvents", NumberOfEventsElement); - if (NumberAffectedElement != null) yield return new ElementValue("numberAffected", NumberAffectedElement); - if (SampleSize != null) yield return new ElementValue("sampleSize", SampleSize); - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - foreach (var elem in ModelCharacteristic) { if (elem != null) yield return new ElementValue("modelCharacteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -942,34 +874,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (NumberOfStudiesElement != null) yield return NumberOfStudiesElement; - if (NumberOfParticipantsElement != null) yield return NumberOfParticipantsElement; - if (KnownDataCountElement != null) yield return KnownDataCountElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (NumberOfStudiesElement != null) yield return new ElementValue("numberOfStudies", NumberOfStudiesElement); - if (NumberOfParticipantsElement != null) yield return new ElementValue("numberOfParticipants", NumberOfParticipantsElement); - if (KnownDataCountElement != null) yield return new ElementValue("knownDataCount", KnownDataCountElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1238,38 +1142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (LevelElement != null) yield return LevelElement; - if (Range != null) yield return Range; - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (LevelElement != null) yield return new ElementValue("level", LevelElement); - if (Range != null) yield return new ElementValue("range", Range); - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1469,32 +1341,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - foreach (var elem in Variable) { if (elem != null) yield return elem; } - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1708,34 +1554,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VariableDefinition != null) yield return VariableDefinition; - if (HandlingElement != null) yield return HandlingElement; - foreach (var elem in ValueCategory) { if (elem != null) yield return elem; } - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VariableDefinition != null) yield return new ElementValue("variableDefinition", VariableDefinition); - if (HandlingElement != null) yield return new ElementValue("handling", HandlingElement); - foreach (var elem in ValueCategory) { if (elem != null) yield return new ElementValue("valueCategory", elem); } - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueRange) { if (elem != null) yield return new ElementValue("valueRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1989,36 +1807,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Rating != null) yield return Rating; - if (RaterElement != null) yield return RaterElement; - foreach (var elem in Subcomponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Rating != null) yield return new ElementValue("rating", Rating); - if (RaterElement != null) yield return new ElementValue("rater", RaterElement); - foreach (var elem in Subcomponent) { if (elem != null) yield return new ElementValue("subcomponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2729,74 +2517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (TitleElement != null) yield return TitleElement; - if (CiteAs != null) yield return CiteAs; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (AssertionElement != null) yield return AssertionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in VariableDefinition) { if (elem != null) yield return elem; } - if (SynthesisType != null) yield return SynthesisType; - if (StudyType != null) yield return StudyType; - foreach (var elem in Statistic) { if (elem != null) yield return elem; } - foreach (var elem in Certainty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (CiteAs != null) yield return new ElementValue("citeAs", CiteAs); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AssertionElement != null) yield return new ElementValue("assertion", AssertionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in VariableDefinition) { if (elem != null) yield return new ElementValue("variableDefinition", elem); } - if (SynthesisType != null) yield return new ElementValue("synthesisType", SynthesisType); - if (StudyType != null) yield return new ElementValue("studyType", StudyType); - foreach (var elem in Statistic) { if (elem != null) yield return new ElementValue("statistic", elem); } - foreach (var elem in Certainty) { if (elem != null) yield return new ElementValue("certainty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs index b25999df8..37296927b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceReport.cs @@ -207,28 +207,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -410,32 +388,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -604,28 +556,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -967,48 +897,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Focus != null) yield return Focus; - if (FocusReference != null) yield return FocusReference; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Text != null) yield return Text; - if (ModeElement != null) yield return ModeElement; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in EntryClassifier) { if (elem != null) yield return elem; } - foreach (var elem in EntryReference) { if (elem != null) yield return elem; } - foreach (var elem in EntryQuantity) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (FocusReference != null) yield return new ElementValue("focusReference", FocusReference); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Text != null) yield return new ElementValue("text", Text); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in EntryClassifier) { if (elem != null) yield return new ElementValue("entryClassifier", elem); } - foreach (var elem in EntryReference) { if (elem != null) yield return new ElementValue("entryReference", elem); } - foreach (var elem in EntryQuantity) { if (elem != null) yield return new ElementValue("entryQuantity", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1523,60 +1411,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return elem; } - if (CiteAs != null) yield return CiteAs; - if (Type != null) yield return Type; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return new ElementValue("relatedIdentifier", elem); } - if (CiteAs != null) yield return new ElementValue("citeAs", CiteAs); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs index 5de4d7ff8..02f640cbe 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/EvidenceVariable.cs @@ -313,38 +313,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Definition != null) yield return Definition; - if (Method != null) yield return Method; - if (Device != null) yield return Device; - if (ExcludeElement != null) yield return ExcludeElement; - if (TimeFromStart != null) yield return TimeFromStart; - if (GroupMeasureElement != null) yield return GroupMeasureElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Method != null) yield return new ElementValue("method", Method); - if (Device != null) yield return new ElementValue("device", Device); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (TimeFromStart != null) yield return new ElementValue("timeFromStart", TimeFromStart); - if (GroupMeasureElement != null) yield return new ElementValue("groupMeasure", GroupMeasureElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -559,32 +527,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Quantity != null) yield return Quantity; - if (Range != null) yield return Range; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Range != null) yield return new ElementValue("range", Range); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -747,28 +689,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1487,72 +1407,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (DateElement != null) yield return DateElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (ActualElement != null) yield return ActualElement; - if (CharacteristicCombinationElement != null) yield return CharacteristicCombinationElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - if (HandlingElement != null) yield return HandlingElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (CharacteristicCombinationElement != null) yield return new ElementValue("characteristicCombination", CharacteristicCombinationElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - if (HandlingElement != null) yield return new ElementValue("handling", HandlingElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs index fe02d9343..edb2347bf 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ExampleScenario.cs @@ -270,32 +270,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActorIdElement != null) yield return ActorIdElement; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActorIdElement != null) yield return new ElementValue("actorId", ActorIdElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -577,36 +551,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceIdElement != null) yield return ResourceIdElement; - if (ResourceTypeElement != null) yield return ResourceTypeElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in ContainedInstance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceIdElement != null) yield return new ElementValue("resourceId", ResourceIdElement); - if (ResourceTypeElement != null) yield return new ElementValue("resourceType", ResourceTypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in ContainedInstance) { if (elem != null) yield return new ElementValue("containedInstance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -798,28 +742,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VersionIdElement != null) yield return VersionIdElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VersionIdElement != null) yield return new ElementValue("versionId", VersionIdElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -985,28 +907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceIdElement != null) yield return ResourceIdElement; - if (VersionIdElement != null) yield return VersionIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceIdElement != null) yield return new ElementValue("resourceId", ResourceIdElement); - if (VersionIdElement != null) yield return new ElementValue("versionId", VersionIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1254,34 +1154,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PreConditionsElement != null) yield return PreConditionsElement; - if (PostConditionsElement != null) yield return PostConditionsElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PreConditionsElement != null) yield return new ElementValue("preConditions", PreConditionsElement); - if (PostConditionsElement != null) yield return new ElementValue("postConditions", PostConditionsElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1480,32 +1352,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Process) { if (elem != null) yield return elem; } - if (PauseElement != null) yield return PauseElement; - if (Operation != null) yield return Operation; - foreach (var elem in Alternative) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Process) { if (elem != null) yield return new ElementValue("process", elem); } - if (PauseElement != null) yield return new ElementValue("pause", PauseElement); - if (Operation != null) yield return new ElementValue("operation", Operation); - foreach (var elem in Alternative) { if (elem != null) yield return new ElementValue("alternative", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1918,44 +1764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (InitiatorElement != null) yield return InitiatorElement; - if (ReceiverElement != null) yield return ReceiverElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (InitiatorActiveElement != null) yield return InitiatorActiveElement; - if (ReceiverActiveElement != null) yield return ReceiverActiveElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (InitiatorElement != null) yield return new ElementValue("initiator", InitiatorElement); - if (ReceiverElement != null) yield return new ElementValue("receiver", ReceiverElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (InitiatorActiveElement != null) yield return new ElementValue("initiatorActive", InitiatorActiveElement); - if (ReceiverActiveElement != null) yield return new ElementValue("receiverActive", ReceiverActiveElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2194,30 +2002,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2771,58 +2555,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (PurposeElement != null) yield return PurposeElement; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Process) { if (elem != null) yield return elem; } - foreach (var elem in WorkflowElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Process) { if (elem != null) yield return new ElementValue("process", elem); } - foreach (var elem in WorkflowElement) { if (elem != null) yield return new ElementValue("workflow", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs index bcda9730d..980bae049 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ExplanationOfBenefit.cs @@ -200,30 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -363,28 +339,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -603,34 +557,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -873,36 +799,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1135,34 +1031,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1407,34 +1275,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1642,30 +1482,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1839,30 +1655,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2491,70 +2283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2883,32 +2611,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3312,52 +3014,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3814,50 +3470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4433,60 +4045,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return new ElementValue("subDetailSequence", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4882,42 +4440,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5233,40 +4755,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5441,28 +4929,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5675,36 +5141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5950,32 +5386,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6271,40 +5681,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Financial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Financial) { if (elem != null) yield return new ElementValue("financial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6497,30 +5873,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7479,110 +6831,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserveRequested != null) yield return FundsReserveRequested; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - if (Claim != null) yield return Claim; - if (ClaimResponse != null) yield return ClaimResponse; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - if (PrecedenceElement != null) yield return PrecedenceElement; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in BenefitBalance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserveRequested != null) yield return new ElementValue("fundsReserveRequested", FundsReserveRequested); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - if (Claim != null) yield return new ElementValue("claim", Claim); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return new ElementValue("preAuthRefPeriod", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - if (PrecedenceElement != null) yield return new ElementValue("precedence", PrecedenceElement); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in BenefitBalance) { if (elem != null) yield return new ElementValue("benefitBalance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs b/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs index 737115e35..8b86393a8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Expression.cs @@ -270,34 +270,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (NameElement != null) yield return NameElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (ReferenceElement != null) yield return ReferenceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs index 7ff1e0c28..713176181 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/FamilyMemberHistory.cs @@ -252,34 +252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Outcome != null) yield return Outcome; - if (ContributedToDeathElement != null) yield return ContributedToDeathElement; - if (Onset != null) yield return Onset; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (ContributedToDeathElement != null) yield return new ElementValue("contributedToDeath", ContributedToDeathElement); - if (Onset != null) yield return new ElementValue("onset", Onset); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -805,60 +777,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DataAbsentReason != null) yield return DataAbsentReason; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (NameElement != null) yield return NameElement; - if (Relationship != null) yield return Relationship; - if (Sex != null) yield return Sex; - if (Born != null) yield return Born; - if (Age != null) yield return Age; - if (EstimatedAgeElement != null) yield return EstimatedAgeElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Sex != null) yield return new ElementValue("sex", Sex); - if (Born != null) yield return new ElementValue("born", Born); - if (Age != null) yield return new ElementValue("age", Age); - if (EstimatedAgeElement != null) yield return new ElementValue("estimatedAge", EstimatedAgeElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs b/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs index 1b397e51f..eafa8bcac 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Flag.cs @@ -289,40 +289,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - if (Encounter != null) yield return Encounter; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs b/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs index 081a6b13f..ead7c1a8e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Goal.cs @@ -234,30 +234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -685,56 +661,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (LifecycleStatusElement != null) yield return LifecycleStatusElement; - if (AchievementStatus != null) yield return AchievementStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - if (Description != null) yield return Description; - if (Subject != null) yield return Subject; - if (Start != null) yield return Start; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (StatusDateElement != null) yield return StatusDateElement; - if (StatusReasonElement != null) yield return StatusReasonElement; - if (ExpressedBy != null) yield return ExpressedBy; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeCode) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (LifecycleStatusElement != null) yield return new ElementValue("lifecycleStatus", LifecycleStatusElement); - if (AchievementStatus != null) yield return new ElementValue("achievementStatus", AchievementStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Description != null) yield return new ElementValue("description", Description); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (StatusReasonElement != null) yield return new ElementValue("statusReason", StatusReasonElement); - if (ExpressedBy != null) yield return new ElementValue("expressedBy", ExpressedBy); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in OutcomeCode) { if (elem != null) yield return new ElementValue("outcomeCode", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs index 64257419e..df30976ee 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/GraphDefinition.cs @@ -354,36 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SliceNameElement != null) yield return SliceNameElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -644,34 +614,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ParamsElement != null) yield return ParamsElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Compartment) { if (elem != null) yield return elem; } - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Compartment) { if (elem != null) yield return new ElementValue("compartment", elem); } - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -965,34 +907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (CodeElement != null) yield return CodeElement; - if (RuleElement != null) yield return RuleElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (RuleElement != null) yield return new ElementValue("rule", RuleElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1544,54 +1458,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (StartElement != null) yield return StartElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Group.cs b/src/Hl7.Fhir.R4B/Model/Generated/Group.cs index a0f0f7a70..a1ee744fa 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Group.cs @@ -251,32 +251,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -456,30 +430,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Period != null) yield return Period; - if (InactiveElement != null) yield return InactiveElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Period != null) yield return new ElementValue("period", Period); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -829,44 +779,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (TypeElement != null) yield return TypeElement; - if (ActualElement != null) yield return ActualElement; - if (Code != null) yield return Code; - if (NameElement != null) yield return NameElement; - if (QuantityElement != null) yield return QuantityElement; - if (ManagingEntity != null) yield return ManagingEntity; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Member) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Code != null) yield return new ElementValue("code", Code); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - if (ManagingEntity != null) yield return new ElementValue("managingEntity", ManagingEntity); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Member) { if (elem != null) yield return new ElementValue("member", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs index a6ef0dfc5..7533d3eb5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/GuidanceResponse.cs @@ -448,54 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequestIdentifier != null) yield return RequestIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Module != null) yield return Module; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (OccurrenceDateTimeElement != null) yield return OccurrenceDateTimeElement; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return elem; } - if (OutputParameters != null) yield return OutputParameters; - if (Result != null) yield return Result; - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequestIdentifier != null) yield return new ElementValue("requestIdentifier", RequestIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Module != null) yield return new ElementValue("module", Module); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (OccurrenceDateTimeElement != null) yield return new ElementValue("occurrenceDateTime", OccurrenceDateTimeElement); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return new ElementValue("evaluationMessage", elem); } - if (OutputParameters != null) yield return new ElementValue("outputParameters", OutputParameters); - if (Result != null) yield return new ElementValue("result", Result); - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs index 8176103a8..92f5478ae 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/HealthcareService.cs @@ -162,28 +162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -420,32 +398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -607,28 +559,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1235,72 +1165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (ProvidedBy != null) yield return ProvidedBy; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - if (ExtraDetailsElement != null) yield return ExtraDetailsElement; - if (Photo != null) yield return Photo; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return elem; } - foreach (var elem in Eligibility) { if (elem != null) yield return elem; } - foreach (var elem in Program) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in ReferralMethod) { if (elem != null) yield return elem; } - if (AppointmentRequiredElement != null) yield return AppointmentRequiredElement; - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (ProvidedBy != null) yield return new ElementValue("providedBy", ProvidedBy); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (ExtraDetailsElement != null) yield return new ElementValue("extraDetails", ExtraDetailsElement); - if (Photo != null) yield return new ElementValue("photo", Photo); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return new ElementValue("serviceProvisionCode", elem); } - foreach (var elem in Eligibility) { if (elem != null) yield return new ElementValue("eligibility", elem); } - foreach (var elem in Program) { if (elem != null) yield return new ElementValue("program", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in ReferralMethod) { if (elem != null) yield return new ElementValue("referralMethod", elem); } - if (AppointmentRequiredElement != null) yield return new ElementValue("appointmentRequired", AppointmentRequiredElement); - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs index cddf2282c..ce6de1358 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/HumanName.cs @@ -376,38 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TextElement != null) yield return TextElement; - if (FamilyElement != null) yield return FamilyElement; - foreach (var elem in GivenElement) { if (elem != null) yield return elem; } - foreach (var elem in PrefixElement) { if (elem != null) yield return elem; } - foreach (var elem in SuffixElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (FamilyElement != null) yield return new ElementValue("family", FamilyElement); - foreach (var elem in GivenElement) { if (elem != null) yield return new ElementValue("given", elem); } - foreach (var elem in PrefixElement) { if (elem != null) yield return new ElementValue("prefix", elem); } - foreach (var elem in SuffixElement) { if (elem != null) yield return new ElementValue("suffix", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs index 7d9fe1f13..fe03e2db0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImagingStudy.cs @@ -449,48 +449,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (Modality != null) yield return Modality; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Laterality != null) yield return Laterality; - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - if (StartedElement != null) yield return StartedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Laterality != null) yield return new ElementValue("laterality", Laterality); - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -694,28 +652,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -933,32 +869,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (SopClass != null) yield return SopClass; - if (NumberElement != null) yield return NumberElement; - if (TitleElement != null) yield return TitleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (SopClass != null) yield return new ElementValue("sopClass", SopClass); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1500,64 +1410,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Modality) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (StartedElement != null) yield return StartedElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Referrer != null) yield return Referrer; - foreach (var elem in Interpreter) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (NumberOfSeriesElement != null) yield return NumberOfSeriesElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - if (ProcedureReference != null) yield return ProcedureReference; - foreach (var elem in ProcedureCode) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Series) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Modality) { if (elem != null) yield return new ElementValue("modality", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Referrer != null) yield return new ElementValue("referrer", Referrer); - foreach (var elem in Interpreter) { if (elem != null) yield return new ElementValue("interpreter", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (NumberOfSeriesElement != null) yield return new ElementValue("numberOfSeries", NumberOfSeriesElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - if (ProcedureReference != null) yield return new ElementValue("procedureReference", ProcedureReference); - foreach (var elem in ProcedureCode) { if (elem != null) yield return new ElementValue("procedureCode", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Series) { if (elem != null) yield return new ElementValue("series", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs index 0da0abb60..f4ba6977b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Immunization.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -432,32 +410,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DocumentTypeElement != null) yield return DocumentTypeElement; - if (ReferenceElement != null) yield return ReferenceElement; - if (PublicationDateElement != null) yield return PublicationDateElement; - if (PresentationDateElement != null) yield return PresentationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DocumentTypeElement != null) yield return new ElementValue("documentType", DocumentTypeElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - if (PresentationDateElement != null) yield return new ElementValue("presentationDate", PresentationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -655,30 +607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Detail != null) yield return Detail; - if (ReportedElement != null) yield return ReportedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (ReportedElement != null) yield return new ElementValue("reported", ReportedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -889,34 +817,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SeriesElement != null) yield return SeriesElement; - if (Authority != null) yield return Authority; - foreach (var elem in TargetDisease) { if (elem != null) yield return elem; } - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in TargetDisease) { if (elem != null) yield return new ElementValue("targetDisease", elem); } - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1613,80 +1513,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (VaccineCode != null) yield return VaccineCode; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (RecordedElement != null) yield return RecordedElement; - if (PrimarySourceElement != null) yield return PrimarySourceElement; - if (ReportOrigin != null) yield return ReportOrigin; - if (Location != null) yield return Location; - if (Manufacturer != null) yield return Manufacturer; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (DoseQuantity != null) yield return DoseQuantity; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (IsSubpotentElement != null) yield return IsSubpotentElement; - foreach (var elem in SubpotentReason) { if (elem != null) yield return elem; } - foreach (var elem in Education) { if (elem != null) yield return elem; } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return elem; } - if (FundingSource != null) yield return FundingSource; - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (VaccineCode != null) yield return new ElementValue("vaccineCode", VaccineCode); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (PrimarySourceElement != null) yield return new ElementValue("primarySource", PrimarySourceElement); - if (ReportOrigin != null) yield return new ElementValue("reportOrigin", ReportOrigin); - if (Location != null) yield return new ElementValue("location", Location); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (DoseQuantity != null) yield return new ElementValue("doseQuantity", DoseQuantity); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (IsSubpotentElement != null) yield return new ElementValue("isSubpotent", IsSubpotentElement); - foreach (var elem in SubpotentReason) { if (elem != null) yield return new ElementValue("subpotentReason", elem); } - foreach (var elem in Education) { if (elem != null) yield return new ElementValue("education", elem); } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return new ElementValue("programEligibility", elem); } - if (FundingSource != null) yield return new ElementValue("fundingSource", FundingSource); - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return new ElementValue("protocolApplied", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs index c5fcb3314..07ac424cd 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationEvaluation.cs @@ -424,50 +424,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - if (TargetDisease != null) yield return TargetDisease; - if (ImmunizationEvent != null) yield return ImmunizationEvent; - if (DoseStatus != null) yield return DoseStatus; - foreach (var elem in DoseStatusReason) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - if (ImmunizationEvent != null) yield return new ElementValue("immunizationEvent", ImmunizationEvent); - if (DoseStatus != null) yield return new ElementValue("doseStatus", DoseStatus); - foreach (var elem in DoseStatusReason) { if (elem != null) yield return new ElementValue("doseStatusReason", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs index b5b1113e5..6898c8eb6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImmunizationRecommendation.cs @@ -359,48 +359,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return elem; } - if (TargetDisease != null) yield return TargetDisease; - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return elem; } - if (ForecastStatus != null) yield return ForecastStatus; - foreach (var elem in ForecastReason) { if (elem != null) yield return elem; } - foreach (var elem in DateCriterion) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumber != null) yield return DoseNumber; - if (SeriesDoses != null) yield return SeriesDoses; - foreach (var elem in SupportingImmunization) { if (elem != null) yield return elem; } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return new ElementValue("vaccineCode", elem); } - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return new ElementValue("contraindicatedVaccineCode", elem); } - if (ForecastStatus != null) yield return new ElementValue("forecastStatus", ForecastStatus); - foreach (var elem in ForecastReason) { if (elem != null) yield return new ElementValue("forecastReason", elem); } - foreach (var elem in DateCriterion) { if (elem != null) yield return new ElementValue("dateCriterion", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumber != null) yield return new ElementValue("doseNumber", DoseNumber); - if (SeriesDoses != null) yield return new ElementValue("seriesDoses", SeriesDoses); - foreach (var elem in SupportingImmunization) { if (elem != null) yield return new ElementValue("supportingImmunization", elem); } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return new ElementValue("supportingPatientInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -620,28 +578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -830,34 +766,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - foreach (var elem in Recommendation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in Recommendation) { if (elem != null) yield return new ElementValue("recommendation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs index 9bf91381f..b94bd358a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ImplementationGuide.cs @@ -2407,30 +2407,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2607,28 +2583,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2810,34 +2764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return elem; } - foreach (var elem in Resource) { if (elem != null) yield return elem; } - if (Page != null) yield return Page; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Template) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return new ElementValue("grouping", elem); } - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - if (Page != null) yield return new ElementValue("page", Page); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Template) { if (elem != null) yield return new ElementValue("template", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3025,28 +2951,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3319,36 +3223,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Example != null) yield return Example; - if (GroupingIdElement != null) yield return GroupingIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Example != null) yield return new ElementValue("example", Example); - if (GroupingIdElement != null) yield return new ElementValue("groupingId", GroupingIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3583,32 +3457,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Name != null) yield return Name; - if (TitleElement != null) yield return TitleElement; - if (GenerationElement != null) yield return GenerationElement; - foreach (var elem in Page) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Name != null) yield return new ElementValue("name", Name); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (GenerationElement != null) yield return new ElementValue("generation", GenerationElement); - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3788,28 +3636,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4007,30 +3833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (SourceElement != null) yield return SourceElement; - if (ScopeElement != null) yield return ScopeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (ScopeElement != null) yield return new ElementValue("scope", ScopeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4272,34 +4074,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RenderingElement != null) yield return RenderingElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Page) { if (elem != null) yield return elem; } - foreach (var elem in ImageElement) { if (elem != null) yield return elem; } - foreach (var elem in OtherElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RenderingElement != null) yield return new ElementValue("rendering", RenderingElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - foreach (var elem in ImageElement) { if (elem != null) yield return new ElementValue("image", elem); } - foreach (var elem in OtherElement) { if (elem != null) yield return new ElementValue("other", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4488,30 +4262,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - if (Example != null) yield return Example; - if (RelativePathElement != null) yield return RelativePathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Example != null) yield return new ElementValue("example", Example); - if (RelativePathElement != null) yield return new ElementValue("relativePath", RelativePathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4719,30 +4469,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in AnchorElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in AnchorElement) { if (elem != null) yield return new ElementValue("anchor", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5401,64 +5127,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (LicenseElement != null) yield return LicenseElement; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Global) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - if (Manifest != null) yield return Manifest; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (LicenseElement != null) yield return new ElementValue("license", LicenseElement); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Global) { if (elem != null) yield return new ElementValue("global", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Manifest != null) yield return new ElementValue("manifest", Manifest); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs b/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs index 6ddd396a6..6d2cebfc0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Ingredient.cs @@ -194,28 +194,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (Manufacturer != null) yield return Manufacturer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -344,28 +322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Strength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Strength) { if (elem != null) yield return new ElementValue("strength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -635,38 +591,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Presentation != null) yield return Presentation; - if (TextPresentationElement != null) yield return TextPresentationElement; - if (Concentration != null) yield return Concentration; - if (TextConcentrationElement != null) yield return TextConcentrationElement; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Presentation != null) yield return new ElementValue("presentation", Presentation); - if (TextPresentationElement != null) yield return new ElementValue("textPresentation", TextPresentationElement); - if (Concentration != null) yield return new ElementValue("concentration", Concentration); - if (TextConcentrationElement != null) yield return new ElementValue("textConcentration", TextConcentrationElement); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return new ElementValue("referenceStrength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -886,32 +810,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (Strength != null) yield return Strength; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (Strength != null) yield return new ElementValue("strength", Strength); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1184,40 +1082,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in For) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - foreach (var elem in Function) { if (elem != null) yield return elem; } - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in For) { if (elem != null) yield return new ElementValue("for", elem); } - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in Function) { if (elem != null) yield return new ElementValue("function", elem); } - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs index faddcb327..192b884e0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/InsurancePlan.cs @@ -206,32 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -395,30 +369,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -590,30 +540,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RequirementElement != null) yield return RequirementElement; - foreach (var elem in Limit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - foreach (var elem in Limit) { if (elem != null) yield return new ElementValue("limit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -749,28 +675,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -972,36 +876,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in GeneralCost) { if (elem != null) yield return elem; } - foreach (var elem in SpecificCost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in GeneralCost) { if (elem != null) yield return new ElementValue("generalCost", elem); } - foreach (var elem in SpecificCost) { if (elem != null) yield return new ElementValue("specificCost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1226,32 +1100,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (GroupSizeElement != null) yield return GroupSizeElement; - if (Cost != null) yield return Cost; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (GroupSizeElement != null) yield return new ElementValue("groupSize", GroupSizeElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1396,28 +1244,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1548,28 +1374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Cost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1733,32 +1537,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Applicability != null) yield return Applicability; - foreach (var elem in Qualifiers) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Applicability != null) yield return new ElementValue("applicability", Applicability); - foreach (var elem in Qualifiers) { if (elem != null) yield return new ElementValue("qualifiers", elem); } - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2155,52 +1933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (OwnedBy != null) yield return OwnedBy; - if (AdministeredBy != null) yield return AdministeredBy; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - foreach (var elem in Plan) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (OwnedBy != null) yield return new ElementValue("ownedBy", OwnedBy); - if (AdministeredBy != null) yield return new ElementValue("administeredBy", AdministeredBy); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - foreach (var elem in Plan) { if (elem != null) yield return new ElementValue("plan", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs index 99b00fbf0..46a36f3c5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Invoice.cs @@ -189,28 +189,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -378,30 +356,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (ChargeItem != null) yield return ChargeItem; - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (ChargeItem != null) yield return new ElementValue("chargeItem", ChargeItem); - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -608,32 +562,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (FactorElement != null) yield return FactorElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1074,56 +1002,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancelledReasonElement != null) yield return CancelledReasonElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (Recipient != null) yield return Recipient; - if (DateElement != null) yield return DateElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Issuer != null) yield return Issuer; - if (Account != null) yield return Account; - foreach (var elem in LineItem) { if (elem != null) yield return elem; } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return elem; } - if (TotalNet != null) yield return TotalNet; - if (TotalGross != null) yield return TotalGross; - if (PaymentTermsElement != null) yield return PaymentTermsElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancelledReasonElement != null) yield return new ElementValue("cancelledReason", CancelledReasonElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - if (Account != null) yield return new ElementValue("account", Account); - foreach (var elem in LineItem) { if (elem != null) yield return new ElementValue("lineItem", elem); } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return new ElementValue("totalPriceComponent", elem); } - if (TotalNet != null) yield return new ElementValue("totalNet", TotalNet); - if (TotalGross != null) yield return new ElementValue("totalGross", TotalGross); - if (PaymentTermsElement != null) yield return new ElementValue("paymentTerms", PaymentTermsElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Library.cs b/src/Hl7.Fhir.R4B/Model/Generated/Library.cs index 22a5a7244..54f37a1b0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Library.cs @@ -890,86 +890,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs index 6fc5e8682..fd7535792 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Linkage.cs @@ -198,28 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,30 +347,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActiveElement != null) yield return ActiveElement; - if (Author != null) yield return Author; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/List.cs b/src/Hl7.Fhir.R4B/Model/Generated/List.cs index 9761e9f13..2549626e4 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/List.cs @@ -244,32 +244,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Flag != null) yield return Flag; - if (DeletedElement != null) yield return DeletedElement; - if (DateElement != null) yield return DateElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Flag != null) yield return new ElementValue("flag", Flag); - if (DeletedElement != null) yield return new ElementValue("deleted", DeletedElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -664,50 +638,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ModeElement != null) yield return ModeElement; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (Source != null) yield return Source; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Source != null) yield return new ElementValue("source", Source); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Location.cs b/src/Hl7.Fhir.R4B/Model/Generated/Location.cs index fad620d11..d222342ca 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Location.cs @@ -268,30 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LongitudeElement != null) yield return LongitudeElement; - if (LatitudeElement != null) yield return LatitudeElement; - if (AltitudeElement != null) yield return AltitudeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LongitudeElement != null) yield return new ElementValue("longitude", LongitudeElement); - if (LatitudeElement != null) yield return new ElementValue("latitude", LatitudeElement); - if (AltitudeElement != null) yield return new ElementValue("altitude", AltitudeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,32 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (OpeningTimeElement != null) yield return OpeningTimeElement; - if (ClosingTimeElement != null) yield return ClosingTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (OpeningTimeElement != null) yield return new ElementValue("openingTime", OpeningTimeElement); - if (ClosingTimeElement != null) yield return new ElementValue("closingTime", ClosingTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1056,58 +1006,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (OperationalStatus != null) yield return OperationalStatus; - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (ModeElement != null) yield return ModeElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (PhysicalType != null) yield return PhysicalType; - if (Position != null) yield return Position; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (PartOf != null) yield return PartOf; - foreach (var elem in HoursOfOperation) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (OperationalStatus != null) yield return new ElementValue("operationalStatus", OperationalStatus); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (PhysicalType != null) yield return new ElementValue("physicalType", PhysicalType); - if (Position != null) yield return new ElementValue("position", Position); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in HoursOfOperation) { if (elem != null) yield return new ElementValue("hoursOfOperation", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs index 34ff43dda..1207cfc18 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ManufacturedItemDefinition.cs @@ -144,28 +144,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -391,38 +369,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ManufacturedDoseForm != null) yield return ManufacturedDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ManufacturedDoseForm != null) yield return new ElementValue("manufacturedDoseForm", ManufacturedDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs index dc0b2df6c..b24826d39 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MarketingStatus.cs @@ -194,34 +194,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Status != null) yield return Status; - if (DateRange != null) yield return DateRange; - if (RestoreDateElement != null) yield return RestoreDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Status != null) yield return new ElementValue("status", Status); - if (DateRange != null) yield return new ElementValue("dateRange", DateRange); - if (RestoreDateElement != null) yield return new ElementValue("restoreDate", RestoreDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs b/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs index f6ab17f7e..c11472d04 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Measure.cs @@ -199,32 +199,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Population) { if (elem != null) yield return elem; } - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -403,30 +377,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -614,32 +564,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -819,30 +743,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1033,32 +933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Usage) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2253,106 +2127,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (DisclaimerElement != null) yield return DisclaimerElement; - if (Scoring != null) yield return Scoring; - if (CompositeScoring != null) yield return CompositeScoring; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (RiskAdjustmentElement != null) yield return RiskAdjustmentElement; - if (RateAggregationElement != null) yield return RateAggregationElement; - if (RationaleElement != null) yield return RationaleElement; - if (ClinicalRecommendationStatementElement != null) yield return ClinicalRecommendationStatementElement; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in DefinitionElement) { if (elem != null) yield return elem; } - if (GuidanceElement != null) yield return GuidanceElement; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in SupplementalData) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (DisclaimerElement != null) yield return new ElementValue("disclaimer", DisclaimerElement); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (CompositeScoring != null) yield return new ElementValue("compositeScoring", CompositeScoring); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (RiskAdjustmentElement != null) yield return new ElementValue("riskAdjustment", RiskAdjustmentElement); - if (RateAggregationElement != null) yield return new ElementValue("rateAggregation", RateAggregationElement); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - if (ClinicalRecommendationStatementElement != null) yield return new ElementValue("clinicalRecommendationStatement", ClinicalRecommendationStatementElement); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in DefinitionElement) { if (elem != null) yield return new ElementValue("definition", elem); } - if (GuidanceElement != null) yield return new ElementValue("guidance", GuidanceElement); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in SupplementalData) { if (elem != null) yield return new ElementValue("supplementalData", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs index 9ce78b7a1..613fca4d5 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MeasureReport.cs @@ -243,32 +243,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -448,30 +422,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -610,28 +560,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Stratum) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Stratum) { if (elem != null) yield return new ElementValue("stratum", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -795,32 +723,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Component) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -967,28 +869,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1154,30 +1034,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1533,46 +1389,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (MeasureElement != null) yield return MeasureElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (Reporter != null) yield return Reporter; - if (Period != null) yield return Period; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (MeasureElement != null) yield return new ElementValue("measure", MeasureElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Reporter != null) yield return new ElementValue("reporter", Reporter); - if (Period != null) yield return new ElementValue("period", Period); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return new ElementValue("evaluatedResource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Media.cs b/src/Hl7.Fhir.R4B/Model/Generated/Media.cs index 3a9ad259c..191738205 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Media.cs @@ -603,68 +603,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Modality != null) yield return Modality; - if (View != null) yield return View; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Created != null) yield return Created; - if (IssuedElement != null) yield return IssuedElement; - if (Operator != null) yield return Operator; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (DeviceNameElement != null) yield return DeviceNameElement; - if (Device != null) yield return Device; - if (HeightElement != null) yield return HeightElement; - if (WidthElement != null) yield return WidthElement; - if (FramesElement != null) yield return FramesElement; - if (DurationElement != null) yield return DurationElement; - if (Content != null) yield return Content; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (View != null) yield return new ElementValue("view", View); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Created != null) yield return new ElementValue("created", Created); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Operator != null) yield return new ElementValue("operator", Operator); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (DeviceNameElement != null) yield return new ElementValue("deviceName", DeviceNameElement); - if (Device != null) yield return new ElementValue("device", Device); - if (HeightElement != null) yield return new ElementValue("height", HeightElement); - if (WidthElement != null) yield return new ElementValue("width", WidthElement); - if (FramesElement != null) yield return new ElementValue("frames", FramesElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (Content != null) yield return new ElementValue("content", Content); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs b/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs index cc532a404..4f634fa4b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Medication.cs @@ -213,30 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -408,28 +384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -666,40 +620,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (Manufacturer != null) yield return Manufacturer; - if (Form != null) yield return Form; - if (Amount != null) yield return Amount; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Batch != null) yield return Batch; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (Form != null) yield return new ElementValue("form", Form); - if (Amount != null) yield return new ElementValue("amount", Amount); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Batch != null) yield return new ElementValue("batch", Batch); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs index d3139b5ee..9fb26b548 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationAdministration.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,36 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TextElement != null) yield return TextElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -961,62 +909,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (Effective != null) yield return Effective; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (Request != null) yield return Request; - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Dosage != null) yield return Dosage; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (Effective != null) yield return new ElementValue("effective", Effective); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (Request != null) yield return new ElementValue("request", Request); - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Dosage != null) yield return new ElementValue("dosage", Dosage); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs index af2da79d6..88ba06f69 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationDispense.cs @@ -214,28 +214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -421,32 +399,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (WasSubstitutedElement != null) yield return WasSubstitutedElement; - if (Type != null) yield return Type; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (WasSubstitutedElement != null) yield return new ElementValue("wasSubstituted", WasSubstitutedElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return new ElementValue("responsibleParty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1025,72 +977,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (DaysSupply != null) yield return DaysSupply; - if (WhenPreparedElement != null) yield return WhenPreparedElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (Substitution != null) yield return Substitution; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return new ElementValue("authorizingPrescription", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DaysSupply != null) yield return new ElementValue("daysSupply", DaysSupply); - if (WhenPreparedElement != null) yield return new ElementValue("whenPrepared", WhenPreparedElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs index 7d9f699a7..483fbd203 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationKnowledge.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -327,28 +305,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Source != null) yield return Source; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Source != null) yield return new ElementValue("source", Source); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -515,30 +471,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -710,30 +642,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SourceElement != null) yield return SourceElement; - if (Cost != null) yield return Cost; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -887,28 +795,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1058,30 +944,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - if (Indication != null) yield return Indication; - foreach (var elem in PatientCharacteristics) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - if (Indication != null) yield return new ElementValue("indication", Indication); - foreach (var elem in PatientCharacteristics) { if (elem != null) yield return new ElementValue("patientCharacteristics", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1216,28 +1078,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1388,28 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Characteristic != null) yield return Characteristic; - foreach (var elem in ValueElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Characteristic != null) yield return new ElementValue("characteristic", Characteristic); - foreach (var elem in ValueElement) { if (elem != null) yield return new ElementValue("value", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1537,28 +1355,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1688,28 +1484,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1841,28 +1615,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2025,32 +1777,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RegulatoryAuthority != null) yield return RegulatoryAuthority; - foreach (var elem in Substitution) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (MaxDispense != null) yield return MaxDispense; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RegulatoryAuthority != null) yield return new ElementValue("regulatoryAuthority", RegulatoryAuthority); - foreach (var elem in Substitution) { if (elem != null) yield return new ElementValue("substitution", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (MaxDispense != null) yield return new ElementValue("maxDispense", MaxDispense); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2210,28 +1936,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (AllowedElement != null) yield return AllowedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (AllowedElement != null) yield return new ElementValue("allowed", AllowedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2342,26 +2046,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2481,28 +2165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2646,30 +2308,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in AreaUnderCurve) { if (elem != null) yield return elem; } - foreach (var elem in LethalDose50) { if (elem != null) yield return elem; } - if (HalfLifePeriod != null) yield return HalfLifePeriod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in AreaUnderCurve) { if (elem != null) yield return new ElementValue("areaUnderCurve", elem); } - foreach (var elem in LethalDose50) { if (elem != null) yield return new ElementValue("lethalDose50", elem); } - if (HalfLifePeriod != null) yield return new ElementValue("halfLifePeriod", HalfLifePeriod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3189,68 +2827,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (Manufacturer != null) yield return Manufacturer; - if (DoseForm != null) yield return DoseForm; - if (Amount != null) yield return Amount; - foreach (var elem in SynonymElement) { if (elem != null) yield return elem; } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return elem; } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return elem; } - foreach (var elem in ProductType) { if (elem != null) yield return elem; } - foreach (var elem in Monograph) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (PreparationInstructionElement != null) yield return PreparationInstructionElement; - foreach (var elem in IntendedRoute) { if (elem != null) yield return elem; } - foreach (var elem in Cost) { if (elem != null) yield return elem; } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return elem; } - foreach (var elem in AdministrationGuidelines) { if (elem != null) yield return elem; } - foreach (var elem in MedicineClassification) { if (elem != null) yield return elem; } - if (Packaging != null) yield return Packaging; - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return elem; } - foreach (var elem in Contraindication) { if (elem != null) yield return elem; } - foreach (var elem in Regulatory) { if (elem != null) yield return elem; } - foreach (var elem in Kinetics) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (DoseForm != null) yield return new ElementValue("doseForm", DoseForm); - if (Amount != null) yield return new ElementValue("amount", Amount); - foreach (var elem in SynonymElement) { if (elem != null) yield return new ElementValue("synonym", elem); } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return new ElementValue("relatedMedicationKnowledge", elem); } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return new ElementValue("associatedMedication", elem); } - foreach (var elem in ProductType) { if (elem != null) yield return new ElementValue("productType", elem); } - foreach (var elem in Monograph) { if (elem != null) yield return new ElementValue("monograph", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (PreparationInstructionElement != null) yield return new ElementValue("preparationInstruction", PreparationInstructionElement); - foreach (var elem in IntendedRoute) { if (elem != null) yield return new ElementValue("intendedRoute", elem); } - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return new ElementValue("monitoringProgram", elem); } - foreach (var elem in AdministrationGuidelines) { if (elem != null) yield return new ElementValue("administrationGuidelines", elem); } - foreach (var elem in MedicineClassification) { if (elem != null) yield return new ElementValue("medicineClassification", elem); } - if (Packaging != null) yield return new ElementValue("packaging", Packaging); - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return new ElementValue("drugCharacteristic", elem); } - foreach (var elem in Contraindication) { if (elem != null) yield return new ElementValue("contraindication", elem); } - foreach (var elem in Regulatory) { if (elem != null) yield return new ElementValue("regulatory", elem); } - foreach (var elem in Kinetics) { if (elem != null) yield return new ElementValue("kinetics", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs index b53747e2e..8d5464f51 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationRequest.cs @@ -362,38 +362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InitialFill != null) yield return InitialFill; - if (DispenseInterval != null) yield return DispenseInterval; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (NumberOfRepeatsAllowedElement != null) yield return NumberOfRepeatsAllowedElement; - if (Quantity != null) yield return Quantity; - if (ExpectedSupplyDuration != null) yield return ExpectedSupplyDuration; - if (Performer != null) yield return Performer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InitialFill != null) yield return new ElementValue("initialFill", InitialFill); - if (DispenseInterval != null) yield return new ElementValue("dispenseInterval", DispenseInterval); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (NumberOfRepeatsAllowedElement != null) yield return new ElementValue("numberOfRepeatsAllowed", NumberOfRepeatsAllowedElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ExpectedSupplyDuration != null) yield return new ElementValue("expectedSupplyDuration", ExpectedSupplyDuration); - if (Performer != null) yield return new ElementValue("performer", Performer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -558,28 +526,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Duration != null) yield return Duration; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Duration != null) yield return new ElementValue("duration", Duration); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -713,28 +659,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Allowed != null) yield return Allowed; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1514,88 +1438,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Reported != null) yield return Reported; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (Performer != null) yield return Performer; - if (PerformerType != null) yield return PerformerType; - if (Recorder != null) yield return Recorder; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (CourseOfTherapyType != null) yield return CourseOfTherapyType; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (DispenseRequest != null) yield return DispenseRequest; - if (Substitution != null) yield return Substitution; - if (PriorPrescription != null) yield return PriorPrescription; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Reported != null) yield return new ElementValue("reported", Reported); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (CourseOfTherapyType != null) yield return new ElementValue("courseOfTherapyType", CourseOfTherapyType); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (DispenseRequest != null) yield return new ElementValue("dispenseRequest", DispenseRequest); - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - if (PriorPrescription != null) yield return new ElementValue("priorPrescription", PriorPrescription); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs index a2b8b43d9..db3e11456 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicationStatement.cs @@ -514,58 +514,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Effective != null) yield return Effective; - if (DateAssertedElement != null) yield return DateAssertedElement; - if (InformationSource != null) yield return InformationSource; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateAssertedElement != null) yield return new ElementValue("dateAsserted", DateAssertedElement); - if (InformationSource != null) yield return new ElementValue("informationSource", InformationSource); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs index 9e775327a..e8cfa1439 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MedicinalProductDefinition.cs @@ -147,28 +147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Contact != null) yield return Contact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Contact != null) yield return new ElementValue("contact", Contact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -348,32 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductNameElement != null) yield return ProductNameElement; - if (Type != null) yield return Type; - foreach (var elem in NamePart) { if (elem != null) yield return elem; } - foreach (var elem in CountryLanguage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in NamePart) { if (elem != null) yield return new ElementValue("namePart", elem); } - foreach (var elem in CountryLanguage) { if (elem != null) yield return new ElementValue("countryLanguage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -534,28 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PartElement != null) yield return PartElement; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PartElement != null) yield return new ElementValue("part", PartElement); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -705,30 +635,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -866,28 +772,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1052,32 +936,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (EffectiveDate != null) yield return EffectiveDate; - foreach (var elem in Organization) { if (elem != null) yield return elem; } - if (ConfidentialityIndicator != null) yield return ConfidentialityIndicator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (EffectiveDate != null) yield return new ElementValue("effectiveDate", EffectiveDate); - foreach (var elem in Organization) { if (elem != null) yield return new ElementValue("organization", elem); } - if (ConfidentialityIndicator != null) yield return new ElementValue("confidentialityIndicator", ConfidentialityIndicator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1224,28 +1082,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1885,80 +1721,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Domain != null) yield return Domain; - if (VersionElement != null) yield return VersionElement; - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (CombinedPharmaceuticalDoseForm != null) yield return CombinedPharmaceuticalDoseForm; - foreach (var elem in Route) { if (elem != null) yield return elem; } - if (IndicationElement != null) yield return IndicationElement; - if (LegalStatusOfSupply != null) yield return LegalStatusOfSupply; - if (AdditionalMonitoringIndicator != null) yield return AdditionalMonitoringIndicator; - foreach (var elem in SpecialMeasures) { if (elem != null) yield return elem; } - if (PediatricUseIndicator != null) yield return PediatricUseIndicator; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in Impurity) { if (elem != null) yield return elem; } - foreach (var elem in AttachedDocument) { if (elem != null) yield return elem; } - foreach (var elem in MasterFile) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in CrossReference) { if (elem != null) yield return elem; } - foreach (var elem in Operation) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Domain != null) yield return new ElementValue("domain", Domain); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (CombinedPharmaceuticalDoseForm != null) yield return new ElementValue("combinedPharmaceuticalDoseForm", CombinedPharmaceuticalDoseForm); - foreach (var elem in Route) { if (elem != null) yield return new ElementValue("route", elem); } - if (IndicationElement != null) yield return new ElementValue("indication", IndicationElement); - if (LegalStatusOfSupply != null) yield return new ElementValue("legalStatusOfSupply", LegalStatusOfSupply); - if (AdditionalMonitoringIndicator != null) yield return new ElementValue("additionalMonitoringIndicator", AdditionalMonitoringIndicator); - foreach (var elem in SpecialMeasures) { if (elem != null) yield return new ElementValue("specialMeasures", elem); } - if (PediatricUseIndicator != null) yield return new ElementValue("pediatricUseIndicator", PediatricUseIndicator); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return new ElementValue("packagedMedicinalProduct", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in Impurity) { if (elem != null) yield return new ElementValue("impurity", elem); } - foreach (var elem in AttachedDocument) { if (elem != null) yield return new ElementValue("attachedDocument", elem); } - foreach (var elem in MasterFile) { if (elem != null) yield return new ElementValue("masterFile", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return new ElementValue("clinicalTrial", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in CrossReference) { if (elem != null) yield return new ElementValue("crossReference", elem); } - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs index 674201cfd..ff54cf145 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MessageDefinition.cs @@ -283,32 +283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ProfileElement != null) yield return ProfileElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -489,28 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MessageElement != null) yield return MessageElement; - if (SituationElement != null) yield return SituationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (SituationElement != null) yield return new ElementValue("situation", SituationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1305,72 +1257,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ParentElement) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (CategoryElement != null) yield return CategoryElement; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (ResponseRequiredElement != null) yield return ResponseRequiredElement; - foreach (var elem in AllowedResponse) { if (elem != null) yield return elem; } - foreach (var elem in GraphElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ParentElement) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (ResponseRequiredElement != null) yield return new ElementValue("responseRequired", ResponseRequiredElement); - foreach (var elem in AllowedResponse) { if (elem != null) yield return new ElementValue("allowedResponse", elem); } - foreach (var elem in GraphElement) { if (elem != null) yield return new ElementValue("graph", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs index ef1a78579..5d212dedb 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MessageHeader.cs @@ -248,32 +248,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Target != null) yield return Target; - if (EndpointElement != null) yield return EndpointElement; - if (Receiver != null) yield return Receiver; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Target != null) yield return new ElementValue("target", Target); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - if (Receiver != null) yield return new ElementValue("receiver", Receiver); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -537,34 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (SoftwareElement != null) yield return SoftwareElement; - if (VersionElement != null) yield return VersionElement; - if (Contact != null) yield return Contact; - if (EndpointElement != null) yield return EndpointElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (SoftwareElement != null) yield return new ElementValue("software", SoftwareElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Contact != null) yield return new ElementValue("contact", Contact); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -772,30 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentifierElement != null) yield return IdentifierElement; - if (CodeElement != null) yield return CodeElement; - if (Details != null) yield return Details; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentifierElement != null) yield return new ElementValue("identifier", IdentifierElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Details != null) yield return new ElementValue("details", Details); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1095,46 +1017,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Event != null) yield return Event; - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - if (Enterer != null) yield return Enterer; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - if (Responsible != null) yield return Responsible; - if (Reason != null) yield return Reason; - if (Response != null) yield return Response; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (DefinitionElement != null) yield return DefinitionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Event != null) yield return new ElementValue("event", Event); - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Response != null) yield return new ElementValue("response", Response); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs index 5c2a45ffc..5fbca12cb 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/MolecularSequence.cs @@ -514,42 +514,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Chromosome != null) yield return Chromosome; - if (GenomeBuildElement != null) yield return GenomeBuildElement; - if (OrientationElement != null) yield return OrientationElement; - if (ReferenceSeqId != null) yield return ReferenceSeqId; - if (ReferenceSeqPointer != null) yield return ReferenceSeqPointer; - if (ReferenceSeqStringElement != null) yield return ReferenceSeqStringElement; - if (StrandElement != null) yield return StrandElement; - if (WindowStartElement != null) yield return WindowStartElement; - if (WindowEndElement != null) yield return WindowEndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Chromosome != null) yield return new ElementValue("chromosome", Chromosome); - if (GenomeBuildElement != null) yield return new ElementValue("genomeBuild", GenomeBuildElement); - if (OrientationElement != null) yield return new ElementValue("orientation", OrientationElement); - if (ReferenceSeqId != null) yield return new ElementValue("referenceSeqId", ReferenceSeqId); - if (ReferenceSeqPointer != null) yield return new ElementValue("referenceSeqPointer", ReferenceSeqPointer); - if (ReferenceSeqStringElement != null) yield return new ElementValue("referenceSeqString", ReferenceSeqStringElement); - if (StrandElement != null) yield return new ElementValue("strand", StrandElement); - if (WindowStartElement != null) yield return new ElementValue("windowStart", WindowStartElement); - if (WindowEndElement != null) yield return new ElementValue("windowEnd", WindowEndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -883,36 +847,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (ObservedAlleleElement != null) yield return ObservedAlleleElement; - if (ReferenceAlleleElement != null) yield return ReferenceAlleleElement; - if (CigarElement != null) yield return CigarElement; - if (VariantPointer != null) yield return VariantPointer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ObservedAlleleElement != null) yield return new ElementValue("observedAllele", ObservedAlleleElement); - if (ReferenceAlleleElement != null) yield return new ElementValue("referenceAllele", ReferenceAlleleElement); - if (CigarElement != null) yield return new ElementValue("cigar", CigarElement); - if (VariantPointer != null) yield return new ElementValue("variantPointer", VariantPointer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1480,54 +1414,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StandardSequence != null) yield return StandardSequence; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (Score != null) yield return Score; - if (Method != null) yield return Method; - if (TruthTPElement != null) yield return TruthTPElement; - if (QueryTPElement != null) yield return QueryTPElement; - if (TruthFNElement != null) yield return TruthFNElement; - if (QueryFPElement != null) yield return QueryFPElement; - if (GtFPElement != null) yield return GtFPElement; - if (PrecisionElement != null) yield return PrecisionElement; - if (RecallElement != null) yield return RecallElement; - if (FScoreElement != null) yield return FScoreElement; - if (Roc != null) yield return Roc; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StandardSequence != null) yield return new ElementValue("standardSequence", StandardSequence); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (Score != null) yield return new ElementValue("score", Score); - if (Method != null) yield return new ElementValue("method", Method); - if (TruthTPElement != null) yield return new ElementValue("truthTP", TruthTPElement); - if (QueryTPElement != null) yield return new ElementValue("queryTP", QueryTPElement); - if (TruthFNElement != null) yield return new ElementValue("truthFN", TruthFNElement); - if (QueryFPElement != null) yield return new ElementValue("queryFP", QueryFPElement); - if (GtFPElement != null) yield return new ElementValue("gtFP", GtFPElement); - if (PrecisionElement != null) yield return new ElementValue("precision", PrecisionElement); - if (RecallElement != null) yield return new ElementValue("recall", RecallElement); - if (FScoreElement != null) yield return new ElementValue("fScore", FScoreElement); - if (Roc != null) yield return new ElementValue("roc", Roc); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1960,38 +1846,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ScoreElement) { if (elem != null) yield return elem; } - foreach (var elem in NumTPElement) { if (elem != null) yield return elem; } - foreach (var elem in NumFPElement) { if (elem != null) yield return elem; } - foreach (var elem in NumFNElement) { if (elem != null) yield return elem; } - foreach (var elem in PrecisionElement) { if (elem != null) yield return elem; } - foreach (var elem in SensitivityElement) { if (elem != null) yield return elem; } - foreach (var elem in FMeasureElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ScoreElement) { if (elem != null) yield return new ElementValue("score", elem); } - foreach (var elem in NumTPElement) { if (elem != null) yield return new ElementValue("numTP", elem); } - foreach (var elem in NumFPElement) { if (elem != null) yield return new ElementValue("numFP", elem); } - foreach (var elem in NumFNElement) { if (elem != null) yield return new ElementValue("numFN", elem); } - foreach (var elem in PrecisionElement) { if (elem != null) yield return new ElementValue("precision", elem); } - foreach (var elem in SensitivityElement) { if (elem != null) yield return new ElementValue("sensitivity", elem); } - foreach (var elem in FMeasureElement) { if (elem != null) yield return new ElementValue("fMeasure", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2330,36 +2184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UrlElement != null) yield return UrlElement; - if (NameElement != null) yield return NameElement; - if (DatasetIdElement != null) yield return DatasetIdElement; - if (VariantsetIdElement != null) yield return VariantsetIdElement; - if (ReadsetIdElement != null) yield return ReadsetIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DatasetIdElement != null) yield return new ElementValue("datasetId", DatasetIdElement); - if (VariantsetIdElement != null) yield return new ElementValue("variantsetId", VariantsetIdElement); - if (ReadsetIdElement != null) yield return new ElementValue("readsetId", ReadsetIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2601,34 +2425,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VariantType != null) yield return VariantType; - if (ExactElement != null) yield return ExactElement; - if (LengthElement != null) yield return LengthElement; - if (Outer != null) yield return Outer; - if (Inner != null) yield return Inner; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VariantType != null) yield return new ElementValue("variantType", VariantType); - if (ExactElement != null) yield return new ElementValue("exact", ExactElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (Outer != null) yield return new ElementValue("outer", Outer); - if (Inner != null) yield return new ElementValue("inner", Inner); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2811,28 +2607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2994,28 +2768,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3445,56 +3197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (CoordinateSystemElement != null) yield return CoordinateSystemElement; - if (Patient != null) yield return Patient; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - if (Performer != null) yield return Performer; - if (Quantity != null) yield return Quantity; - if (ReferenceSeq != null) yield return ReferenceSeq; - foreach (var elem in Variant) { if (elem != null) yield return elem; } - if (ObservedSeqElement != null) yield return ObservedSeqElement; - foreach (var elem in Quality) { if (elem != null) yield return elem; } - if (ReadCoverageElement != null) yield return ReadCoverageElement; - foreach (var elem in Repository) { if (elem != null) yield return elem; } - foreach (var elem in Pointer) { if (elem != null) yield return elem; } - foreach (var elem in StructureVariant) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (CoordinateSystemElement != null) yield return new ElementValue("coordinateSystem", CoordinateSystemElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ReferenceSeq != null) yield return new ElementValue("referenceSeq", ReferenceSeq); - foreach (var elem in Variant) { if (elem != null) yield return new ElementValue("variant", elem); } - if (ObservedSeqElement != null) yield return new ElementValue("observedSeq", ObservedSeqElement); - foreach (var elem in Quality) { if (elem != null) yield return new ElementValue("quality", elem); } - if (ReadCoverageElement != null) yield return new ElementValue("readCoverage", ReadCoverageElement); - foreach (var elem in Repository) { if (elem != null) yield return new ElementValue("repository", elem); } - foreach (var elem in Pointer) { if (elem != null) yield return new ElementValue("pointer", elem); } - foreach (var elem in StructureVariant) { if (elem != null) yield return new ElementValue("structureVariant", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Money.cs b/src/Hl7.Fhir.R4B/Model/Generated/Money.cs index c5a1bb272..4b35b8c6c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Money.cs @@ -1267,28 +1267,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (CurrencyElement != null) yield return CurrencyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (CurrencyElement != null) yield return new ElementValue("currency", CurrencyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs index 126531078..28e508785 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NamingSystem.cs @@ -333,34 +333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ValueElement != null) yield return ValueElement; - if (PreferredElement != null) yield return PreferredElement; - if (CommentElement != null) yield return CommentElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -828,50 +800,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (UsageElement != null) yield return UsageElement; - foreach (var elem in UniqueId) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - foreach (var elem in UniqueId) { if (elem != null) yield return new ElementValue("uniqueId", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs index 5d4706b28..5c1e3ee0c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NutritionOrder.cs @@ -236,36 +236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Texture) { if (elem != null) yield return elem; } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return elem; } - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Texture) { if (elem != null) yield return new ElementValue("texture", elem); } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return new ElementValue("fluidConsistencyType", elem); } - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -423,28 +393,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -575,28 +523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (FoodType != null) yield return FoodType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (FoodType != null) yield return new ElementValue("foodType", FoodType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -811,34 +737,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ProductNameElement != null) yield return ProductNameElement; - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1158,42 +1056,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (BaseFormulaType != null) yield return BaseFormulaType; - if (BaseFormulaProductNameElement != null) yield return BaseFormulaProductNameElement; - if (AdditiveType != null) yield return AdditiveType; - if (AdditiveProductNameElement != null) yield return AdditiveProductNameElement; - if (CaloricDensity != null) yield return CaloricDensity; - if (RouteofAdministration != null) yield return RouteofAdministration; - foreach (var elem in Administration) { if (elem != null) yield return elem; } - if (MaxVolumeToDeliver != null) yield return MaxVolumeToDeliver; - if (AdministrationInstructionElement != null) yield return AdministrationInstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (BaseFormulaType != null) yield return new ElementValue("baseFormulaType", BaseFormulaType); - if (BaseFormulaProductNameElement != null) yield return new ElementValue("baseFormulaProductName", BaseFormulaProductNameElement); - if (AdditiveType != null) yield return new ElementValue("additiveType", AdditiveType); - if (AdditiveProductNameElement != null) yield return new ElementValue("additiveProductName", AdditiveProductNameElement); - if (CaloricDensity != null) yield return new ElementValue("caloricDensity", CaloricDensity); - if (RouteofAdministration != null) yield return new ElementValue("routeofAdministration", RouteofAdministration); - foreach (var elem in Administration) { if (elem != null) yield return new ElementValue("administration", elem); } - if (MaxVolumeToDeliver != null) yield return new ElementValue("maxVolumeToDeliver", MaxVolumeToDeliver); - if (AdministrationInstructionElement != null) yield return new ElementValue("administrationInstruction", AdministrationInstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1390,30 +1252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - if (Quantity != null) yield return Quantity; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1910,58 +1748,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateTimeElement != null) yield return DateTimeElement; - if (Orderer != null) yield return Orderer; - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return elem; } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return elem; } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return elem; } - if (OralDiet != null) yield return OralDiet; - foreach (var elem in Supplement) { if (elem != null) yield return elem; } - if (EnteralFormula != null) yield return EnteralFormula; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - if (Orderer != null) yield return new ElementValue("orderer", Orderer); - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return new ElementValue("allergyIntolerance", elem); } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return new ElementValue("foodPreferenceModifier", elem); } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return new ElementValue("excludeFoodModifier", elem); } - if (OralDiet != null) yield return new ElementValue("oralDiet", OralDiet); - foreach (var elem in Supplement) { if (elem != null) yield return new ElementValue("supplement", elem); } - if (EnteralFormula != null) yield return new ElementValue("enteralFormula", EnteralFormula); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs b/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs index d8a2d737b..a3d2be46f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/NutritionProduct.cs @@ -176,28 +176,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - foreach (var elem in Amount) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -325,28 +303,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - foreach (var elem in Amount) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -477,28 +433,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -730,34 +664,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpiryElement != null) yield return ExpiryElement; - if (UseByElement != null) yield return UseByElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (UseByElement != null) yield return new ElementValue("useBy", UseByElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1052,44 +958,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in KnownAllergen) { if (elem != null) yield return elem; } - foreach (var elem in ProductCharacteristic) { if (elem != null) yield return elem; } - if (Instance != null) yield return Instance; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in KnownAllergen) { if (elem != null) yield return new ElementValue("knownAllergen", elem); } - foreach (var elem in ProductCharacteristic) { if (elem != null) yield return new ElementValue("productCharacteristic", elem); } - if (Instance != null) yield return new ElementValue("instance", Instance); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs b/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs index b0d8861c5..0a99119e6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Observation.cs @@ -233,36 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Low != null) yield return Low; - if (High != null) yield return High; - if (Type != null) yield return Type; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (Age != null) yield return Age; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Low != null) yield return new ElementValue("low", Low); - if (High != null) yield return new ElementValue("high", High); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (Age != null) yield return new ElementValue("age", Age); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -476,34 +446,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1073,72 +1015,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Method != null) yield return Method; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - foreach (var elem in HasMember) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Method != null) yield return new ElementValue("method", Method); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - foreach (var elem in HasMember) { if (elem != null) yield return new ElementValue("hasMember", elem); } - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs index 79b032858..b66162f81 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ObservationDefinition.cs @@ -321,32 +321,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CustomaryUnit != null) yield return CustomaryUnit; - if (Unit != null) yield return Unit; - if (ConversionFactorElement != null) yield return ConversionFactorElement; - if (DecimalPrecisionElement != null) yield return DecimalPrecisionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CustomaryUnit != null) yield return new ElementValue("customaryUnit", CustomaryUnit); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (ConversionFactorElement != null) yield return new ElementValue("conversionFactor", ConversionFactorElement); - if (DecimalPrecisionElement != null) yield return new ElementValue("decimalPrecision", DecimalPrecisionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -646,40 +620,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CategoryElement != null) yield return CategoryElement; - if (Range != null) yield return Range; - if (Context != null) yield return Context; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (Age != null) yield return Age; - if (GestationalAge != null) yield return GestationalAge; - if (ConditionElement != null) yield return ConditionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (Range != null) yield return new ElementValue("range", Range); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Age != null) yield return new ElementValue("age", Age); - if (GestationalAge != null) yield return new ElementValue("gestationalAge", GestationalAge); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1084,50 +1024,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return elem; } - if (MultipleResultsAllowedElement != null) yield return MultipleResultsAllowedElement; - if (Method != null) yield return Method; - if (PreferredReportNameElement != null) yield return PreferredReportNameElement; - if (QuantitativeDetails != null) yield return QuantitativeDetails; - foreach (var elem in QualifiedInterval) { if (elem != null) yield return elem; } - if (ValidCodedValueSet != null) yield return ValidCodedValueSet; - if (NormalCodedValueSet != null) yield return NormalCodedValueSet; - if (AbnormalCodedValueSet != null) yield return AbnormalCodedValueSet; - if (CriticalCodedValueSet != null) yield return CriticalCodedValueSet; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return new ElementValue("permittedDataType", elem); } - if (MultipleResultsAllowedElement != null) yield return new ElementValue("multipleResultsAllowed", MultipleResultsAllowedElement); - if (Method != null) yield return new ElementValue("method", Method); - if (PreferredReportNameElement != null) yield return new ElementValue("preferredReportName", PreferredReportNameElement); - if (QuantitativeDetails != null) yield return new ElementValue("quantitativeDetails", QuantitativeDetails); - foreach (var elem in QualifiedInterval) { if (elem != null) yield return new ElementValue("qualifiedInterval", elem); } - if (ValidCodedValueSet != null) yield return new ElementValue("validCodedValueSet", ValidCodedValueSet); - if (NormalCodedValueSet != null) yield return new ElementValue("normalCodedValueSet", NormalCodedValueSet); - if (AbnormalCodedValueSet != null) yield return new ElementValue("abnormalCodedValueSet", AbnormalCodedValueSet); - if (CriticalCodedValueSet != null) yield return new ElementValue("criticalCodedValueSet", CriticalCodedValueSet); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs index 34ee96534..ebcbacc9e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/OperationDefinition.cs @@ -470,46 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in TargetProfileElement) { if (elem != null) yield return elem; } - if (SearchTypeElement != null) yield return SearchTypeElement; - if (Binding != null) yield return Binding; - foreach (var elem in ReferencedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Part) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in TargetProfileElement) { if (elem != null) yield return new ElementValue("targetProfile", elem); } - if (SearchTypeElement != null) yield return new ElementValue("searchType", SearchTypeElement); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in ReferencedFrom) { if (elem != null) yield return new ElementValue("referencedFrom", elem); } - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -741,28 +701,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (ValueSetElement != null) yield return ValueSetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -929,28 +867,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1117,28 +1033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return elem; } - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return new ElementValue("parameterName", elem); } - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2033,76 +1927,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (AffectsStateElement != null) yield return AffectsStateElement; - if (CodeElement != null) yield return CodeElement; - if (CommentElement != null) yield return CommentElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ResourceElement) { if (elem != null) yield return elem; } - if (SystemElement != null) yield return SystemElement; - if (TypeElement != null) yield return TypeElement; - if (InstanceElement != null) yield return InstanceElement; - if (InputProfileElement != null) yield return InputProfileElement; - if (OutputProfileElement != null) yield return OutputProfileElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Overload) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (AffectsStateElement != null) yield return new ElementValue("affectsState", AffectsStateElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ResourceElement) { if (elem != null) yield return new ElementValue("resource", elem); } - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (InstanceElement != null) yield return new ElementValue("instance", InstanceElement); - if (InputProfileElement != null) yield return new ElementValue("inputProfile", InputProfileElement); - if (OutputProfileElement != null) yield return new ElementValue("outputProfile", OutputProfileElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Overload) { if (elem != null) yield return new ElementValue("overload", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs b/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs index cf72e15b8..1b72061d0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Organization.cs @@ -180,32 +180,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +502,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs index c300f3cbd..cbc67f73c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/OrganizationAffiliation.cs @@ -329,48 +329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Organization != null) yield return Organization; - if (ParticipatingOrganization != null) yield return ParticipatingOrganization; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (ParticipatingOrganization != null) yield return new ElementValue("participatingOrganization", ParticipatingOrganization); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs index 5fd2b1427..b9b1b91af 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PackagedProductDefinition.cs @@ -142,28 +142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Jurisdiction != null) yield return Jurisdiction; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -451,44 +429,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Material) { if (elem != null) yield return elem; } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in ContainedItem) { if (elem != null) yield return elem; } - foreach (var elem in Package) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return new ElementValue("alternateMaterial", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in ContainedItem) { if (elem != null) yield return new ElementValue("containedItem", elem); } - foreach (var elem in Package) { if (elem != null) yield return new ElementValue("package", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -689,30 +629,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return new ElementValue("specialPrecautionsForStorage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -849,28 +765,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -997,28 +891,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1411,52 +1283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - foreach (var elem in PackageFor) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - foreach (var elem in ContainedItemQuantity) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in LegalStatusOfSupply) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - if (CopackagedIndicatorElement != null) yield return CopackagedIndicatorElement; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - if (Package != null) yield return Package; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in PackageFor) { if (elem != null) yield return new ElementValue("packageFor", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - foreach (var elem in ContainedItemQuantity) { if (elem != null) yield return new ElementValue("containedItemQuantity", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in LegalStatusOfSupply) { if (elem != null) yield return new ElementValue("legalStatusOfSupply", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - if (CopackagedIndicatorElement != null) yield return new ElementValue("copackagedIndicator", CopackagedIndicatorElement); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - if (Package != null) yield return new ElementValue("package", Package); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs index 91eb1e4f6..2a4afef58 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ParameterDefinition.cs @@ -342,38 +342,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs b/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs index 54016fb25..5c5d2bc6d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Patient.cs @@ -285,38 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (GenderElement != null) yield return GenderElement; - if (Organization != null) yield return Organization; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -500,28 +468,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -675,28 +621,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Other != null) yield return Other; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Other != null) yield return new ElementValue("other", Other); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1109,56 +1033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (MaritalStatus != null) yield return MaritalStatus; - if (MultipleBirth != null) yield return MultipleBirth; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (MaritalStatus != null) yield return new ElementValue("maritalStatus", MaritalStatus); - if (MultipleBirth != null) yield return new ElementValue("multipleBirth", MultipleBirth); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return new ElementValue("generalPractitioner", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs index 2add653eb..9add68d4f 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PaymentNotice.cs @@ -367,48 +367,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (CreatedElement != null) yield return CreatedElement; - if (Provider != null) yield return Provider; - if (Payment != null) yield return Payment; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Payee != null) yield return Payee; - if (Recipient != null) yield return Recipient; - if (Amount != null) yield return Amount; - if (PaymentStatus != null) yield return PaymentStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Payment != null) yield return new ElementValue("payment", Payment); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (PaymentStatus != null) yield return new ElementValue("paymentStatus", PaymentStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs index 337a390af..a8bdbf5b7 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PaymentReconciliation.cs @@ -304,44 +304,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Predecessor != null) yield return Predecessor; - if (Type != null) yield return Type; - if (Request != null) yield return Request; - if (Submitter != null) yield return Submitter; - if (Response != null) yield return Response; - if (DateElement != null) yield return DateElement; - if (Responsible != null) yield return Responsible; - if (Payee != null) yield return Payee; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Predecessor != null) yield return new ElementValue("predecessor", Predecessor); - if (Type != null) yield return new ElementValue("type", Type); - if (Request != null) yield return new ElementValue("request", Request); - if (Submitter != null) yield return new ElementValue("submitter", Submitter); - if (Response != null) yield return new ElementValue("response", Response); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -564,28 +526,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1016,54 +956,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (PaymentIssuer != null) yield return PaymentIssuer; - if (Request != null) yield return Request; - if (Requestor != null) yield return Requestor; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (PaymentAmount != null) yield return PaymentAmount; - if (PaymentIdentifier != null) yield return PaymentIdentifier; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - if (FormCode != null) yield return FormCode; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (PaymentIssuer != null) yield return new ElementValue("paymentIssuer", PaymentIssuer); - if (Request != null) yield return new ElementValue("request", Request); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (PaymentAmount != null) yield return new ElementValue("paymentAmount", PaymentAmount); - if (PaymentIdentifier != null) yield return new ElementValue("paymentIdentifier", PaymentIdentifier); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Person.cs b/src/Hl7.Fhir.R4B/Model/Generated/Person.cs index feef22439..b00d162bb 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Person.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (AssuranceElement != null) yield return AssuranceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (AssuranceElement != null) yield return new ElementValue("assurance", AssuranceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (Photo != null) yield return Photo; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (Photo != null) yield return new ElementValue("photo", Photo); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs index 1219b69f1..02199c15c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PlanDefinition.cs @@ -235,38 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Description != null) yield return Description; - if (Priority != null) yield return Priority; - if (Start != null) yield return Start; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Description != null) yield return new ElementValue("description", Description); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -449,30 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1260,78 +1204,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in GoalIdElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Definition != null) yield return Definition; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in GoalIdElement) { if (elem != null) yield return new ElementValue("goalId", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1657,28 +1529,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1866,30 +1716,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2047,28 +1873,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2216,28 +2020,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3127,86 +2909,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (Type != null) yield return Type; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Population.cs b/src/Hl7.Fhir.R4B/Model/Generated/Population.cs index 981e44c10..e1f21c4dc 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Population.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Population.cs @@ -164,32 +164,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Age != null) yield return Age; - if (Gender != null) yield return Gender; - if (Race != null) yield return Race; - if (PhysiologicalCondition != null) yield return PhysiologicalCondition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Age != null) yield return new ElementValue("age", Age); - if (Gender != null) yield return new ElementValue("gender", Gender); - if (Race != null) yield return new ElementValue("race", Race); - if (PhysiologicalCondition != null) yield return new ElementValue("physiologicalCondition", PhysiologicalCondition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs index fdf0519c3..32eba13ea 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Practitioner.cs @@ -183,32 +183,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Period != null) yield return Period; - if (Issuer != null) yield return Issuer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Period != null) yield return new ElementValue("period", Period); - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -529,44 +503,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Qualification) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Qualification) { if (elem != null) yield return new ElementValue("qualification", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs index e12fbf676..5f89e453a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/PractitionerRole.cs @@ -254,32 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -441,28 +415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -826,52 +778,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Practitioner != null) yield return Practitioner; - if (Organization != null) yield return Organization; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Practitioner != null) yield return new ElementValue("practitioner", Practitioner); - if (Organization != null) yield return new ElementValue("organization", Organization); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs index 86acf55a5..e99001b69 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Procedure.cs @@ -168,30 +168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (Manipulated != null) yield return Manipulated; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (Manipulated != null) yield return new ElementValue("manipulated", Manipulated); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -991,80 +945,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Performed != null) yield return Performed; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Outcome != null) yield return Outcome; - foreach (var elem in Report) { if (elem != null) yield return elem; } - foreach (var elem in Complication) { if (elem != null) yield return elem; } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return elem; } - foreach (var elem in FollowUp) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in FocalDevice) { if (elem != null) yield return elem; } - foreach (var elem in UsedReference) { if (elem != null) yield return elem; } - foreach (var elem in UsedCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Performed != null) yield return new ElementValue("performed", Performed); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - foreach (var elem in Report) { if (elem != null) yield return new ElementValue("report", elem); } - foreach (var elem in Complication) { if (elem != null) yield return new ElementValue("complication", elem); } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return new ElementValue("complicationDetail", elem); } - foreach (var elem in FollowUp) { if (elem != null) yield return new ElementValue("followUp", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in FocalDevice) { if (elem != null) yield return new ElementValue("focalDevice", elem); } - foreach (var elem in UsedReference) { if (elem != null) yield return new ElementValue("usedReference", elem); } - foreach (var elem in UsedCode) { if (elem != null) yield return new ElementValue("usedCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs b/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs index fd30efa30..75f7796f6 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ProdCharacteristic.cs @@ -328,46 +328,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Height != null) yield return Height; - if (Width != null) yield return Width; - if (Depth != null) yield return Depth; - if (Weight != null) yield return Weight; - if (NominalVolume != null) yield return NominalVolume; - if (ExternalDiameter != null) yield return ExternalDiameter; - if (ShapeElement != null) yield return ShapeElement; - foreach (var elem in ColorElement) { if (elem != null) yield return elem; } - foreach (var elem in ImprintElement) { if (elem != null) yield return elem; } - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Scoring != null) yield return Scoring; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Height != null) yield return new ElementValue("height", Height); - if (Width != null) yield return new ElementValue("width", Width); - if (Depth != null) yield return new ElementValue("depth", Depth); - if (Weight != null) yield return new ElementValue("weight", Weight); - if (NominalVolume != null) yield return new ElementValue("nominalVolume", NominalVolume); - if (ExternalDiameter != null) yield return new ElementValue("externalDiameter", ExternalDiameter); - if (ShapeElement != null) yield return new ElementValue("shape", ShapeElement); - foreach (var elem in ColorElement) { if (elem != null) yield return new ElementValue("color", elem); } - foreach (var elem in ImprintElement) { if (elem != null) yield return new ElementValue("imprint", elem); } - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs index 13148f00e..95c1dc936 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ProductShelfLife.cs @@ -162,32 +162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return new ElementValue("specialPrecautionsForStorage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs index 2b2b53bed..eb5e9da5c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Provenance.cs @@ -228,32 +228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -434,30 +408,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (What != null) yield return What; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (What != null) yield return new ElementValue("what", What); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -756,44 +706,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (Occurred != null) yield return Occurred; - if (RecordedElement != null) yield return RecordedElement; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (Activity != null) yield return Activity; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - foreach (var elem in Entity) { if (elem != null) yield return elem; } - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (Occurred != null) yield return new ElementValue("occurred", Occurred); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (Activity != null) yield return new ElementValue("activity", Activity); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs index 206cb7ba0..632ec6895 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Questionnaire.cs @@ -767,56 +767,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (PrefixElement != null) yield return PrefixElement; - if (TextElement != null) yield return TextElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in EnableWhen) { if (elem != null) yield return elem; } - if (EnableBehaviorElement != null) yield return EnableBehaviorElement; - if (RequiredElement != null) yield return RequiredElement; - if (RepeatsElement != null) yield return RepeatsElement; - if (ReadOnlyElement != null) yield return ReadOnlyElement; - if (MaxLengthElement != null) yield return MaxLengthElement; - if (AnswerValueSetElement != null) yield return AnswerValueSetElement; - foreach (var elem in AnswerOption) { if (elem != null) yield return elem; } - foreach (var elem in Initial) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in EnableWhen) { if (elem != null) yield return new ElementValue("enableWhen", elem); } - if (EnableBehaviorElement != null) yield return new ElementValue("enableBehavior", EnableBehaviorElement); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (RepeatsElement != null) yield return new ElementValue("repeats", RepeatsElement); - if (ReadOnlyElement != null) yield return new ElementValue("readOnly", ReadOnlyElement); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - if (AnswerValueSetElement != null) yield return new ElementValue("answerValueSet", AnswerValueSetElement); - foreach (var elem in AnswerOption) { if (elem != null) yield return new ElementValue("answerOption", elem); } - foreach (var elem in Initial) { if (elem != null) yield return new ElementValue("initial", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1105,30 +1055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (QuestionElement != null) yield return QuestionElement; - if (OperatorElement != null) yield return OperatorElement; - if (Answer != null) yield return Answer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (QuestionElement != null) yield return new ElementValue("question", QuestionElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (Answer != null) yield return new ElementValue("answer", Answer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1288,28 +1214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (InitialSelectedElement != null) yield return InitialSelectedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (InitialSelectedElement != null) yield return new ElementValue("initialSelected", InitialSelectedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1428,26 +1332,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2160,68 +2044,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return new ElementValue("subjectType", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs index 0ef43f10d..08dd1b594 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/QuestionnaireResponse.cs @@ -293,34 +293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -476,28 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -828,46 +778,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (QuestionnaireElement != null) yield return QuestionnaireElement; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredElement != null) yield return AuthoredElement; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (QuestionnaireElement != null) yield return new ElementValue("questionnaire", QuestionnaireElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredElement != null) yield return new ElementValue("authored", AuthoredElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs index 836bba957..061d2d8fd 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Ratio.cs @@ -131,28 +131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Numerator != null) yield return Numerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Numerator != null) yield return new ElementValue("numerator", Numerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs b/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs index b81c49b6b..ef6bc754c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RatioRange.cs @@ -147,30 +147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LowNumerator != null) yield return LowNumerator; - if (HighNumerator != null) yield return HighNumerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LowNumerator != null) yield return new ElementValue("lowNumerator", LowNumerator); - if (HighNumerator != null) yield return new ElementValue("highNumerator", HighNumerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs b/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs index 02c9e2f58..d062dfa7e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RegulatedAuthorization.cs @@ -199,34 +199,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (Date != null) yield return Date; - foreach (var elem in Application) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (Date != null) yield return new ElementValue("date", Date); - foreach (var elem in Application) { if (elem != null) yield return new ElementValue("application", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -605,52 +577,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Region) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (Indication != null) yield return Indication; - if (IntendedUse != null) yield return IntendedUse; - foreach (var elem in Basis) { if (elem != null) yield return elem; } - if (Holder != null) yield return Holder; - if (Regulator != null) yield return Regulator; - if (Case != null) yield return Case; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Region) { if (elem != null) yield return new ElementValue("region", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (Indication != null) yield return new ElementValue("indication", Indication); - if (IntendedUse != null) yield return new ElementValue("intendedUse", IntendedUse); - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - if (Holder != null) yield return new ElementValue("holder", Holder); - if (Regulator != null) yield return new ElementValue("regulator", Regulator); - if (Case != null) yield return new ElementValue("case", Case); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs index 5da2b873c..794197c9a 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RelatedPerson.cs @@ -166,28 +166,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -529,48 +507,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Patient != null) yield return Patient; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Photo) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs index 321908e19..6eacde11b 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RequestGroup.cs @@ -623,62 +623,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Resource != null) yield return Resource; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -948,28 +892,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1156,30 +1078,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1694,60 +1592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Author != null) yield return Author; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs index 45139ee29..d26d5e458 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchDefinition.cs @@ -998,92 +998,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in CommentElement) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (Population != null) yield return Population; - if (Exposure != null) yield return Exposure; - if (ExposureAlternative != null) yield return ExposureAlternative; - if (Outcome != null) yield return Outcome; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in CommentElement) { if (elem != null) yield return new ElementValue("comment", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (Population != null) yield return new ElementValue("population", Population); - if (Exposure != null) yield return new ElementValue("exposure", Exposure); - if (ExposureAlternative != null) yield return new ElementValue("exposureAlternative", ExposureAlternative); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs index 2fa750b03..6f946d33e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchElementDefinition.cs @@ -467,48 +467,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Definition != null) yield return Definition; - foreach (var elem in UsageContext) { if (elem != null) yield return elem; } - if (ExcludeElement != null) yield return ExcludeElement; - if (UnitOfMeasure != null) yield return UnitOfMeasure; - if (StudyEffectiveDescriptionElement != null) yield return StudyEffectiveDescriptionElement; - if (StudyEffective != null) yield return StudyEffective; - if (StudyEffectiveTimeFromStart != null) yield return StudyEffectiveTimeFromStart; - if (StudyEffectiveGroupMeasureElement != null) yield return StudyEffectiveGroupMeasureElement; - if (ParticipantEffectiveDescriptionElement != null) yield return ParticipantEffectiveDescriptionElement; - if (ParticipantEffective != null) yield return ParticipantEffective; - if (ParticipantEffectiveTimeFromStart != null) yield return ParticipantEffectiveTimeFromStart; - if (ParticipantEffectiveGroupMeasureElement != null) yield return ParticipantEffectiveGroupMeasureElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UsageContext) { if (elem != null) yield return new ElementValue("usageContext", elem); } - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (UnitOfMeasure != null) yield return new ElementValue("unitOfMeasure", UnitOfMeasure); - if (StudyEffectiveDescriptionElement != null) yield return new ElementValue("studyEffectiveDescription", StudyEffectiveDescriptionElement); - if (StudyEffective != null) yield return new ElementValue("studyEffective", StudyEffective); - if (StudyEffectiveTimeFromStart != null) yield return new ElementValue("studyEffectiveTimeFromStart", StudyEffectiveTimeFromStart); - if (StudyEffectiveGroupMeasureElement != null) yield return new ElementValue("studyEffectiveGroupMeasure", StudyEffectiveGroupMeasureElement); - if (ParticipantEffectiveDescriptionElement != null) yield return new ElementValue("participantEffectiveDescription", ParticipantEffectiveDescriptionElement); - if (ParticipantEffective != null) yield return new ElementValue("participantEffective", ParticipantEffective); - if (ParticipantEffectiveTimeFromStart != null) yield return new ElementValue("participantEffectiveTimeFromStart", ParticipantEffectiveTimeFromStart); - if (ParticipantEffectiveGroupMeasureElement != null) yield return new ElementValue("participantEffectiveGroupMeasure", ParticipantEffectiveGroupMeasureElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1576,90 +1534,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in CommentElement) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (VariableTypeElement != null) yield return VariableTypeElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in CommentElement) { if (elem != null) yield return new ElementValue("comment", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (VariableTypeElement != null) yield return new ElementValue("variableType", VariableTypeElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs index 602fcbd7f..0d53c4a41 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchStudy.cs @@ -276,30 +276,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -454,28 +430,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1034,72 +988,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Protocol) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (PrimaryPurposeType != null) yield return PrimaryPurposeType; - if (Phase != null) yield return Phase; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Enrollment) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Sponsor != null) yield return Sponsor; - if (PrincipalInvestigator != null) yield return PrincipalInvestigator; - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (ReasonStopped != null) yield return ReasonStopped; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Arm) { if (elem != null) yield return elem; } - foreach (var elem in Objective) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Protocol) { if (elem != null) yield return new ElementValue("protocol", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (PrimaryPurposeType != null) yield return new ElementValue("primaryPurposeType", PrimaryPurposeType); - if (Phase != null) yield return new ElementValue("phase", Phase); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Enrollment) { if (elem != null) yield return new ElementValue("enrollment", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Sponsor != null) yield return new ElementValue("sponsor", Sponsor); - if (PrincipalInvestigator != null) yield return new ElementValue("principalInvestigator", PrincipalInvestigator); - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (ReasonStopped != null) yield return new ElementValue("reasonStopped", ReasonStopped); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Arm) { if (elem != null) yield return new ElementValue("arm", elem); } - foreach (var elem in Objective) { if (elem != null) yield return new ElementValue("objective", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs index 1634b2616..1cb61190d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ResearchSubject.cs @@ -383,40 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (Study != null) yield return Study; - if (Individual != null) yield return Individual; - if (AssignedArmElement != null) yield return AssignedArmElement; - if (ActualArmElement != null) yield return ActualArmElement; - if (Consent != null) yield return Consent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Study != null) yield return new ElementValue("study", Study); - if (Individual != null) yield return new ElementValue("individual", Individual); - if (AssignedArmElement != null) yield return new ElementValue("assignedArm", AssignedArmElement); - if (ActualArmElement != null) yield return new ElementValue("actualArm", ActualArmElement); - if (Consent != null) yield return new ElementValue("consent", Consent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs index 20fb83090..f38c171b9 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/RiskAssessment.cs @@ -253,36 +253,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Outcome != null) yield return Outcome; - if (Probability != null) yield return Probability; - if (QualitativeRisk != null) yield return QualitativeRisk; - if (RelativeRiskElement != null) yield return RelativeRiskElement; - if (When != null) yield return When; - if (RationaleElement != null) yield return RationaleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Probability != null) yield return new ElementValue("probability", Probability); - if (QualitativeRisk != null) yield return new ElementValue("qualitativeRisk", QualitativeRisk); - if (RelativeRiskElement != null) yield return new ElementValue("relativeRisk", RelativeRiskElement); - if (When != null) yield return new ElementValue("when", When); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -730,58 +700,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (BasedOn != null) yield return BasedOn; - if (Parent != null) yield return Parent; - if (StatusElement != null) yield return StatusElement; - if (Method != null) yield return Method; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (Condition != null) yield return Condition; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Basis) { if (elem != null) yield return elem; } - foreach (var elem in Prediction) { if (elem != null) yield return elem; } - if (MitigationElement != null) yield return MitigationElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (BasedOn != null) yield return new ElementValue("basedOn", BasedOn); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Method != null) yield return new ElementValue("method", Method); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - foreach (var elem in Prediction) { if (elem != null) yield return new ElementValue("prediction", elem); } - if (MitigationElement != null) yield return new ElementValue("mitigation", MitigationElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs index 57021e561..a17dd0b5c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SampledData.cs @@ -322,38 +322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Origin != null) yield return Origin; - if (PeriodElement != null) yield return PeriodElement; - if (FactorElement != null) yield return FactorElement; - if (LowerLimitElement != null) yield return LowerLimitElement; - if (UpperLimitElement != null) yield return UpperLimitElement; - if (DimensionsElement != null) yield return DimensionsElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Origin != null) yield return new ElementValue("origin", Origin); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (LowerLimitElement != null) yield return new ElementValue("lowerLimit", LowerLimitElement); - if (UpperLimitElement != null) yield return new ElementValue("upperLimit", UpperLimitElement); - if (DimensionsElement != null) yield return new ElementValue("dimensions", DimensionsElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs index 03719d330..b26652f44 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Schedule.cs @@ -271,40 +271,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Actor) { if (elem != null) yield return elem; } - if (PlanningHorizon != null) yield return PlanningHorizon; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - if (PlanningHorizon != null) yield return new ElementValue("planningHorizon", PlanningHorizon); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs index c9c288406..4c4804840 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SearchParameter.cs @@ -371,28 +371,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DefinitionElement != null) yield return DefinitionElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1315,76 +1293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (DerivedFromElement != null) yield return DerivedFromElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in BaseElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (XpathElement != null) yield return XpathElement; - if (XpathUsageElement != null) yield return XpathUsageElement; - foreach (var elem in TargetElement) { if (elem != null) yield return elem; } - if (MultipleOrElement != null) yield return MultipleOrElement; - if (MultipleAndElement != null) yield return MultipleAndElement; - foreach (var elem in ComparatorElement) { if (elem != null) yield return elem; } - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - foreach (var elem in ChainElement) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DerivedFromElement != null) yield return new ElementValue("derivedFrom", DerivedFromElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in BaseElement) { if (elem != null) yield return new ElementValue("base", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (XpathElement != null) yield return new ElementValue("xpath", XpathElement); - if (XpathUsageElement != null) yield return new ElementValue("xpathUsage", XpathUsageElement); - foreach (var elem in TargetElement) { if (elem != null) yield return new ElementValue("target", elem); } - if (MultipleOrElement != null) yield return new ElementValue("multipleOr", MultipleOrElement); - if (MultipleAndElement != null) yield return new ElementValue("multipleAnd", MultipleAndElement); - foreach (var elem in ComparatorElement) { if (elem != null) yield return new ElementValue("comparator", elem); } - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ChainElement) { if (elem != null) yield return new ElementValue("chain", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs index 36c270015..163599f04 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/ServiceRequest.cs @@ -837,90 +837,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (Requisition != null) yield return Requisition; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Code != null) yield return Code; - foreach (var elem in OrderDetail) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AsNeeded != null) yield return AsNeeded; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in LocationCode) { if (elem != null) yield return elem; } - foreach (var elem in LocationReference) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (Requisition != null) yield return new ElementValue("requisition", Requisition); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in OrderDetail) { if (elem != null) yield return new ElementValue("orderDetail", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in LocationCode) { if (elem != null) yield return new ElementValue("locationCode", elem); } - foreach (var elem in LocationReference) { if (elem != null) yield return new ElementValue("locationReference", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs b/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs index 84b9716d7..cc33c644e 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Slot.cs @@ -419,46 +419,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - if (Schedule != null) yield return Schedule; - if (StatusElement != null) yield return StatusElement; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (OverbookedElement != null) yield return OverbookedElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (OverbookedElement != null) yield return new ElementValue("overbooked", OverbookedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs index 73f75c283..37c0e37a0 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Specimen.cs @@ -269,38 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Collected != null) yield return Collected; - if (Duration != null) yield return Duration; - if (Quantity != null) yield return Quantity; - if (Method != null) yield return Method; - if (BodySite != null) yield return BodySite; - if (FastingStatus != null) yield return FastingStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Collected != null) yield return new ElementValue("collected", Collected); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Method != null) yield return new ElementValue("method", Method); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (FastingStatus != null) yield return new ElementValue("fastingStatus", FastingStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -520,32 +488,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -776,36 +718,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Type != null) yield return Type; - if (Capacity != null) yield return Capacity; - if (SpecimenQuantity != null) yield return SpecimenQuantity; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (SpecimenQuantity != null) yield return new ElementValue("specimenQuantity", SpecimenQuantity); - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1177,50 +1089,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AccessionIdentifier != null) yield return AccessionIdentifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (ReceivedTimeElement != null) yield return ReceivedTimeElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - foreach (var elem in Container) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AccessionIdentifier != null) yield return new ElementValue("accessionIdentifier", AccessionIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (ReceivedTimeElement != null) yield return new ElementValue("receivedTime", ReceivedTimeElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - foreach (var elem in Container) { if (elem != null) yield return new ElementValue("container", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs index 7b13df010..b9994cb71 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SpecimenDefinition.cs @@ -325,40 +325,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IsDerivedElement != null) yield return IsDerivedElement; - if (Type != null) yield return Type; - if (PreferenceElement != null) yield return PreferenceElement; - if (Container != null) yield return Container; - if (RequirementElement != null) yield return RequirementElement; - if (RetentionTime != null) yield return RetentionTime; - foreach (var elem in RejectionCriterion) { if (elem != null) yield return elem; } - foreach (var elem in Handling) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IsDerivedElement != null) yield return new ElementValue("isDerived", IsDerivedElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PreferenceElement != null) yield return new ElementValue("preference", PreferenceElement); - if (Container != null) yield return new ElementValue("container", Container); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - if (RetentionTime != null) yield return new ElementValue("retentionTime", RetentionTime); - foreach (var elem in RejectionCriterion) { if (elem != null) yield return new ElementValue("rejectionCriterion", elem); } - foreach (var elem in Handling) { if (elem != null) yield return new ElementValue("handling", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -664,40 +630,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Material != null) yield return Material; - if (Type != null) yield return Type; - if (Cap != null) yield return Cap; - if (DescriptionElement != null) yield return DescriptionElement; - if (Capacity != null) yield return Capacity; - if (MinimumVolume != null) yield return MinimumVolume; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (PreparationElement != null) yield return PreparationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Material != null) yield return new ElementValue("material", Material); - if (Type != null) yield return new ElementValue("type", Type); - if (Cap != null) yield return new ElementValue("cap", Cap); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (MinimumVolume != null) yield return new ElementValue("minimumVolume", MinimumVolume); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (PreparationElement != null) yield return new ElementValue("preparation", PreparationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -857,26 +789,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1049,32 +961,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TemperatureQualifier != null) yield return TemperatureQualifier; - if (TemperatureRange != null) yield return TemperatureRange; - if (MaxDuration != null) yield return MaxDuration; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TemperatureQualifier != null) yield return new ElementValue("temperatureQualifier", TemperatureQualifier); - if (TemperatureRange != null) yield return new ElementValue("temperatureRange", TemperatureRange); - if (MaxDuration != null) yield return new ElementValue("maxDuration", MaxDuration); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1291,36 +1177,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (TypeCollected != null) yield return TypeCollected; - foreach (var elem in PatientPreparation) { if (elem != null) yield return elem; } - if (TimeAspectElement != null) yield return TimeAspectElement; - foreach (var elem in Collection) { if (elem != null) yield return elem; } - foreach (var elem in TypeTested) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (TypeCollected != null) yield return new ElementValue("typeCollected", TypeCollected); - foreach (var elem in PatientPreparation) { if (elem != null) yield return new ElementValue("patientPreparation", elem); } - if (TimeAspectElement != null) yield return new ElementValue("timeAspect", TimeAspectElement); - foreach (var elem in Collection) { if (elem != null) yield return new ElementValue("collection", elem); } - foreach (var elem in TypeTested) { if (elem != null) yield return new ElementValue("typeTested", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs index 37ead741e..90381ef03 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/StructureMap.cs @@ -544,32 +544,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (ModeElement != null) yield return ModeElement; - if (AliasElement != null) yield return AliasElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (AliasElement != null) yield return new ElementValue("alias", AliasElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -854,36 +828,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ExtendsElement != null) yield return ExtendsElement; - if (TypeModeElement != null) yield return TypeModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ExtendsElement != null) yield return new ElementValue("extends", ExtendsElement); - if (TypeModeElement != null) yield return new ElementValue("typeMode", TypeModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1149,32 +1093,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1419,36 +1337,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - foreach (var elem in Dependent) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - foreach (var elem in Dependent) { if (elem != null) yield return new ElementValue("dependent", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1931,46 +1819,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (TypeElement != null) yield return TypeElement; - if (DefaultValue != null) yield return DefaultValue; - if (ElementElement != null) yield return ElementElement; - if (ListModeElement != null) yield return ListModeElement; - if (VariableElement != null) yield return VariableElement; - if (ConditionElement != null) yield return ConditionElement; - if (CheckElement != null) yield return CheckElement; - if (LogMessageElement != null) yield return LogMessageElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DefaultValue != null) yield return new ElementValue("defaultValue", DefaultValue); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (ListModeElement != null) yield return new ElementValue("listMode", ListModeElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - if (CheckElement != null) yield return new ElementValue("check", CheckElement); - if (LogMessageElement != null) yield return new ElementValue("logMessage", LogMessageElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2389,40 +2237,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (ContextTypeElement != null) yield return ContextTypeElement; - if (ElementElement != null) yield return ElementElement; - if (VariableElement != null) yield return VariableElement; - foreach (var elem in ListModeElement) { if (elem != null) yield return elem; } - if (ListRuleIdElement != null) yield return ListRuleIdElement; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (ContextTypeElement != null) yield return new ElementValue("contextType", ContextTypeElement); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - foreach (var elem in ListModeElement) { if (elem != null) yield return new ElementValue("listMode", elem); } - if (ListRuleIdElement != null) yield return new ElementValue("listRuleId", ListRuleIdElement); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2577,26 +2391,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2753,28 +2547,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in VariableElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in VariableElement) { if (elem != null) yield return new ElementValue("variable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3374,60 +3146,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Structure) { if (elem != null) yield return elem; } - foreach (var elem in ImportElement) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Structure) { if (elem != null) yield return new ElementValue("structure", elem); } - foreach (var elem in ImportElement) { if (elem != null) yield return new ElementValue("import", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs index d0d961404..0ed401c8c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Subscription.cs @@ -295,32 +295,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (EndpointElement != null) yield return EndpointElement; - if (PayloadElement != null) yield return PayloadElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - if (PayloadElement != null) yield return new ElementValue("payload", PayloadElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -624,38 +598,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (EndElement != null) yield return EndElement; - if (ReasonElement != null) yield return ReasonElement; - if (CriteriaElement != null) yield return CriteriaElement; - if (ErrorElement != null) yield return ErrorElement; - if (Channel != null) yield return Channel; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - if (ErrorElement != null) yield return new ElementValue("error", ErrorElement); - if (Channel != null) yield return new ElementValue("channel", Channel); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs index e51bc9e0a..b6fb550d8 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionStatus.cs @@ -260,32 +260,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (EventNumberElement != null) yield return EventNumberElement; - if (TimestampElement != null) yield return TimestampElement; - if (Focus != null) yield return Focus; - foreach (var elem in AdditionalContext) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (EventNumberElement != null) yield return new ElementValue("eventNumber", EventNumberElement); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - foreach (var elem in AdditionalContext) { if (elem != null) yield return new ElementValue("additionalContext", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -575,38 +549,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (EventsSinceSubscriptionStartElement != null) yield return EventsSinceSubscriptionStartElement; - foreach (var elem in NotificationEvent) { if (elem != null) yield return elem; } - if (Subscription != null) yield return Subscription; - if (TopicElement != null) yield return TopicElement; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EventsSinceSubscriptionStartElement != null) yield return new ElementValue("eventsSinceSubscriptionStart", EventsSinceSubscriptionStartElement); - foreach (var elem in NotificationEvent) { if (elem != null) yield return new ElementValue("notificationEvent", elem); } - if (Subscription != null) yield return new ElementValue("subscription", Subscription); - if (TopicElement != null) yield return new ElementValue("topic", TopicElement); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs index 43e9fa506..cd5c9893c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubscriptionTopic.cs @@ -421,34 +421,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (ResourceElement != null) yield return ResourceElement; - foreach (var elem in SupportedInteractionElement) { if (elem != null) yield return elem; } - if (QueryCriteria != null) yield return QueryCriteria; - if (FhirPathCriteriaElement != null) yield return FhirPathCriteriaElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - foreach (var elem in SupportedInteractionElement) { if (elem != null) yield return new ElementValue("supportedInteraction", elem); } - if (QueryCriteria != null) yield return new ElementValue("queryCriteria", QueryCriteria); - if (FhirPathCriteriaElement != null) yield return new ElementValue("fhirPathCriteria", FhirPathCriteriaElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -740,34 +712,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreviousElement != null) yield return PreviousElement; - if (ResultForCreateElement != null) yield return ResultForCreateElement; - if (CurrentElement != null) yield return CurrentElement; - if (ResultForDeleteElement != null) yield return ResultForDeleteElement; - if (RequireBothElement != null) yield return RequireBothElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreviousElement != null) yield return new ElementValue("previous", PreviousElement); - if (ResultForCreateElement != null) yield return new ElementValue("resultForCreate", ResultForCreateElement); - if (CurrentElement != null) yield return new ElementValue("current", CurrentElement); - if (ResultForDeleteElement != null) yield return new ElementValue("resultForDelete", ResultForDeleteElement); - if (RequireBothElement != null) yield return new ElementValue("requireBoth", RequireBothElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -973,30 +917,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Event != null) yield return Event; - if (ResourceElement != null) yield return ResourceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Event != null) yield return new ElementValue("event", Event); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1275,34 +1195,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (ResourceElement != null) yield return ResourceElement; - if (FilterParameterElement != null) yield return FilterParameterElement; - if (FilterDefinitionElement != null) yield return FilterDefinitionElement; - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (FilterParameterElement != null) yield return new ElementValue("filterParameter", FilterParameterElement); - if (FilterDefinitionElement != null) yield return new ElementValue("filterDefinition", FilterDefinitionElement); - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1526,30 +1418,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceElement != null) yield return ResourceElement; - foreach (var elem in IncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in RevIncludeElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - foreach (var elem in IncludeElement) { if (elem != null) yield return new ElementValue("include", elem); } - foreach (var elem in RevIncludeElement) { if (elem != null) yield return new ElementValue("revInclude", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2239,68 +2107,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in ResourceTrigger) { if (elem != null) yield return elem; } - foreach (var elem in EventTrigger) { if (elem != null) yield return elem; } - foreach (var elem in CanFilterBy) { if (elem != null) yield return elem; } - foreach (var elem in NotificationShape) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in ResourceTrigger) { if (elem != null) yield return new ElementValue("resourceTrigger", elem); } - foreach (var elem in EventTrigger) { if (elem != null) yield return new ElementValue("eventTrigger", elem); } - foreach (var elem in CanFilterBy) { if (elem != null) yield return new ElementValue("canFilterBy", elem); } - foreach (var elem in NotificationShape) { if (elem != null) yield return new ElementValue("notificationShape", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs b/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs index 9fb6ebacd..a70ad1644 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Substance.cs @@ -205,30 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (ExpiryElement != null) yield return ExpiryElement; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,28 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -630,38 +584,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs index 779c68d48..0910b32e3 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SubstanceDefinition.cs @@ -277,40 +277,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (Amount != null) yield return Amount; - if (MeasurementType != null) yield return MeasurementType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (MeasurementType != null) yield return new ElementValue("measurementType", MeasurementType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -482,28 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -651,30 +595,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Method != null) yield return Method; - if (Type != null) yield return Type; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Method != null) yield return new ElementValue("method", Method); - if (Type != null) yield return new ElementValue("type", Type); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -947,40 +867,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (MolecularFormulaByMoietyElement != null) yield return MolecularFormulaByMoietyElement; - if (MolecularWeight != null) yield return MolecularWeight; - foreach (var elem in Technique) { if (elem != null) yield return elem; } - foreach (var elem in SourceDocument) { if (elem != null) yield return elem; } - foreach (var elem in Representation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (MolecularFormulaByMoietyElement != null) yield return new ElementValue("molecularFormulaByMoiety", MolecularFormulaByMoietyElement); - if (MolecularWeight != null) yield return new ElementValue("molecularWeight", MolecularWeight); - foreach (var elem in Technique) { if (elem != null) yield return new ElementValue("technique", elem); } - foreach (var elem in SourceDocument) { if (elem != null) yield return new ElementValue("sourceDocument", elem); } - foreach (var elem in Representation) { if (elem != null) yield return new ElementValue("representation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1202,32 +1088,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RepresentationElement != null) yield return RepresentationElement; - if (Format != null) yield return Format; - if (Document != null) yield return Document; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RepresentationElement != null) yield return new ElementValue("representation", RepresentationElement); - if (Format != null) yield return new ElementValue("format", Format); - if (Document != null) yield return new ElementValue("document", Document); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1438,34 +1298,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1807,46 +1639,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (PreferredElement != null) yield return PreferredElement; - foreach (var elem in Language) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Synonym) { if (elem != null) yield return elem; } - foreach (var elem in Translation) { if (elem != null) yield return elem; } - foreach (var elem in Official) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - foreach (var elem in Language) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Synonym) { if (elem != null) yield return new ElementValue("synonym", elem); } - foreach (var elem in Translation) { if (elem != null) yield return new ElementValue("translation", elem); } - foreach (var elem in Official) { if (elem != null) yield return new ElementValue("official", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2071,30 +1863,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Authority != null) yield return Authority; - if (Status != null) yield return Status; - if (DateElement != null) yield return DateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Authority != null) yield return new ElementValue("authority", Authority); - if (Status != null) yield return new ElementValue("status", Status); - if (DateElement != null) yield return new ElementValue("date", DateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2339,38 +2107,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubstanceDefinition != null) yield return SubstanceDefinition; - if (Type != null) yield return Type; - if (IsDefiningElement != null) yield return IsDefiningElement; - if (Amount != null) yield return Amount; - if (RatioHighLimitAmount != null) yield return RatioHighLimitAmount; - if (Comparator != null) yield return Comparator; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubstanceDefinition != null) yield return new ElementValue("substanceDefinition", SubstanceDefinition); - if (Type != null) yield return new ElementValue("type", Type); - if (IsDefiningElement != null) yield return new ElementValue("isDefining", IsDefiningElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (RatioHighLimitAmount != null) yield return new ElementValue("ratioHighLimitAmount", RatioHighLimitAmount); - if (Comparator != null) yield return new ElementValue("comparator", Comparator); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2588,34 +2324,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Genus != null) yield return Genus; - if (Species != null) yield return Species; - if (Part != null) yield return Part; - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Genus != null) yield return new ElementValue("genus", Genus); - if (Species != null) yield return new ElementValue("species", Species); - if (Part != null) yield return new ElementValue("part", Part); - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return new ElementValue("countryOfOrigin", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3081,62 +2789,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (Status != null) yield return Status; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (Domain != null) yield return Domain; - foreach (var elem in Grade) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in InformationSource) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - foreach (var elem in Moiety) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in MolecularWeight) { if (elem != null) yield return elem; } - if (Structure != null) yield return Structure; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (SourceMaterial != null) yield return SourceMaterial; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Status != null) yield return new ElementValue("status", Status); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (Domain != null) yield return new ElementValue("domain", Domain); - foreach (var elem in Grade) { if (elem != null) yield return new ElementValue("grade", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in InformationSource) { if (elem != null) yield return new ElementValue("informationSource", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - foreach (var elem in Moiety) { if (elem != null) yield return new ElementValue("moiety", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in MolecularWeight) { if (elem != null) yield return new ElementValue("molecularWeight", elem); } - if (Structure != null) yield return new ElementValue("structure", Structure); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (SourceMaterial != null) yield return new ElementValue("sourceMaterial", SourceMaterial); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs index b9ab43a38..3c1350749 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SupplyDelivery.cs @@ -206,28 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -525,46 +503,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Type != null) yield return Type; - if (SuppliedItem != null) yield return SuppliedItem; - if (Occurrence != null) yield return Occurrence; - if (Supplier != null) yield return Supplier; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Type != null) yield return new ElementValue("type", Type); - if (SuppliedItem != null) yield return new ElementValue("suppliedItem", SuppliedItem); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Supplier != null) yield return new ElementValue("supplier", Supplier); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs index d58d25134..8e6d440e2 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/SupplyRequest.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -628,54 +606,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (PriorityElement != null) yield return PriorityElement; - if (Item != null) yield return Item; - if (Quantity != null) yield return Quantity; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (DeliverFrom != null) yield return DeliverFrom; - if (DeliverTo != null) yield return DeliverTo; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Item != null) yield return new ElementValue("item", Item); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (DeliverFrom != null) yield return new ElementValue("deliverFrom", DeliverFrom); - if (DeliverTo != null) yield return new ElementValue("deliverTo", DeliverTo); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Task.cs b/src/Hl7.Fhir.R4B/Model/Generated/Task.cs index 5319e6249..f7c2829a7 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Task.cs @@ -326,30 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RepetitionsElement != null) yield return RepetitionsElement; - if (Period != null) yield return Period; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RepetitionsElement != null) yield return new ElementValue("repetitions", RepetitionsElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -490,28 +466,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,28 +599,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1433,86 +1365,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (BusinessStatus != null) yield return BusinessStatus; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Focus != null) yield return Focus; - if (For != null) yield return For; - if (Encounter != null) yield return Encounter; - if (ExecutionPeriod != null) yield return ExecutionPeriod; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Requester != null) yield return Requester; - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (Location != null) yield return Location; - if (ReasonCode != null) yield return ReasonCode; - if (ReasonReference != null) yield return ReasonReference; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - if (Restriction != null) yield return Restriction; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (BusinessStatus != null) yield return new ElementValue("businessStatus", BusinessStatus); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (For != null) yield return new ElementValue("for", For); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (ExecutionPeriod != null) yield return new ElementValue("executionPeriod", ExecutionPeriod); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (Location != null) yield return new ElementValue("location", Location); - if (ReasonCode != null) yield return new ElementValue("reasonCode", ReasonCode); - if (ReasonReference != null) yield return new ElementValue("reasonReference", ReasonReference); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - if (Restriction != null) yield return new ElementValue("restriction", Restriction); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs index cbf5b57c2..9c1624f5d 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TerminologyCapabilities.cs @@ -205,28 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -392,28 +370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -596,30 +552,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - foreach (var elem in Version) { if (elem != null) yield return elem; } - if (SubsumptionElement != null) yield return SubsumptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - if (SubsumptionElement != null) yield return new ElementValue("subsumption", SubsumptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -913,36 +845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (IsDefaultElement != null) yield return IsDefaultElement; - if (CompositionalElement != null) yield return CompositionalElement; - foreach (var elem in LanguageElement) { if (elem != null) yield return elem; } - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in PropertyElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (IsDefaultElement != null) yield return new ElementValue("isDefault", IsDefaultElement); - if (CompositionalElement != null) yield return new ElementValue("compositional", CompositionalElement); - foreach (var elem in LanguageElement) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in PropertyElement) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1134,28 +1036,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in OpElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in OpElement) { if (elem != null) yield return new ElementValue("op", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1402,34 +1282,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (HierarchicalElement != null) yield return HierarchicalElement; - if (PagingElement != null) yield return PagingElement; - if (IncompleteElement != null) yield return IncompleteElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (TextFilterElement != null) yield return TextFilterElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (HierarchicalElement != null) yield return new ElementValue("hierarchical", HierarchicalElement); - if (PagingElement != null) yield return new ElementValue("paging", PagingElement); - if (IncompleteElement != null) yield return new ElementValue("incomplete", IncompleteElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (TextFilterElement != null) yield return new ElementValue("textFilter", TextFilterElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1613,28 +1465,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1763,26 +1593,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationsElement != null) yield return TranslationsElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationsElement != null) yield return new ElementValue("translations", TranslationsElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1904,26 +1714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NeedsMapElement != null) yield return NeedsMapElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NeedsMapElement != null) yield return new ElementValue("needsMap", NeedsMapElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2047,26 +1837,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationElement != null) yield return TranslationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationElement != null) yield return new ElementValue("translation", TranslationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2790,72 +2560,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (KindElement != null) yield return KindElement; - if (Software != null) yield return Software; - if (Implementation != null) yield return Implementation; - if (LockedDateElement != null) yield return LockedDateElement; - foreach (var elem in CodeSystem) { if (elem != null) yield return elem; } - if (Expansion != null) yield return Expansion; - if (CodeSearchElement != null) yield return CodeSearchElement; - if (ValidateCode != null) yield return ValidateCode; - if (Translation != null) yield return Translation; - if (Closure != null) yield return Closure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Software != null) yield return new ElementValue("software", Software); - if (Implementation != null) yield return new ElementValue("implementation", Implementation); - if (LockedDateElement != null) yield return new ElementValue("lockedDate", LockedDateElement); - foreach (var elem in CodeSystem) { if (elem != null) yield return new ElementValue("codeSystem", elem); } - if (Expansion != null) yield return new ElementValue("expansion", Expansion); - if (CodeSearchElement != null) yield return new ElementValue("codeSearch", CodeSearchElement); - if (ValidateCode != null) yield return new ElementValue("validateCode", ValidateCode); - if (Translation != null) yield return new ElementValue("translation", Translation); - if (Closure != null) yield return new ElementValue("closure", Closure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs index 2e6ba2ad0..bbbb2ce5c 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TestReport.cs @@ -353,30 +353,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UriElement != null) yield return UriElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -494,26 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -636,28 +592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -859,30 +793,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1091,30 +1001,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1300,30 +1186,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1460,28 +1322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1595,26 +1435,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1722,26 +1542,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2128,48 +1928,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (TestScript != null) yield return TestScript; - if (ResultElement != null) yield return ResultElement; - if (ScoreElement != null) yield return ScoreElement; - if (TesterElement != null) yield return TesterElement; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TestScript != null) yield return new ElementValue("testScript", TestScript); - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (ScoreElement != null) yield return new ElementValue("score", ScoreElement); - if (TesterElement != null) yield return new ElementValue("tester", TesterElement); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs index 8ccfe746f..df932ab39 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TestScript.cs @@ -400,28 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -572,28 +550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -724,28 +680,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -911,28 +845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1273,38 +1185,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequiredElement != null) yield return RequiredElement; - if (ValidatedElement != null) yield return ValidatedElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OriginElement) { if (elem != null) yield return elem; } - if (DestinationElement != null) yield return DestinationElement; - foreach (var elem in LinkElement) { if (elem != null) yield return elem; } - if (CapabilitiesElement != null) yield return CapabilitiesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (ValidatedElement != null) yield return new ElementValue("validated", ValidatedElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OriginElement) { if (elem != null) yield return new ElementValue("origin", elem); } - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - foreach (var elem in LinkElement) { if (elem != null) yield return new ElementValue("link", elem); } - if (CapabilitiesElement != null) yield return new ElementValue("capabilities", CapabilitiesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1524,30 +1404,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AutocreateElement != null) yield return AutocreateElement; - if (AutodeleteElement != null) yield return AutodeleteElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AutocreateElement != null) yield return new ElementValue("autocreate", AutocreateElement); - if (AutodeleteElement != null) yield return new ElementValue("autodelete", AutodeleteElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1925,40 +1781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefaultValueElement != null) yield return DefaultValueElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (HintElement != null) yield return HintElement; - if (PathElement != null) yield return PathElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefaultValueElement != null) yield return new ElementValue("defaultValue", DefaultValueElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (HintElement != null) yield return new ElementValue("hint", HintElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2111,26 +1933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2253,28 +2055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2922,58 +2702,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceElement != null) yield return ResourceElement; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (AcceptElement != null) yield return AcceptElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (DestinationElement != null) yield return DestinationElement; - if (EncodeRequestUrlElement != null) yield return EncodeRequestUrlElement; - if (MethodElement != null) yield return MethodElement; - if (OriginElement != null) yield return OriginElement; - if (ParamsElement != null) yield return ParamsElement; - foreach (var elem in RequestHeader) { if (elem != null) yield return elem; } - if (RequestIdElement != null) yield return RequestIdElement; - if (ResponseIdElement != null) yield return ResponseIdElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (TargetIdElement != null) yield return TargetIdElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AcceptElement != null) yield return new ElementValue("accept", AcceptElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - if (EncodeRequestUrlElement != null) yield return new ElementValue("encodeRequestUrl", EncodeRequestUrlElement); - if (MethodElement != null) yield return new ElementValue("method", MethodElement); - if (OriginElement != null) yield return new ElementValue("origin", OriginElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - foreach (var elem in RequestHeader) { if (elem != null) yield return new ElementValue("requestHeader", elem); } - if (RequestIdElement != null) yield return new ElementValue("requestId", RequestIdElement); - if (ResponseIdElement != null) yield return new ElementValue("responseId", ResponseIdElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3246,28 +2974,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FieldElement != null) yield return FieldElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FieldElement != null) yield return new ElementValue("field", FieldElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4125,68 +3831,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (DirectionElement != null) yield return DirectionElement; - if (CompareToSourceIdElement != null) yield return CompareToSourceIdElement; - if (CompareToSourceExpressionElement != null) yield return CompareToSourceExpressionElement; - if (CompareToSourcePathElement != null) yield return CompareToSourcePathElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (MinimumIdElement != null) yield return MinimumIdElement; - if (NavigationLinksElement != null) yield return NavigationLinksElement; - if (OperatorElement != null) yield return OperatorElement; - if (PathElement != null) yield return PathElement; - if (RequestMethodElement != null) yield return RequestMethodElement; - if (RequestURLElement != null) yield return RequestURLElement; - if (ResourceElement != null) yield return ResourceElement; - if (ResponseElement != null) yield return ResponseElement; - if (ResponseCodeElement != null) yield return ResponseCodeElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (ValidateProfileIdElement != null) yield return ValidateProfileIdElement; - if (ValueElement != null) yield return ValueElement; - if (WarningOnlyElement != null) yield return WarningOnlyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - if (CompareToSourceIdElement != null) yield return new ElementValue("compareToSourceId", CompareToSourceIdElement); - if (CompareToSourceExpressionElement != null) yield return new ElementValue("compareToSourceExpression", CompareToSourceExpressionElement); - if (CompareToSourcePathElement != null) yield return new ElementValue("compareToSourcePath", CompareToSourcePathElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (MinimumIdElement != null) yield return new ElementValue("minimumId", MinimumIdElement); - if (NavigationLinksElement != null) yield return new ElementValue("navigationLinks", NavigationLinksElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (RequestMethodElement != null) yield return new ElementValue("requestMethod", RequestMethodElement); - if (RequestURLElement != null) yield return new ElementValue("requestURL", RequestURLElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResponseElement != null) yield return new ElementValue("response", ResponseElement); - if (ResponseCodeElement != null) yield return new ElementValue("responseCode", ResponseCodeElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (ValidateProfileIdElement != null) yield return new ElementValue("validateProfileId", ValidateProfileIdElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (WarningOnlyElement != null) yield return new ElementValue("warningOnly", WarningOnlyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4505,30 +4149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4665,28 +4285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4800,26 +4398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4927,26 +4505,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5621,72 +5179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Origin) { if (elem != null) yield return elem; } - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Metadata != null) yield return Metadata; - foreach (var elem in Fixture) { if (elem != null) yield return elem; } - foreach (var elem in Profile) { if (elem != null) yield return elem; } - foreach (var elem in Variable) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Origin) { if (elem != null) yield return new ElementValue("origin", elem); } - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Metadata != null) yield return new ElementValue("metadata", Metadata); - foreach (var elem in Fixture) { if (elem != null) yield return new ElementValue("fixture", elem); } - foreach (var elem in Profile) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs b/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs index 858912b39..4fa6d8948 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/Timing.cs @@ -839,54 +839,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Bounds != null) yield return Bounds; - if (CountElement != null) yield return CountElement; - if (CountMaxElement != null) yield return CountMaxElement; - if (DurationElement != null) yield return DurationElement; - if (DurationMaxElement != null) yield return DurationMaxElement; - if (DurationUnitElement != null) yield return DurationUnitElement; - if (FrequencyElement != null) yield return FrequencyElement; - if (FrequencyMaxElement != null) yield return FrequencyMaxElement; - if (PeriodElement != null) yield return PeriodElement; - if (PeriodMaxElement != null) yield return PeriodMaxElement; - if (PeriodUnitElement != null) yield return PeriodUnitElement; - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return elem; } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return elem; } - foreach (var elem in WhenElement) { if (elem != null) yield return elem; } - if (OffsetElement != null) yield return OffsetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Bounds != null) yield return new ElementValue("bounds", Bounds); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (CountMaxElement != null) yield return new ElementValue("countMax", CountMaxElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (DurationMaxElement != null) yield return new ElementValue("durationMax", DurationMaxElement); - if (DurationUnitElement != null) yield return new ElementValue("durationUnit", DurationUnitElement); - if (FrequencyElement != null) yield return new ElementValue("frequency", FrequencyElement); - if (FrequencyMaxElement != null) yield return new ElementValue("frequencyMax", FrequencyMaxElement); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (PeriodMaxElement != null) yield return new ElementValue("periodMax", PeriodMaxElement); - if (PeriodUnitElement != null) yield return new ElementValue("periodUnit", PeriodUnitElement); - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return new ElementValue("dayOfWeek", elem); } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return new ElementValue("timeOfDay", elem); } - foreach (var elem in WhenElement) { if (elem != null) yield return new ElementValue("when", elem); } - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1126,30 +1078,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return elem; } - if (Repeat != null) yield return Repeat; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return new ElementValue("event", elem); } - if (Repeat != null) yield return new ElementValue("repeat", Repeat); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs index 4b42899ad..212e382aa 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/TriggerDefinition.cs @@ -280,34 +280,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (Timing != null) yield return Timing; - foreach (var elem in Data) { if (elem != null) yield return elem; } - if (Condition != null) yield return Condition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - if (Condition != null) yield return new ElementValue("condition", Condition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs index 0210b72d3..bc87fbd78 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/VerificationResult.cs @@ -294,38 +294,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return elem; } - if (ValidationStatus != null) yield return ValidationStatus; - if (ValidationDateElement != null) yield return ValidationDateElement; - if (CanPushUpdates != null) yield return CanPushUpdates; - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return new ElementValue("communicationMethod", elem); } - if (ValidationStatus != null) yield return new ElementValue("validationStatus", ValidationStatus); - if (ValidationDateElement != null) yield return new ElementValue("validationDate", ValidationDateElement); - if (CanPushUpdates != null) yield return new ElementValue("canPushUpdates", CanPushUpdates); - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return new ElementValue("pushTypeAvailable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -641,40 +609,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (CommunicationMethod != null) yield return CommunicationMethod; - if (DateElement != null) yield return DateElement; - if (SourceIdentityCertificateElement != null) yield return SourceIdentityCertificateElement; - if (ProxyIdentityCertificateElement != null) yield return ProxyIdentityCertificateElement; - if (ProxySignature != null) yield return ProxySignature; - if (SourceSignature != null) yield return SourceSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (CommunicationMethod != null) yield return new ElementValue("communicationMethod", CommunicationMethod); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (SourceIdentityCertificateElement != null) yield return new ElementValue("sourceIdentityCertificate", SourceIdentityCertificateElement); - if (ProxyIdentityCertificateElement != null) yield return new ElementValue("proxyIdentityCertificate", ProxyIdentityCertificateElement); - if (ProxySignature != null) yield return new ElementValue("proxySignature", ProxySignature); - if (SourceSignature != null) yield return new ElementValue("sourceSignature", SourceSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,30 +813,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Organization != null) yield return Organization; - if (IdentityCertificateElement != null) yield return IdentityCertificateElement; - if (AttestationSignature != null) yield return AttestationSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Organization != null) yield return new ElementValue("organization", Organization); - if (IdentityCertificateElement != null) yield return new ElementValue("identityCertificate", IdentityCertificateElement); - if (AttestationSignature != null) yield return new ElementValue("attestationSignature", AttestationSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1318,52 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return elem; } - if (Need != null) yield return Need; - if (StatusElement != null) yield return StatusElement; - if (StatusDateElement != null) yield return StatusDateElement; - if (ValidationType != null) yield return ValidationType; - foreach (var elem in ValidationProcess) { if (elem != null) yield return elem; } - if (Frequency != null) yield return Frequency; - if (LastPerformedElement != null) yield return LastPerformedElement; - if (NextScheduledElement != null) yield return NextScheduledElement; - if (FailureAction != null) yield return FailureAction; - foreach (var elem in PrimarySource) { if (elem != null) yield return elem; } - if (Attestation != null) yield return Attestation; - foreach (var elem in Validator) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return new ElementValue("targetLocation", elem); } - if (Need != null) yield return new ElementValue("need", Need); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (ValidationType != null) yield return new ElementValue("validationType", ValidationType); - foreach (var elem in ValidationProcess) { if (elem != null) yield return new ElementValue("validationProcess", elem); } - if (Frequency != null) yield return new ElementValue("frequency", Frequency); - if (LastPerformedElement != null) yield return new ElementValue("lastPerformed", LastPerformedElement); - if (NextScheduledElement != null) yield return new ElementValue("nextScheduled", NextScheduledElement); - if (FailureAction != null) yield return new ElementValue("failureAction", FailureAction); - foreach (var elem in PrimarySource) { if (elem != null) yield return new ElementValue("primarySource", elem); } - if (Attestation != null) yield return new ElementValue("attestation", Attestation); - foreach (var elem in Validator) { if (elem != null) yield return new ElementValue("validator", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs index eeb836e2e..a51f45ace 100644 --- a/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R4B/Model/Generated/VisionPrescription.cs @@ -581,52 +581,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (EyeElement != null) yield return EyeElement; - if (SphereElement != null) yield return SphereElement; - if (CylinderElement != null) yield return CylinderElement; - if (AxisElement != null) yield return AxisElement; - foreach (var elem in Prism) { if (elem != null) yield return elem; } - if (AddElement != null) yield return AddElement; - if (PowerElement != null) yield return PowerElement; - if (BackCurveElement != null) yield return BackCurveElement; - if (DiameterElement != null) yield return DiameterElement; - if (Duration != null) yield return Duration; - if (ColorElement != null) yield return ColorElement; - if (BrandElement != null) yield return BrandElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (EyeElement != null) yield return new ElementValue("eye", EyeElement); - if (SphereElement != null) yield return new ElementValue("sphere", SphereElement); - if (CylinderElement != null) yield return new ElementValue("cylinder", CylinderElement); - if (AxisElement != null) yield return new ElementValue("axis", AxisElement); - foreach (var elem in Prism) { if (elem != null) yield return new ElementValue("prism", elem); } - if (AddElement != null) yield return new ElementValue("add", AddElement); - if (PowerElement != null) yield return new ElementValue("power", PowerElement); - if (BackCurveElement != null) yield return new ElementValue("backCurve", BackCurveElement); - if (DiameterElement != null) yield return new ElementValue("diameter", DiameterElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (BrandElement != null) yield return new ElementValue("brand", BrandElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,28 +833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AmountElement != null) yield return AmountElement; - if (BaseElement != null) yield return BaseElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AmountElement != null) yield return new ElementValue("amount", AmountElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1180,40 +1112,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateWrittenElement != null) yield return DateWrittenElement; - if (Prescriber != null) yield return Prescriber; - foreach (var elem in LensSpecification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateWrittenElement != null) yield return new ElementValue("dateWritten", DateWrittenElement); - if (Prescriber != null) yield return new ElementValue("prescriber", Prescriber); - foreach (var elem in LensSpecification) { if (elem != null) yield return new ElementValue("lensSpecification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Account.cs b/src/Hl7.Fhir.R5/Model/Generated/Account.cs index 9a217664f..8bc4eeac0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Account.cs @@ -209,28 +209,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (PriorityElement != null) yield return PriorityElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -396,30 +374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Party != null) yield return Party; - if (OnHoldElement != null) yield return OnHoldElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Party != null) yield return new ElementValue("party", Party); - if (OnHoldElement != null) yield return new ElementValue("onHold", OnHoldElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -679,36 +633,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Condition != null) yield return Condition; - if (DateOfDiagnosisElement != null) yield return DateOfDiagnosisElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmissionElement != null) yield return OnAdmissionElement; - foreach (var elem in PackageCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Condition != null) yield return new ElementValue("condition", Condition); - if (DateOfDiagnosisElement != null) yield return new ElementValue("dateOfDiagnosis", DateOfDiagnosisElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmissionElement != null) yield return new ElementValue("onAdmission", OnAdmissionElement); - foreach (var elem in PackageCode) { if (elem != null) yield return new ElementValue("packageCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -973,36 +897,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Code != null) yield return Code; - if (DateOfServiceElement != null) yield return DateOfServiceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in PackageCode) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DateOfServiceElement != null) yield return new ElementValue("dateOfService", DateOfServiceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in PackageCode) { if (elem != null) yield return new ElementValue("packageCode", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1160,28 +1054,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Relationship != null) yield return Relationship; - if (Account != null) yield return Account; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Account != null) yield return new ElementValue("account", Account); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1364,32 +1236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Aggregate != null) yield return Aggregate; - if (Term != null) yield return Term; - if (EstimateElement != null) yield return EstimateElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Aggregate != null) yield return new ElementValue("aggregate", Aggregate); - if (Term != null) yield return new ElementValue("term", Term); - if (EstimateElement != null) yield return new ElementValue("estimate", EstimateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1848,58 +1694,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (BillingStatus != null) yield return BillingStatus; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (ServicePeriod != null) yield return ServicePeriod; - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Guarantor) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAccount) { if (elem != null) yield return elem; } - if (Currency != null) yield return Currency; - foreach (var elem in Balance) { if (elem != null) yield return elem; } - if (CalculatedAtElement != null) yield return CalculatedAtElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (BillingStatus != null) yield return new ElementValue("billingStatus", BillingStatus); - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (ServicePeriod != null) yield return new ElementValue("servicePeriod", ServicePeriod); - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Guarantor) { if (elem != null) yield return new ElementValue("guarantor", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - foreach (var elem in RelatedAccount) { if (elem != null) yield return new ElementValue("relatedAccount", elem); } - if (Currency != null) yield return new ElementValue("currency", Currency); - foreach (var elem in Balance) { if (elem != null) yield return new ElementValue("balance", elem); } - if (CalculatedAtElement != null) yield return new ElementValue("calculatedAt", CalculatedAtElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs index 5351f7ec9..675d8f9b8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ActivityDefinition.cs @@ -348,34 +348,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TypeCanonicalElement != null) yield return TypeCanonicalElement; - if (TypeReference != null) yield return TypeReference; - if (Role != null) yield return Role; - if (Function != null) yield return Function; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TypeCanonicalElement != null) yield return new ElementValue("typeCanonical", TypeCanonicalElement); - if (TypeReference != null) yield return new ElementValue("typeReference", TypeReference); - if (Role != null) yield return new ElementValue("role", Role); - if (Function != null) yield return new ElementValue("function", Function); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -546,28 +518,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1948,122 +1898,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (ProfileElement != null) yield return ProfileElement; - if (Code != null) yield return Code; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Timing != null) yield return Timing; - if (AsNeeded != null) yield return AsNeeded; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (Quantity != null) yield return Quantity; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in SpecimenRequirementElement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationRequirementElement) { if (elem != null) yield return elem; } - foreach (var elem in ObservationResultRequirementElement) { if (elem != null) yield return elem; } - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (Code != null) yield return new ElementValue("code", Code); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in SpecimenRequirementElement) { if (elem != null) yield return new ElementValue("specimenRequirement", elem); } - foreach (var elem in ObservationRequirementElement) { if (elem != null) yield return new ElementValue("observationRequirement", elem); } - foreach (var elem in ObservationResultRequirementElement) { if (elem != null) yield return new ElementValue("observationResultRequirement", elem); } - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs index a4a2a22bd..31dd7917f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ActorDefinition.cs @@ -774,68 +774,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (TypeElement != null) yield return TypeElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in ReferenceElement) { if (elem != null) yield return elem; } - if (CapabilitiesElement != null) yield return CapabilitiesElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in ReferenceElement) { if (elem != null) yield return new ElementValue("reference", elem); } - if (CapabilitiesElement != null) yield return new ElementValue("capabilities", CapabilitiesElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Address.cs b/src/Hl7.Fhir.R5/Model/Generated/Address.cs index 8a411d7d6..7e18391c2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Address.cs @@ -495,44 +495,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in LineElement) { if (elem != null) yield return elem; } - if (CityElement != null) yield return CityElement; - if (DistrictElement != null) yield return DistrictElement; - if (StateElement != null) yield return StateElement; - if (PostalCodeElement != null) yield return PostalCodeElement; - if (CountryElement != null) yield return CountryElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LineElement) { if (elem != null) yield return new ElementValue("line", elem); } - if (CityElement != null) yield return new ElementValue("city", CityElement); - if (DistrictElement != null) yield return new ElementValue("district", DistrictElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (PostalCodeElement != null) yield return new ElementValue("postalCode", PostalCodeElement); - if (CountryElement != null) yield return new ElementValue("country", CountryElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs index 6013b8ecb..76bc2875b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AdministrableProductDefinition.cs @@ -165,30 +165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - if (Status != null) yield return Status; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - if (Status != null) yield return new ElementValue("status", Status); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -407,38 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (FirstDose != null) yield return FirstDose; - if (MaxSingleDose != null) yield return MaxSingleDose; - if (MaxDosePerDay != null) yield return MaxDosePerDay; - if (MaxDosePerTreatmentPeriod != null) yield return MaxDosePerTreatmentPeriod; - if (MaxTreatmentPeriod != null) yield return MaxTreatmentPeriod; - foreach (var elem in TargetSpecies) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (FirstDose != null) yield return new ElementValue("firstDose", FirstDose); - if (MaxSingleDose != null) yield return new ElementValue("maxSingleDose", MaxSingleDose); - if (MaxDosePerDay != null) yield return new ElementValue("maxDosePerDay", MaxDosePerDay); - if (MaxDosePerTreatmentPeriod != null) yield return new ElementValue("maxDosePerTreatmentPeriod", MaxDosePerTreatmentPeriod); - if (MaxTreatmentPeriod != null) yield return new ElementValue("maxTreatmentPeriod", MaxTreatmentPeriod); - foreach (var elem in TargetSpecies) { if (elem != null) yield return new ElementValue("targetSpecies", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -602,28 +546,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in WithdrawalPeriod) { if (elem != null) yield return new ElementValue("withdrawalPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -786,30 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Tissue != null) yield return Tissue; - if (Value != null) yield return Value; - if (SupportingInformationElement != null) yield return SupportingInformationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Tissue != null) yield return new ElementValue("tissue", Tissue); - if (Value != null) yield return new ElementValue("value", Value); - if (SupportingInformationElement != null) yield return new ElementValue("supportingInformation", SupportingInformationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1129,46 +1027,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in FormOf) { if (elem != null) yield return elem; } - if (AdministrableDoseForm != null) yield return AdministrableDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - foreach (var elem in ProducedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Device != null) yield return Device; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in FormOf) { if (elem != null) yield return new ElementValue("formOf", elem); } - if (AdministrableDoseForm != null) yield return new ElementValue("administrableDoseForm", AdministrableDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - foreach (var elem in ProducedFrom) { if (elem != null) yield return new ElementValue("producedFrom", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Device != null) yield return new ElementValue("device", Device); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in RouteOfAdministration) { if (elem != null) yield return new ElementValue("routeOfAdministration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs index 8feab0662..a9247626a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AdverseEvent.cs @@ -206,28 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -360,28 +338,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Instance != null) yield return Instance; - if (Causality != null) yield return Causality; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Instance != null) yield return new ElementValue("instance", Instance); - if (Causality != null) yield return new ElementValue("causality", Causality); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -527,30 +483,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AssessmentMethod != null) yield return AssessmentMethod; - if (EntityRelatedness != null) yield return EntityRelatedness; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AssessmentMethod != null) yield return new ElementValue("assessmentMethod", AssessmentMethod); - if (EntityRelatedness != null) yield return new ElementValue("entityRelatedness", EntityRelatedness); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -675,26 +607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -802,26 +714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -932,26 +824,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1059,26 +931,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1665,72 +1517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ActualityElement != null) yield return ActualityElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (DetectedElement != null) yield return DetectedElement; - if (RecordedDateElement != null) yield return RecordedDateElement; - foreach (var elem in ResultingEffect) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Seriousness != null) yield return Seriousness; - foreach (var elem in Outcome) { if (elem != null) yield return elem; } - if (Recorder != null) yield return Recorder; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Study) { if (elem != null) yield return elem; } - if (ExpectedInResearchStudyElement != null) yield return ExpectedInResearchStudyElement; - foreach (var elem in SuspectEntity) { if (elem != null) yield return elem; } - foreach (var elem in ContributingFactor) { if (elem != null) yield return elem; } - foreach (var elem in PreventiveAction) { if (elem != null) yield return elem; } - foreach (var elem in MitigatingAction) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ActualityElement != null) yield return new ElementValue("actuality", ActualityElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (DetectedElement != null) yield return new ElementValue("detected", DetectedElement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - foreach (var elem in ResultingEffect) { if (elem != null) yield return new ElementValue("resultingEffect", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Seriousness != null) yield return new ElementValue("seriousness", Seriousness); - foreach (var elem in Outcome) { if (elem != null) yield return new ElementValue("outcome", elem); } - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - if (ExpectedInResearchStudyElement != null) yield return new ElementValue("expectedInResearchStudy", ExpectedInResearchStudyElement); - foreach (var elem in SuspectEntity) { if (elem != null) yield return new ElementValue("suspectEntity", elem); } - foreach (var elem in ContributingFactor) { if (elem != null) yield return new ElementValue("contributingFactor", elem); } - foreach (var elem in PreventiveAction) { if (elem != null) yield return new ElementValue("preventiveAction", elem); } - foreach (var elem in MitigatingAction) { if (elem != null) yield return new ElementValue("mitigatingAction", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs index 7b3b7c729..0da958811 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AllergyIntolerance.cs @@ -309,28 +309,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -600,38 +578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - foreach (var elem in Manifestation) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OnsetElement != null) yield return OnsetElement; - if (SeverityElement != null) yield return SeverityElement; - if (ExposureRoute != null) yield return ExposureRoute; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - foreach (var elem in Manifestation) { if (elem != null) yield return new ElementValue("manifestation", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OnsetElement != null) yield return new ElementValue("onset", OnsetElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (ExposureRoute != null) yield return new ElementValue("exposureRoute", ExposureRoute); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1081,54 +1027,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - if (Type != null) yield return Type; - foreach (var elem in CategoryElement) { if (elem != null) yield return elem; } - if (CriticalityElement != null) yield return CriticalityElement; - if (Code != null) yield return Code; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (RecordedDateElement != null) yield return RecordedDateElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (LastOccurrenceElement != null) yield return LastOccurrenceElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in CategoryElement) { if (elem != null) yield return new ElementValue("category", elem); } - if (CriticalityElement != null) yield return new ElementValue("criticality", CriticalityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (LastOccurrenceElement != null) yield return new ElementValue("lastOccurrence", LastOccurrenceElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs b/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs index a4b5736a7..44caaa660 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Annotation.cs @@ -187,30 +187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Author != null) yield return Author; - if (TimeElement != null) yield return TimeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Author != null) yield return new ElementValue("author", Author); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs b/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs index 59bbe9734..8063cca3d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Appointment.cs @@ -3202,34 +3202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Actor != null) yield return Actor; - if (RequiredElement != null) yield return RequiredElement; - if (StatusElement != null) yield return StatusElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Actor != null) yield return new ElementValue("actor", Actor); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3603,44 +3575,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Timezone != null) yield return Timezone; - if (RecurrenceType != null) yield return RecurrenceType; - if (LastOccurrenceDateElement != null) yield return LastOccurrenceDateElement; - if (OccurrenceCountElement != null) yield return OccurrenceCountElement; - foreach (var elem in OccurrenceDateElement) { if (elem != null) yield return elem; } - if (WeeklyTemplate != null) yield return WeeklyTemplate; - if (MonthlyTemplate != null) yield return MonthlyTemplate; - if (YearlyTemplate != null) yield return YearlyTemplate; - foreach (var elem in ExcludingDateElement) { if (elem != null) yield return elem; } - foreach (var elem in ExcludingRecurrenceIdElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Timezone != null) yield return new ElementValue("timezone", Timezone); - if (RecurrenceType != null) yield return new ElementValue("recurrenceType", RecurrenceType); - if (LastOccurrenceDateElement != null) yield return new ElementValue("lastOccurrenceDate", LastOccurrenceDateElement); - if (OccurrenceCountElement != null) yield return new ElementValue("occurrenceCount", OccurrenceCountElement); - foreach (var elem in OccurrenceDateElement) { if (elem != null) yield return new ElementValue("occurrenceDate", elem); } - if (WeeklyTemplate != null) yield return new ElementValue("weeklyTemplate", WeeklyTemplate); - if (MonthlyTemplate != null) yield return new ElementValue("monthlyTemplate", MonthlyTemplate); - if (YearlyTemplate != null) yield return new ElementValue("yearlyTemplate", YearlyTemplate); - foreach (var elem in ExcludingDateElement) { if (elem != null) yield return new ElementValue("excludingDate", elem); } - foreach (var elem in ExcludingRecurrenceIdElement) { if (elem != null) yield return new ElementValue("excludingRecurrenceId", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4062,40 +3996,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MondayElement != null) yield return MondayElement; - if (TuesdayElement != null) yield return TuesdayElement; - if (WednesdayElement != null) yield return WednesdayElement; - if (ThursdayElement != null) yield return ThursdayElement; - if (FridayElement != null) yield return FridayElement; - if (SaturdayElement != null) yield return SaturdayElement; - if (SundayElement != null) yield return SundayElement; - if (WeekIntervalElement != null) yield return WeekIntervalElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MondayElement != null) yield return new ElementValue("monday", MondayElement); - if (TuesdayElement != null) yield return new ElementValue("tuesday", TuesdayElement); - if (WednesdayElement != null) yield return new ElementValue("wednesday", WednesdayElement); - if (ThursdayElement != null) yield return new ElementValue("thursday", ThursdayElement); - if (FridayElement != null) yield return new ElementValue("friday", FridayElement); - if (SaturdayElement != null) yield return new ElementValue("saturday", SaturdayElement); - if (SundayElement != null) yield return new ElementValue("sunday", SundayElement); - if (WeekIntervalElement != null) yield return new ElementValue("weekInterval", WeekIntervalElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4334,32 +4234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DayOfMonthElement != null) yield return DayOfMonthElement; - if (NthWeekOfMonth != null) yield return NthWeekOfMonth; - if (DayOfWeek != null) yield return DayOfWeek; - if (MonthIntervalElement != null) yield return MonthIntervalElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DayOfMonthElement != null) yield return new ElementValue("dayOfMonth", DayOfMonthElement); - if (NthWeekOfMonth != null) yield return new ElementValue("nthWeekOfMonth", NthWeekOfMonth); - if (DayOfWeek != null) yield return new ElementValue("dayOfWeek", DayOfWeek); - if (MonthIntervalElement != null) yield return new ElementValue("monthInterval", MonthIntervalElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4502,26 +4376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (YearIntervalElement != null) yield return YearIntervalElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (YearIntervalElement != null) yield return new ElementValue("yearInterval", YearIntervalElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5315,88 +5169,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancellationReason != null) yield return CancellationReason; - foreach (var elem in Class) { if (elem != null) yield return elem; } - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - foreach (var elem in VirtualService) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (PreviousAppointment != null) yield return PreviousAppointment; - if (OriginatingAppointment != null) yield return OriginatingAppointment; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (MinutesDurationElement != null) yield return MinutesDurationElement; - foreach (var elem in RequestedPeriod) { if (elem != null) yield return elem; } - foreach (var elem in Slot) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - if (CreatedElement != null) yield return CreatedElement; - if (CancellationDateElement != null) yield return CancellationDateElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in PatientInstruction) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (RecurrenceIdElement != null) yield return RecurrenceIdElement; - if (OccurrenceChangedElement != null) yield return OccurrenceChangedElement; - foreach (var elem in RecurrenceTemplate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancellationReason != null) yield return new ElementValue("cancellationReason", CancellationReason); - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - foreach (var elem in VirtualService) { if (elem != null) yield return new ElementValue("virtualService", elem); } - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (PreviousAppointment != null) yield return new ElementValue("previousAppointment", PreviousAppointment); - if (OriginatingAppointment != null) yield return new ElementValue("originatingAppointment", OriginatingAppointment); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (MinutesDurationElement != null) yield return new ElementValue("minutesDuration", MinutesDurationElement); - foreach (var elem in RequestedPeriod) { if (elem != null) yield return new ElementValue("requestedPeriod", elem); } - foreach (var elem in Slot) { if (elem != null) yield return new ElementValue("slot", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (CancellationDateElement != null) yield return new ElementValue("cancellationDate", CancellationDateElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in PatientInstruction) { if (elem != null) yield return new ElementValue("patientInstruction", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (RecurrenceIdElement != null) yield return new ElementValue("recurrenceId", RecurrenceIdElement); - if (OccurrenceChangedElement != null) yield return new ElementValue("occurrenceChanged", OccurrenceChangedElement); - foreach (var elem in RecurrenceTemplate) { if (elem != null) yield return new ElementValue("recurrenceTemplate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs index c572e216b..b58e0e654 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AppointmentResponse.cs @@ -484,48 +484,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Appointment != null) yield return Appointment; - if (ProposedNewTimeElement != null) yield return ProposedNewTimeElement; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - foreach (var elem in ParticipantType) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (ParticipantStatusElement != null) yield return ParticipantStatusElement; - if (CommentElement != null) yield return CommentElement; - if (RecurringElement != null) yield return RecurringElement; - if (OccurrenceDateElement != null) yield return OccurrenceDateElement; - if (RecurrenceIdElement != null) yield return RecurrenceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Appointment != null) yield return new ElementValue("appointment", Appointment); - if (ProposedNewTimeElement != null) yield return new ElementValue("proposedNewTime", ProposedNewTimeElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - foreach (var elem in ParticipantType) { if (elem != null) yield return new ElementValue("participantType", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (ParticipantStatusElement != null) yield return new ElementValue("participantStatus", ParticipantStatusElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (RecurringElement != null) yield return new ElementValue("recurring", RecurringElement); - if (OccurrenceDateElement != null) yield return new ElementValue("occurrenceDate", OccurrenceDateElement); - if (RecurrenceIdElement != null) yield return new ElementValue("recurrenceId", RecurrenceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs b/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs index 13dca4b30..86ca15e6f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ArtifactAssessment.cs @@ -512,44 +512,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InformationTypeElement != null) yield return InformationTypeElement; - if (SummaryElement != null) yield return SummaryElement; - if (Type != null) yield return Type; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (Author != null) yield return Author; - foreach (var elem in PathElement) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (FreeToShareElement != null) yield return FreeToShareElement; - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InformationTypeElement != null) yield return new ElementValue("informationType", InformationTypeElement); - if (SummaryElement != null) yield return new ElementValue("summary", SummaryElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in PathElement) { if (elem != null) yield return new ElementValue("path", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (FreeToShareElement != null) yield return new ElementValue("freeToShare", FreeToShareElement); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1003,46 +965,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (CiteAs != null) yield return CiteAs; - if (DateElement != null) yield return DateElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (Artifact != null) yield return Artifact; - foreach (var elem in Content) { if (elem != null) yield return elem; } - if (WorkflowStatusElement != null) yield return WorkflowStatusElement; - if (DispositionElement != null) yield return DispositionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (CiteAs != null) yield return new ElementValue("citeAs", CiteAs); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (Artifact != null) yield return new ElementValue("artifact", Artifact); - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - if (WorkflowStatusElement != null) yield return new ElementValue("workflowStatus", WorkflowStatusElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs index 259346af2..6c8c4eb9c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/AuditEvent.cs @@ -250,28 +250,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -549,40 +527,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (RequestorElement != null) yield return RequestorElement; - if (Location != null) yield return Location; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Network != null) yield return Network; - foreach (var elem in Authorization) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (RequestorElement != null) yield return new ElementValue("requestor", RequestorElement); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Network != null) yield return new ElementValue("network", Network); - foreach (var elem in Authorization) { if (elem != null) yield return new ElementValue("authorization", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -777,30 +721,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Site != null) yield return Site; - if (Observer != null) yield return Observer; - foreach (var elem in Type) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Site != null) yield return new ElementValue("site", Site); - if (Observer != null) yield return new ElementValue("observer", Observer); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1026,36 +946,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (What != null) yield return What; - if (Role != null) yield return Role; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (QueryElement != null) yield return QueryElement; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (What != null) yield return new ElementValue("what", What); - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (QueryElement != null) yield return new ElementValue("query", QueryElement); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1217,28 +1107,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1620,52 +1488,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (ActionElement != null) yield return ActionElement; - if (SeverityElement != null) yield return SeverityElement; - if (Occurred != null) yield return Occurred; - if (RecordedElement != null) yield return RecordedElement; - if (Outcome != null) yield return Outcome; - foreach (var elem in Authorization) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Entity) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (ActionElement != null) yield return new ElementValue("action", ActionElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (Occurred != null) yield return new ElementValue("occurred", Occurred); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - foreach (var elem in Authorization) { if (elem != null) yield return new ElementValue("authorization", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Availability.cs b/src/Hl7.Fhir.R5/Model/Generated/Availability.cs index 1aea6efb1..a0862bb52 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Availability.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Availability.cs @@ -247,32 +247,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -430,28 +404,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -566,28 +518,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailableTime) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailableTime) { if (elem != null) yield return new ElementValue("notAvailableTime", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Basic.cs b/src/Hl7.Fhir.R5/Model/Generated/Basic.cs index 4e7667f6c..e6164b734 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Basic.cs @@ -205,34 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs index ec8985b17..c60feb2d0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProduct.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Source != null) yield return Source; - if (Collected != null) yield return Collected; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Source != null) yield return new ElementValue("source", Source); - if (Collected != null) yield return new ElementValue("collected", Collected); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -693,50 +647,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductCategory != null) yield return ProductCategory; - if (ProductCode != null) yield return ProductCode; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Request) { if (elem != null) yield return elem; } - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (BiologicalSourceEvent != null) yield return BiologicalSourceEvent; - foreach (var elem in ProcessingFacility) { if (elem != null) yield return elem; } - if (DivisionElement != null) yield return DivisionElement; - if (ProductStatus != null) yield return ProductStatus; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (Collection != null) yield return Collection; - if (StorageTempRequirements != null) yield return StorageTempRequirements; - foreach (var elem in Property) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductCategory != null) yield return new ElementValue("productCategory", ProductCategory); - if (ProductCode != null) yield return new ElementValue("productCode", ProductCode); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (BiologicalSourceEvent != null) yield return new ElementValue("biologicalSourceEvent", BiologicalSourceEvent); - foreach (var elem in ProcessingFacility) { if (elem != null) yield return new ElementValue("processingFacility", elem); } - if (DivisionElement != null) yield return new ElementValue("division", DivisionElement); - if (ProductStatus != null) yield return new ElementValue("productStatus", ProductStatus); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (Collection != null) yield return new ElementValue("collection", Collection); - if (StorageTempRequirements != null) yield return new ElementValue("storageTempRequirements", StorageTempRequirements); - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs index f24524caf..8cb00b6ea 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BiologicallyDerivedProductDispense.cs @@ -205,28 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -661,56 +639,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (OriginRelationshipType != null) yield return OriginRelationshipType; - if (Product != null) yield return Product; - if (Patient != null) yield return Patient; - if (MatchStatus != null) yield return MatchStatus; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (PreparedDateElement != null) yield return PreparedDateElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (UsageInstructionElement != null) yield return UsageInstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (OriginRelationshipType != null) yield return new ElementValue("originRelationshipType", OriginRelationshipType); - if (Product != null) yield return new ElementValue("product", Product); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (MatchStatus != null) yield return new ElementValue("matchStatus", MatchStatus); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (PreparedDateElement != null) yield return new ElementValue("preparedDate", PreparedDateElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (UsageInstructionElement != null) yield return new ElementValue("usageInstruction", UsageInstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs b/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs index 22957e021..131d19a80 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/BodyStructure.cs @@ -203,34 +203,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Structure != null) yield return Structure; - if (Laterality != null) yield return Laterality; - foreach (var elem in BodyLandmarkOrientation) { if (elem != null) yield return elem; } - foreach (var elem in SpatialReference) { if (elem != null) yield return elem; } - foreach (var elem in Qualifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Structure != null) yield return new ElementValue("structure", Structure); - if (Laterality != null) yield return new ElementValue("laterality", Laterality); - foreach (var elem in BodyLandmarkOrientation) { if (elem != null) yield return new ElementValue("bodyLandmarkOrientation", elem); } - foreach (var elem in SpatialReference) { if (elem != null) yield return new ElementValue("spatialReference", elem); } - foreach (var elem in Qualifier) { if (elem != null) yield return new ElementValue("qualifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -419,32 +391,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in LandmarkDescription) { if (elem != null) yield return elem; } - foreach (var elem in ClockFacePosition) { if (elem != null) yield return elem; } - foreach (var elem in DistanceFromLandmark) { if (elem != null) yield return elem; } - foreach (var elem in SurfaceOrientation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in LandmarkDescription) { if (elem != null) yield return new ElementValue("landmarkDescription", elem); } - foreach (var elem in ClockFacePosition) { if (elem != null) yield return new ElementValue("clockFacePosition", elem); } - foreach (var elem in DistanceFromLandmark) { if (elem != null) yield return new ElementValue("distanceFromLandmark", elem); } - foreach (var elem in SurfaceOrientation) { if (elem != null) yield return new ElementValue("surfaceOrientation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -590,28 +536,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Value) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Value) { if (elem != null) yield return new ElementValue("value", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -866,40 +790,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Morphology != null) yield return Morphology; - foreach (var elem in IncludedStructure) { if (elem != null) yield return elem; } - foreach (var elem in ExcludedStructure) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Morphology != null) yield return new ElementValue("morphology", Morphology); - foreach (var elem in IncludedStructure) { if (elem != null) yield return new ElementValue("includedStructure", elem); } - foreach (var elem in ExcludedStructure) { if (elem != null) yield return new ElementValue("excludedStructure", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs index 3fbbfa922..0725ad942 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CarePlan.cs @@ -207,30 +207,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in PerformedActivity) { if (elem != null) yield return elem; } - foreach (var elem in Progress) { if (elem != null) yield return elem; } - if (PlannedActivityReference != null) yield return PlannedActivityReference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in PerformedActivity) { if (elem != null) yield return new ElementValue("performedActivity", elem); } - foreach (var elem in Progress) { if (elem != null) yield return new ElementValue("progress", elem); } - if (PlannedActivityReference != null) yield return new ElementValue("plannedActivityReference", PlannedActivityReference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -857,70 +833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (Custodian != null) yield return Custodian; - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Activity) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Activity) { if (elem != null) yield return new ElementValue("activity", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs index 4f91b415f..8aefa3fe8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CareTeam.cs @@ -225,32 +225,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Member != null) yield return Member; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (Coverage != null) yield return Coverage; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Member != null) yield return new ElementValue("member", Member); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -574,46 +548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return new ElementValue("managingOrganization", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs index d8c8de326..a762ff4a9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ChargeItem.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -836,76 +814,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return elem; } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (PerformingOrganization != null) yield return PerformingOrganization; - if (RequestingOrganization != null) yield return RequestingOrganization; - if (CostCenter != null) yield return CostCenter; - if (Quantity != null) yield return Quantity; - foreach (var elem in Bodysite) { if (elem != null) yield return elem; } - if (UnitPriceComponent != null) yield return UnitPriceComponent; - if (TotalPriceComponent != null) yield return TotalPriceComponent; - if (OverrideReason != null) yield return OverrideReason; - if (Enterer != null) yield return Enterer; - if (EnteredDateElement != null) yield return EnteredDateElement; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Service) { if (elem != null) yield return elem; } - foreach (var elem in Product) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in DefinitionUriElement) { if (elem != null) yield return new ElementValue("definitionUri", elem); } - foreach (var elem in DefinitionCanonicalElement) { if (elem != null) yield return new ElementValue("definitionCanonical", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (PerformingOrganization != null) yield return new ElementValue("performingOrganization", PerformingOrganization); - if (RequestingOrganization != null) yield return new ElementValue("requestingOrganization", RequestingOrganization); - if (CostCenter != null) yield return new ElementValue("costCenter", CostCenter); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Bodysite) { if (elem != null) yield return new ElementValue("bodysite", elem); } - if (UnitPriceComponent != null) yield return new ElementValue("unitPriceComponent", UnitPriceComponent); - if (TotalPriceComponent != null) yield return new ElementValue("totalPriceComponent", TotalPriceComponent); - if (OverrideReason != null) yield return new ElementValue("overrideReason", OverrideReason); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (EnteredDateElement != null) yield return new ElementValue("enteredDate", EnteredDateElement); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - foreach (var elem in Product) { if (elem != null) yield return new ElementValue("product", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs index 6ec64265d..4eb18dfdb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ChargeItemDefinition.cs @@ -163,30 +163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (EffectivePeriod != null) yield return EffectivePeriod; - if (RelatedArtifact != null) yield return RelatedArtifact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - if (RelatedArtifact != null) yield return new ElementValue("relatedArtifact", RelatedArtifact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -324,28 +300,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1169,76 +1123,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return elem; } - foreach (var elem in PartOfElement) { if (elem != null) yield return elem; } - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (Code != null) yield return Code; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Applicability) { if (elem != null) yield return elem; } - foreach (var elem in PropertyGroup) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return new ElementValue("derivedFromUri", elem); } - foreach (var elem in PartOfElement) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Applicability) { if (elem != null) yield return new ElementValue("applicability", elem); } - foreach (var elem in PropertyGroup) { if (elem != null) yield return new ElementValue("propertyGroup", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Citation.cs b/src/Hl7.Fhir.R5/Model/Generated/Citation.cs index 66dae51e4..d026ba8cd 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Citation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Citation.cs @@ -401,28 +401,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Style != null) yield return Style; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Style != null) yield return new ElementValue("style", Style); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -554,28 +532,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -742,30 +698,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Activity != null) yield return Activity; - if (ActualElement != null) yield return ActualElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Activity != null) yield return new ElementValue("activity", Activity); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1136,54 +1068,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return elem; } - if (DateAccessedElement != null) yield return DateAccessedElement; - if (Version != null) yield return Version; - foreach (var elem in CurrentState) { if (elem != null) yield return elem; } - foreach (var elem in StatusDate) { if (elem != null) yield return elem; } - foreach (var elem in Title) { if (elem != null) yield return elem; } - foreach (var elem in Abstract) { if (elem != null) yield return elem; } - if (Part != null) yield return Part; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in PublicationForm) { if (elem != null) yield return elem; } - foreach (var elem in WebLocation) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (Contributorship != null) yield return Contributorship; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return new ElementValue("relatedIdentifier", elem); } - if (DateAccessedElement != null) yield return new ElementValue("dateAccessed", DateAccessedElement); - if (Version != null) yield return new ElementValue("version", Version); - foreach (var elem in CurrentState) { if (elem != null) yield return new ElementValue("currentState", elem); } - foreach (var elem in StatusDate) { if (elem != null) yield return new ElementValue("statusDate", elem); } - foreach (var elem in Title) { if (elem != null) yield return new ElementValue("title", elem); } - foreach (var elem in Abstract) { if (elem != null) yield return new ElementValue("abstract", elem); } - if (Part != null) yield return new ElementValue("part", Part); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in PublicationForm) { if (elem != null) yield return new ElementValue("publicationForm", elem); } - foreach (var elem in WebLocation) { if (elem != null) yield return new ElementValue("webLocation", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (Contributorship != null) yield return new ElementValue("contributorship", Contributorship); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1421,28 +1305,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (BaseCitation != null) yield return BaseCitation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (BaseCitation != null) yield return new ElementValue("baseCitation", BaseCitation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1608,30 +1470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Activity != null) yield return Activity; - if (ActualElement != null) yield return ActualElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Activity != null) yield return new ElementValue("activity", Activity); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1802,30 +1640,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Language != null) yield return Language; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Language != null) yield return new ElementValue("language", Language); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2032,32 +1846,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Language != null) yield return Language; - if (TextElement != null) yield return TextElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Language != null) yield return new ElementValue("language", Language); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2234,30 +2022,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - if (BaseCitation != null) yield return BaseCitation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (BaseCitation != null) yield return new ElementValue("baseCitation", BaseCitation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2584,40 +2348,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (LabelElement != null) yield return LabelElement; - if (DisplayElement != null) yield return DisplayElement; - if (CitationElement != null) yield return CitationElement; - if (Document != null) yield return Document; - if (ResourceElement != null) yield return ResourceElement; - if (ResourceReference != null) yield return ResourceReference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (CitationElement != null) yield return new ElementValue("citation", CitationElement); - if (Document != null) yield return new ElementValue("document", Document); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResourceReference != null) yield return new ElementValue("resourceReference", ResourceReference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3215,54 +2945,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PublishedIn != null) yield return PublishedIn; - if (CitedMedium != null) yield return CitedMedium; - if (VolumeElement != null) yield return VolumeElement; - if (IssueElement != null) yield return IssueElement; - if (ArticleDateElement != null) yield return ArticleDateElement; - if (PublicationDateTextElement != null) yield return PublicationDateTextElement; - if (PublicationDateSeasonElement != null) yield return PublicationDateSeasonElement; - if (LastRevisionDateElement != null) yield return LastRevisionDateElement; - foreach (var elem in Language) { if (elem != null) yield return elem; } - if (AccessionNumberElement != null) yield return AccessionNumberElement; - if (PageStringElement != null) yield return PageStringElement; - if (FirstPageElement != null) yield return FirstPageElement; - if (LastPageElement != null) yield return LastPageElement; - if (PageCountElement != null) yield return PageCountElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PublishedIn != null) yield return new ElementValue("publishedIn", PublishedIn); - if (CitedMedium != null) yield return new ElementValue("citedMedium", CitedMedium); - if (VolumeElement != null) yield return new ElementValue("volume", VolumeElement); - if (IssueElement != null) yield return new ElementValue("issue", IssueElement); - if (ArticleDateElement != null) yield return new ElementValue("articleDate", ArticleDateElement); - if (PublicationDateTextElement != null) yield return new ElementValue("publicationDateText", PublicationDateTextElement); - if (PublicationDateSeasonElement != null) yield return new ElementValue("publicationDateSeason", PublicationDateSeasonElement); - if (LastRevisionDateElement != null) yield return new ElementValue("lastRevisionDate", LastRevisionDateElement); - foreach (var elem in Language) { if (elem != null) yield return new ElementValue("language", elem); } - if (AccessionNumberElement != null) yield return new ElementValue("accessionNumber", AccessionNumberElement); - if (PageStringElement != null) yield return new ElementValue("pageString", PageStringElement); - if (FirstPageElement != null) yield return new ElementValue("firstPage", FirstPageElement); - if (LastPageElement != null) yield return new ElementValue("lastPage", LastPageElement); - if (PageCountElement != null) yield return new ElementValue("pageCount", PageCountElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3567,34 +3249,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (Publisher != null) yield return Publisher; - if (PublisherLocationElement != null) yield return PublisherLocationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (PublisherLocationElement != null) yield return new ElementValue("publisherLocation", PublisherLocationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3761,28 +3415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3930,30 +3562,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - foreach (var elem in ArtifactAssessment) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - foreach (var elem in ArtifactAssessment) { if (elem != null) yield return new ElementValue("artifactAssessment", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4125,30 +3733,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CompleteElement != null) yield return CompleteElement; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - foreach (var elem in Summary) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CompleteElement != null) yield return new ElementValue("complete", CompleteElement); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - foreach (var elem in Summary) { if (elem != null) yield return new ElementValue("summary", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4445,40 +4029,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Contributor != null) yield return Contributor; - if (ForenameInitialsElement != null) yield return ForenameInitialsElement; - foreach (var elem in Affiliation) { if (elem != null) yield return elem; } - foreach (var elem in ContributionType) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - foreach (var elem in ContributionInstance) { if (elem != null) yield return elem; } - if (CorrespondingContactElement != null) yield return CorrespondingContactElement; - if (RankingOrderElement != null) yield return RankingOrderElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Contributor != null) yield return new ElementValue("contributor", Contributor); - if (ForenameInitialsElement != null) yield return new ElementValue("forenameInitials", ForenameInitialsElement); - foreach (var elem in Affiliation) { if (elem != null) yield return new ElementValue("affiliation", elem); } - foreach (var elem in ContributionType) { if (elem != null) yield return new ElementValue("contributionType", elem); } - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in ContributionInstance) { if (elem != null) yield return new ElementValue("contributionInstance", elem); } - if (CorrespondingContactElement != null) yield return new ElementValue("correspondingContact", CorrespondingContactElement); - if (RankingOrderElement != null) yield return new ElementValue("rankingOrder", RankingOrderElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4666,28 +4216,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4867,32 +4395,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Style != null) yield return Style; - if (Source != null) yield return Source; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Style != null) yield return new ElementValue("style", Style); - if (Source != null) yield return new ElementValue("source", Source); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5758,86 +5260,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in Summary) { if (elem != null) yield return elem; } - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in CurrentState) { if (elem != null) yield return elem; } - foreach (var elem in StatusDate) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (CitedArtifact != null) yield return CitedArtifact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in Summary) { if (elem != null) yield return new ElementValue("summary", elem); } - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in CurrentState) { if (elem != null) yield return new ElementValue("currentState", elem); } - foreach (var elem in StatusDate) { if (elem != null) yield return new ElementValue("statusDate", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (CitedArtifact != null) yield return new ElementValue("citedArtifact", CitedArtifact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Claim.cs b/src/Hl7.Fhir.R5/Model/Generated/Claim.cs index 1bb75f9b9..b0ac67963 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Claim.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -486,28 +440,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (When != null) yield return When; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (When != null) yield return new ElementValue("when", When); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -726,34 +658,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Specialty != null) yield return Specialty; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Specialty != null) yield return new ElementValue("specialty", Specialty); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -996,36 +900,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1241,32 +1115,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1504,34 +1352,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1842,38 +1662,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Identifier != null) yield return Identifier; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2076,30 +1864,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2742,74 +2506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Request) { if (elem != null) yield return elem; } - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3103,28 +2799,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Site) { if (elem != null) yield return elem; } - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3527,56 +3201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4060,54 +3684,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4890,88 +4466,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - if (Facility != null) yield return Facility; - if (DiagnosisRelatedGroup != null) yield return DiagnosisRelatedGroup; - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - if (PatientPaid != null) yield return PatientPaid; - foreach (var elem in Item) { if (elem != null) yield return elem; } - if (Total != null) yield return Total; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - if (Facility != null) yield return new ElementValue("facility", Facility); - if (DiagnosisRelatedGroup != null) yield return new ElementValue("diagnosisRelatedGroup", DiagnosisRelatedGroup); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - if (Total != null) yield return new ElementValue("total", Total); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs index 205d01c6c..8040203a0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClaimResponse.cs @@ -151,28 +151,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (When != null) yield return When; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (When != null) yield return new ElementValue("when", When); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -406,36 +384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,32 +593,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Decision != null) yield return Decision; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (PreAuthPeriod != null) yield return PreAuthPeriod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Decision != null) yield return new ElementValue("decision", Decision); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (PreAuthPeriod != null) yield return new ElementValue("preAuthPeriod", PreAuthPeriod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -848,32 +770,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1121,36 +1017,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1395,34 +1261,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2025,70 +1863,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Request) { if (elem != null) yield return elem; } - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubdetailSequenceElement) { if (elem != null) yield return new ElementValue("subdetailSequence", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2368,28 +2142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Site) { if (elem != null) yield return elem; } - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2755,52 +2507,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3233,50 +2939,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3486,28 +3148,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3722,36 +3362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3979,32 +3589,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4257,34 +3841,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4558,34 +4114,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ItemSequenceElement != null) yield return ItemSequenceElement; - if (DetailSequenceElement != null) yield return DetailSequenceElement; - if (SubDetailSequenceElement != null) yield return SubDetailSequenceElement; - if (Code != null) yield return Code; - foreach (var elem in ExpressionElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ItemSequenceElement != null) yield return new ElementValue("itemSequence", ItemSequenceElement); - if (DetailSequenceElement != null) yield return new ElementValue("detailSequence", DetailSequenceElement); - if (SubDetailSequenceElement != null) yield return new ElementValue("subDetailSequence", SubDetailSequenceElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in ExpressionElement) { if (elem != null) yield return new ElementValue("expression", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5352,88 +4880,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (Decision != null) yield return Decision; - if (DispositionElement != null) yield return DispositionElement; - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (PreAuthPeriod != null) yield return PreAuthPeriod; - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (PayeeType != null) yield return PayeeType; - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - if (DiagnosisRelatedGroup != null) yield return DiagnosisRelatedGroup; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FundsReserve != null) yield return FundsReserve; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (Decision != null) yield return new ElementValue("decision", Decision); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (PreAuthPeriod != null) yield return new ElementValue("preAuthPeriod", PreAuthPeriod); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (PayeeType != null) yield return new ElementValue("payeeType", PayeeType); - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - if (DiagnosisRelatedGroup != null) yield return new ElementValue("diagnosisRelatedGroup", DiagnosisRelatedGroup); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return new ElementValue("communicationRequest", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs index 75f21779b..ac7dec981 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClinicalImpression.cs @@ -165,28 +165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (BasisElement != null) yield return BasisElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -694,62 +672,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (DateElement != null) yield return DateElement; - if (Performer != null) yield return Performer; - if (Previous != null) yield return Previous; - foreach (var elem in Problem) { if (elem != null) yield return elem; } - if (ChangePattern != null) yield return ChangePattern; - foreach (var elem in ProtocolElement) { if (elem != null) yield return elem; } - if (SummaryElement != null) yield return SummaryElement; - foreach (var elem in Finding) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisReference) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Previous != null) yield return new ElementValue("previous", Previous); - foreach (var elem in Problem) { if (elem != null) yield return new ElementValue("problem", elem); } - if (ChangePattern != null) yield return new ElementValue("changePattern", ChangePattern); - foreach (var elem in ProtocolElement) { if (elem != null) yield return new ElementValue("protocol", elem); } - if (SummaryElement != null) yield return new ElementValue("summary", SummaryElement); - foreach (var elem in Finding) { if (elem != null) yield return new ElementValue("finding", elem); } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return new ElementValue("prognosisCodeableConcept", elem); } - foreach (var elem in PrognosisReference) { if (elem != null) yield return new ElementValue("prognosisReference", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs index fa9c33abf..5bdb8f822 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ClinicalUseDefinition.cs @@ -252,36 +252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DiseaseSymptomProcedure != null) yield return DiseaseSymptomProcedure; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - foreach (var elem in Indication) { if (elem != null) yield return elem; } - if (Applicability != null) yield return Applicability; - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DiseaseSymptomProcedure != null) yield return new ElementValue("diseaseSymptomProcedure", DiseaseSymptomProcedure); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - if (Applicability != null) yield return new ElementValue("applicability", Applicability); - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -442,28 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RelationshipType != null) yield return RelationshipType; - if (Treatment != null) yield return Treatment; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RelationshipType != null) yield return new ElementValue("relationshipType", RelationshipType); - if (Treatment != null) yield return new ElementValue("treatment", Treatment); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -696,40 +644,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DiseaseSymptomProcedure != null) yield return DiseaseSymptomProcedure; - if (DiseaseStatus != null) yield return DiseaseStatus; - foreach (var elem in Comorbidity) { if (elem != null) yield return elem; } - if (IntendedEffect != null) yield return IntendedEffect; - if (Duration != null) yield return Duration; - foreach (var elem in UndesirableEffect) { if (elem != null) yield return elem; } - if (Applicability != null) yield return Applicability; - foreach (var elem in OtherTherapy) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DiseaseSymptomProcedure != null) yield return new ElementValue("diseaseSymptomProcedure", DiseaseSymptomProcedure); - if (DiseaseStatus != null) yield return new ElementValue("diseaseStatus", DiseaseStatus); - foreach (var elem in Comorbidity) { if (elem != null) yield return new ElementValue("comorbidity", elem); } - if (IntendedEffect != null) yield return new ElementValue("intendedEffect", IntendedEffect); - if (Duration != null) yield return new ElementValue("duration", Duration); - foreach (var elem in UndesirableEffect) { if (elem != null) yield return new ElementValue("undesirableEffect", elem); } - if (Applicability != null) yield return new ElementValue("applicability", Applicability); - foreach (var elem in OtherTherapy) { if (elem != null) yield return new ElementValue("otherTherapy", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -951,34 +865,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Interactant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Effect != null) yield return Effect; - if (Incidence != null) yield return Incidence; - foreach (var elem in Management) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Interactant) { if (elem != null) yield return new ElementValue("interactant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Effect != null) yield return new ElementValue("effect", Effect); - if (Incidence != null) yield return new ElementValue("incidence", Incidence); - foreach (var elem in Management) { if (elem != null) yield return new ElementValue("management", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1117,26 +1003,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1277,30 +1143,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SymptomConditionEffect != null) yield return SymptomConditionEffect; - if (Classification != null) yield return Classification; - if (FrequencyOfOccurrence != null) yield return FrequencyOfOccurrence; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SymptomConditionEffect != null) yield return new ElementValue("symptomConditionEffect", SymptomConditionEffect); - if (Classification != null) yield return new ElementValue("classification", Classification); - if (FrequencyOfOccurrence != null) yield return new ElementValue("frequencyOfOccurrence", FrequencyOfOccurrence); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1455,28 +1297,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1801,48 +1621,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (Contraindication != null) yield return Contraindication; - if (Indication != null) yield return Indication; - if (Interaction != null) yield return Interaction; - foreach (var elem in Population) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (UndesirableEffect != null) yield return UndesirableEffect; - if (Warning != null) yield return Warning; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (Contraindication != null) yield return new ElementValue("contraindication", Contraindication); - if (Indication != null) yield return new ElementValue("indication", Indication); - if (Interaction != null) yield return new ElementValue("interaction", Interaction); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (UndesirableEffect != null) yield return new ElementValue("undesirableEffect", UndesirableEffect); - if (Warning != null) yield return new ElementValue("warning", Warning); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Communication.cs b/src/Hl7.Fhir.R5/Model/Generated/Communication.cs index 42778a17f..60a6f57d9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Communication.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -728,68 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - foreach (var elem in InResponseTo) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Topic != null) yield return Topic; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (SentElement != null) yield return SentElement; - if (ReceivedElement != null) yield return ReceivedElement; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Payload) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in InResponseTo) { if (elem != null) yield return new ElementValue("inResponseTo", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Topic != null) yield return new ElementValue("topic", Topic); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (SentElement != null) yield return new ElementValue("sent", SentElement); - if (ReceivedElement != null) yield return new ElementValue("received", ReceivedElement); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs index 290347c0a..3dcc95280 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CommunicationRequest.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -712,68 +692,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in About) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - foreach (var elem in Payload) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - foreach (var elem in InformationProvider) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in About) { if (elem != null) yield return new ElementValue("about", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - foreach (var elem in InformationProvider) { if (elem != null) yield return new ElementValue("informationProvider", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs index 52e249947..c7968d7ee 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CompartmentDefinition.cs @@ -289,34 +289,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in ParamElement) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - if (StartParamElement != null) yield return StartParamElement; - if (EndParamElement != null) yield return EndParamElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in ParamElement) { if (elem != null) yield return new ElementValue("param", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (StartParamElement != null) yield return new ElementValue("startParam", StartParamElement); - if (EndParamElement != null) yield return new ElementValue("endParam", EndParamElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -904,56 +876,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - if (SearchElement != null) yield return SearchElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SearchElement != null) yield return new ElementValue("search", SearchElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Composition.cs b/src/Hl7.Fhir.R5/Model/Generated/Composition.cs index f5eacd191..45b409697 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Composition.cs @@ -186,30 +186,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Mode != null) yield return Mode; - if (TimeElement != null) yield return TimeElement; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Mode != null) yield return new ElementValue("mode", Mode); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -348,28 +324,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Period != null) yield return Period; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -640,42 +594,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Focus != null) yield return Focus; - if (Text != null) yield return Text; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Focus != null) yield return new ElementValue("focus", Focus); - if (Text != null) yield return new ElementValue("text", Text); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1245,62 +1163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Attester) { if (elem != null) yield return elem; } - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Attester) { if (elem != null) yield return new ElementValue("attester", elem); } - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs index bfadaa1f4..902d5b5ab 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ConceptMap.cs @@ -449,34 +449,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (UriElement != null) yield return UriElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TypeElement != null) yield return TypeElement; - if (SystemElement != null) yield return SystemElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -735,32 +707,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (UriElement != null) yield return UriElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -972,32 +918,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (TargetElement != null) yield return TargetElement; - foreach (var elem in Element) { if (elem != null) yield return elem; } - if (Unmapped != null) yield return Unmapped; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (TargetElement != null) yield return new ElementValue("target", TargetElement); - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - if (Unmapped != null) yield return new ElementValue("unmapped", Unmapped); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1262,34 +1182,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (NoMapElement != null) yield return NoMapElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (NoMapElement != null) yield return new ElementValue("noMap", NoMapElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1632,40 +1524,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Product) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Product) { if (elem != null) yield return new ElementValue("product", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1858,28 +1716,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2063,30 +1899,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AttributeElement != null) yield return AttributeElement; - if (Value != null) yield return Value; - if (ValueSetElement != null) yield return ValueSetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AttributeElement != null) yield return new ElementValue("attribute", AttributeElement); - if (Value != null) yield return new ElementValue("value", Value); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2400,36 +2212,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (OtherMapElement != null) yield return OtherMapElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (OtherMapElement != null) yield return new ElementValue("otherMap", OtherMapElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3312,86 +3094,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in AdditionalAttribute) { if (elem != null) yield return elem; } - if (SourceScope != null) yield return SourceScope; - if (TargetScope != null) yield return TargetScope; - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in AdditionalAttribute) { if (elem != null) yield return new ElementValue("additionalAttribute", elem); } - if (SourceScope != null) yield return new ElementValue("sourceScope", SourceScope); - if (TargetScope != null) yield return new ElementValue("targetScope", TargetScope); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Condition.cs b/src/Hl7.Fhir.R5/Model/Generated/Condition.cs index f85c409d2..8634bf927 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Condition.cs @@ -248,28 +248,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -419,30 +397,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Summary != null) yield return Summary; - foreach (var elem in Assessment) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Summary != null) yield return new ElementValue("summary", Summary); - foreach (var elem in Assessment) { if (elem != null) yield return new ElementValue("assessment", elem); } - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -830,56 +784,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatus != null) yield return ClinicalStatus; - if (VerificationStatus != null) yield return VerificationStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Severity != null) yield return Severity; - if (Code != null) yield return Code; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Onset != null) yield return Onset; - if (Abatement != null) yield return Abatement; - if (RecordedDateElement != null) yield return RecordedDateElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Stage) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatus != null) yield return new ElementValue("clinicalStatus", ClinicalStatus); - if (VerificationStatus != null) yield return new ElementValue("verificationStatus", VerificationStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (Abatement != null) yield return new ElementValue("abatement", Abatement); - if (RecordedDateElement != null) yield return new ElementValue("recordedDate", RecordedDateElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Stage) { if (elem != null) yield return new ElementValue("stage", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs index 30452b777..60c258c58 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ConditionDefinition.cs @@ -195,28 +195,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -344,28 +322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,30 +491,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -715,28 +647,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PurposeElement != null) yield return PurposeElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -865,28 +775,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1709,82 +1597,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Severity != null) yield return Severity; - if (BodySite != null) yield return BodySite; - if (Stage != null) yield return Stage; - if (HasSeverityElement != null) yield return HasSeverityElement; - if (HasBodySiteElement != null) yield return HasBodySiteElement; - if (HasStageElement != null) yield return HasStageElement; - foreach (var elem in DefinitionElement) { if (elem != null) yield return elem; } - foreach (var elem in Observation) { if (elem != null) yield return elem; } - foreach (var elem in Medication) { if (elem != null) yield return elem; } - foreach (var elem in Precondition) { if (elem != null) yield return elem; } - foreach (var elem in Team) { if (elem != null) yield return elem; } - foreach (var elem in Questionnaire) { if (elem != null) yield return elem; } - foreach (var elem in Plan) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Severity != null) yield return new ElementValue("severity", Severity); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Stage != null) yield return new ElementValue("stage", Stage); - if (HasSeverityElement != null) yield return new ElementValue("hasSeverity", HasSeverityElement); - if (HasBodySiteElement != null) yield return new ElementValue("hasBodySite", HasBodySiteElement); - if (HasStageElement != null) yield return new ElementValue("hasStage", HasStageElement); - foreach (var elem in DefinitionElement) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in Observation) { if (elem != null) yield return new ElementValue("observation", elem); } - foreach (var elem in Medication) { if (elem != null) yield return new ElementValue("medication", elem); } - foreach (var elem in Precondition) { if (elem != null) yield return new ElementValue("precondition", elem); } - foreach (var elem in Team) { if (elem != null) yield return new ElementValue("team", elem); } - foreach (var elem in Questionnaire) { if (elem != null) yield return new ElementValue("questionnaire", elem); } - foreach (var elem in Plan) { if (elem != null) yield return new ElementValue("plan", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Consent.cs b/src/Hl7.Fhir.R5/Model/Generated/Consent.cs index 6601bc07e..175327105 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Consent.cs @@ -213,28 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -454,34 +432,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VerifiedElement != null) yield return VerifiedElement; - if (VerificationType != null) yield return VerificationType; - if (VerifiedBy != null) yield return VerifiedBy; - if (VerifiedWith != null) yield return VerifiedWith; - foreach (var elem in VerificationDateElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VerifiedElement != null) yield return new ElementValue("verified", VerifiedElement); - if (VerificationType != null) yield return new ElementValue("verificationType", VerificationType); - if (VerifiedBy != null) yield return new ElementValue("verifiedBy", VerifiedBy); - if (VerifiedWith != null) yield return new ElementValue("verifiedWith", VerifiedWith); - foreach (var elem in VerificationDateElement) { if (elem != null) yield return new ElementValue("verificationDate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -806,48 +756,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Period != null) yield return Period; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - foreach (var elem in DocumentType) { if (elem != null) yield return elem; } - foreach (var elem in ResourceType) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (DataPeriod != null) yield return DataPeriod; - foreach (var elem in Data) { if (elem != null) yield return elem; } - if (Expression != null) yield return Expression; - foreach (var elem in Provision) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - foreach (var elem in DocumentType) { if (elem != null) yield return new ElementValue("documentType", elem); } - foreach (var elem in ResourceType) { if (elem != null) yield return new ElementValue("resourceType", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (DataPeriod != null) yield return new ElementValue("dataPeriod", DataPeriod); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - if (Expression != null) yield return new ElementValue("expression", Expression); - foreach (var elem in Provision) { if (elem != null) yield return new ElementValue("provision", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1049,28 +957,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1223,28 +1109,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1702,60 +1566,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (Period != null) yield return Period; - foreach (var elem in Grantor) { if (elem != null) yield return elem; } - foreach (var elem in Grantee) { if (elem != null) yield return elem; } - foreach (var elem in Manager) { if (elem != null) yield return elem; } - foreach (var elem in Controller) { if (elem != null) yield return elem; } - foreach (var elem in SourceAttachment) { if (elem != null) yield return elem; } - foreach (var elem in SourceReference) { if (elem != null) yield return elem; } - foreach (var elem in RegulatoryBasis) { if (elem != null) yield return elem; } - if (PolicyBasis != null) yield return PolicyBasis; - foreach (var elem in PolicyText) { if (elem != null) yield return elem; } - foreach (var elem in Verification) { if (elem != null) yield return elem; } - if (DecisionElement != null) yield return DecisionElement; - foreach (var elem in Provision) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Grantor) { if (elem != null) yield return new ElementValue("grantor", elem); } - foreach (var elem in Grantee) { if (elem != null) yield return new ElementValue("grantee", elem); } - foreach (var elem in Manager) { if (elem != null) yield return new ElementValue("manager", elem); } - foreach (var elem in Controller) { if (elem != null) yield return new ElementValue("controller", elem); } - foreach (var elem in SourceAttachment) { if (elem != null) yield return new ElementValue("sourceAttachment", elem); } - foreach (var elem in SourceReference) { if (elem != null) yield return new ElementValue("sourceReference", elem); } - foreach (var elem in RegulatoryBasis) { if (elem != null) yield return new ElementValue("regulatoryBasis", elem); } - if (PolicyBasis != null) yield return new ElementValue("policyBasis", PolicyBasis); - foreach (var elem in PolicyText) { if (elem != null) yield return new ElementValue("policyText", elem); } - foreach (var elem in Verification) { if (elem != null) yield return new ElementValue("verification", elem); } - if (DecisionElement != null) yield return new ElementValue("decision", DecisionElement); - foreach (var elem in Provision) { if (elem != null) yield return new ElementValue("provision", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Contract.cs b/src/Hl7.Fhir.R5/Model/Generated/Contract.cs index ff6800a83..1e140e009 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Contract.cs @@ -472,36 +472,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (Publisher != null) yield return Publisher; - if (PublicationDateElement != null) yield return PublicationDateElement; - if (PublicationStatusElement != null) yield return PublicationStatusElement; - if (CopyrightElement != null) yield return CopyrightElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (Publisher != null) yield return new ElementValue("publisher", Publisher); - if (PublicationDateElement != null) yield return new ElementValue("publicationDate", PublicationDateElement); - if (PublicationStatusElement != null) yield return new ElementValue("publicationStatus", PublicationStatusElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -864,48 +834,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (TextElement != null) yield return TextElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (Offer != null) yield return Offer; - foreach (var elem in Asset) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (Offer != null) yield return new ElementValue("offer", Offer); - foreach (var elem in Asset) { if (elem != null) yield return new ElementValue("asset", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1163,32 +1091,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return elem; } - if (Classification != null) yield return Classification; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Control) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in NumberElement) { if (elem != null) yield return new ElementValue("number", elem); } - if (Classification != null) yield return new ElementValue("classification", Classification); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Control) { if (elem != null) yield return new ElementValue("control", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1524,44 +1426,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Party) { if (elem != null) yield return elem; } - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - if (Decision != null) yield return Decision; - foreach (var elem in DecisionMode) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Party) { if (elem != null) yield return new ElementValue("party", elem); } - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - if (Decision != null) yield return new ElementValue("decision", Decision); - foreach (var elem in DecisionMode) { if (elem != null) yield return new ElementValue("decisionMode", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1748,28 +1612,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1883,26 +1725,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2319,54 +2141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Scope != null) yield return Scope; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in TypeReference) { if (elem != null) yield return elem; } - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (Relationship != null) yield return Relationship; - foreach (var elem in Context) { if (elem != null) yield return elem; } - if (ConditionElement != null) yield return ConditionElement; - foreach (var elem in PeriodType) { if (elem != null) yield return elem; } - foreach (var elem in Period) { if (elem != null) yield return elem; } - foreach (var elem in UsePeriod) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in ValuedItem) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Scope != null) yield return new ElementValue("scope", Scope); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in TypeReference) { if (elem != null) yield return new ElementValue("typeReference", elem); } - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - foreach (var elem in Context) { if (elem != null) yield return new ElementValue("context", elem); } - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - foreach (var elem in PeriodType) { if (elem != null) yield return new ElementValue("periodType", elem); } - foreach (var elem in Period) { if (elem != null) yield return new ElementValue("period", elem); } - foreach (var elem in UsePeriod) { if (elem != null) yield return new ElementValue("usePeriod", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - foreach (var elem in ValuedItem) { if (elem != null) yield return new ElementValue("valuedItem", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2621,30 +2395,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3104,52 +2854,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Identifier != null) yield return Identifier; - if (EffectiveTimeElement != null) yield return EffectiveTimeElement; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (PointsElement != null) yield return PointsElement; - if (Net != null) yield return Net; - if (PaymentElement != null) yield return PaymentElement; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Responsible != null) yield return Responsible; - if (Recipient != null) yield return Recipient; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (EffectiveTimeElement != null) yield return new ElementValue("effectiveTime", EffectiveTimeElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (PointsElement != null) yield return new ElementValue("points", PointsElement); - if (Net != null) yield return new ElementValue("net", Net); - if (PaymentElement != null) yield return new ElementValue("payment", PaymentElement); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3790,62 +3494,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Type != null) yield return Type; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Intent != null) yield return Intent; - foreach (var elem in LinkIdElement) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (Context != null) yield return Context; - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Requester) { if (elem != null) yield return elem; } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (PerformerRole != null) yield return PerformerRole; - if (Performer != null) yield return Performer; - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Intent != null) yield return new ElementValue("intent", Intent); - foreach (var elem in LinkIdElement) { if (elem != null) yield return new ElementValue("linkId", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in ContextLinkIdElement) { if (elem != null) yield return new ElementValue("contextLinkId", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Requester) { if (elem != null) yield return new ElementValue("requester", elem); } - foreach (var elem in RequesterLinkIdElement) { if (elem != null) yield return new ElementValue("requesterLinkId", elem); } - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (PerformerRole != null) yield return new ElementValue("performerRole", PerformerRole); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in PerformerLinkIdElement) { if (elem != null) yield return new ElementValue("performerLinkId", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ReasonLinkIdElement) { if (elem != null) yield return new ElementValue("reasonLinkId", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SecurityLabelNumberElement) { if (elem != null) yield return new ElementValue("securityLabelNumber", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4094,28 +3742,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4268,30 +3894,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4415,26 +4017,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4544,26 +4126,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4673,26 +4235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5502,90 +5044,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (StatusElement != null) yield return StatusElement; - if (LegalState != null) yield return LegalState; - if (InstantiatesCanonical != null) yield return InstantiatesCanonical; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - if (ContentDerivative != null) yield return ContentDerivative; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (ExpirationType != null) yield return ExpirationType; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - foreach (var elem in Authority) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Author != null) yield return Author; - if (Scope != null) yield return Scope; - if (Topic != null) yield return Topic; - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - if (ContentDefinition != null) yield return ContentDefinition; - foreach (var elem in Term) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - foreach (var elem in Signer) { if (elem != null) yield return elem; } - foreach (var elem in Friendly) { if (elem != null) yield return elem; } - foreach (var elem in Legal) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - if (LegallyBinding != null) yield return LegallyBinding; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (LegalState != null) yield return new ElementValue("legalState", LegalState); - if (InstantiatesCanonical != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonical); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - if (ContentDerivative != null) yield return new ElementValue("contentDerivative", ContentDerivative); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (ExpirationType != null) yield return new ElementValue("expirationType", ExpirationType); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - foreach (var elem in Authority) { if (elem != null) yield return new ElementValue("authority", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Author != null) yield return new ElementValue("author", Author); - if (Scope != null) yield return new ElementValue("scope", Scope); - if (Topic != null) yield return new ElementValue("topic", Topic); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - if (ContentDefinition != null) yield return new ElementValue("contentDefinition", ContentDefinition); - foreach (var elem in Term) { if (elem != null) yield return new ElementValue("term", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - foreach (var elem in Signer) { if (elem != null) yield return new ElementValue("signer", elem); } - foreach (var elem in Friendly) { if (elem != null) yield return new ElementValue("friendly", elem); } - foreach (var elem in Legal) { if (elem != null) yield return new ElementValue("legal", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - if (LegallyBinding != null) yield return new ElementValue("legallyBinding", LegallyBinding); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs b/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs index 9607190a9..d56905175 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Contributor.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs b/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs index f6386ed24..05c243e25 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Coverage.cs @@ -196,28 +196,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Party != null) yield return Party; - if (ResponsibilityElement != null) yield return ResponsibilityElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Party != null) yield return new ElementValue("party", Party); - if (ResponsibilityElement != null) yield return new ElementValue("responsibility", ResponsibilityElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -384,30 +362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -632,38 +586,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Category != null) yield return Category; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - if (Value != null) yield return Value; - foreach (var elem in Exception) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Category != null) yield return new ElementValue("category", Category); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Exception) { if (elem != null) yield return new ElementValue("exception", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -829,28 +751,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1388,64 +1288,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - foreach (var elem in PaymentBy) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (PolicyHolder != null) yield return PolicyHolder; - if (Subscriber != null) yield return Subscriber; - foreach (var elem in SubscriberId) { if (elem != null) yield return elem; } - if (Beneficiary != null) yield return Beneficiary; - if (DependentElement != null) yield return DependentElement; - if (Relationship != null) yield return Relationship; - if (Period != null) yield return Period; - if (Insurer != null) yield return Insurer; - foreach (var elem in Class) { if (elem != null) yield return elem; } - if (OrderElement != null) yield return OrderElement; - if (NetworkElement != null) yield return NetworkElement; - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return elem; } - if (SubrogationElement != null) yield return SubrogationElement; - foreach (var elem in Contract) { if (elem != null) yield return elem; } - if (InsurancePlan != null) yield return InsurancePlan; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in PaymentBy) { if (elem != null) yield return new ElementValue("paymentBy", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (PolicyHolder != null) yield return new ElementValue("policyHolder", PolicyHolder); - if (Subscriber != null) yield return new ElementValue("subscriber", Subscriber); - foreach (var elem in SubscriberId) { if (elem != null) yield return new ElementValue("subscriberId", elem); } - if (Beneficiary != null) yield return new ElementValue("beneficiary", Beneficiary); - if (DependentElement != null) yield return new ElementValue("dependent", DependentElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Period != null) yield return new ElementValue("period", Period); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - if (OrderElement != null) yield return new ElementValue("order", OrderElement); - if (NetworkElement != null) yield return new ElementValue("network", NetworkElement); - foreach (var elem in CostToBeneficiary) { if (elem != null) yield return new ElementValue("costToBeneficiary", elem); } - if (SubrogationElement != null) yield return new ElementValue("subrogation", SubrogationElement); - foreach (var elem in Contract) { if (elem != null) yield return new ElementValue("contract", elem); } - if (InsurancePlan != null) yield return new ElementValue("insurancePlan", InsurancePlan); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs index de7124853..fd8f2f771 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityRequest.cs @@ -185,28 +185,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (When != null) yield return When; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (When != null) yield return new ElementValue("when", When); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -392,30 +370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Information != null) yield return Information; - if (AppliesToAllElement != null) yield return AppliesToAllElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Information != null) yield return new ElementValue("information", Information); - if (AppliesToAllElement != null) yield return new ElementValue("appliesToAll", AppliesToAllElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -607,30 +561,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -925,44 +855,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (Facility != null) yield return Facility; - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in SupportingInfoSequenceElement) { if (elem != null) yield return new ElementValue("supportingInfoSequence", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1135,26 +1027,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Diagnosis != null) yield return Diagnosis; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1551,54 +1423,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Priority != null) yield return Priority; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Provider != null) yield return Provider; - if (Insurer != null) yield return Insurer; - if (Facility != null) yield return Facility; - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Priority != null) yield return new ElementValue("priority", Priority); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs index 1d88592e0..9bd389f21 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/CoverageEligibilityResponse.cs @@ -219,28 +219,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (When != null) yield return When; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (When != null) yield return new ElementValue("when", When); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -424,32 +402,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (InforceElement != null) yield return InforceElement; - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (InforceElement != null) yield return new ElementValue("inforce", InforceElement); - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -886,52 +838,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Provider != null) yield return Provider; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - if (AuthorizationRequiredElement != null) yield return AuthorizationRequiredElement; - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return elem; } - if (AuthorizationUrlElement != null) yield return AuthorizationUrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - if (AuthorizationRequiredElement != null) yield return new ElementValue("authorizationRequired", AuthorizationRequiredElement); - foreach (var elem in AuthorizationSupporting) { if (elem != null) yield return new ElementValue("authorizationSupporting", elem); } - if (AuthorizationUrlElement != null) yield return new ElementValue("authorizationUrl", AuthorizationUrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1166,30 +1072,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1346,28 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in ExpressionElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in ExpressionElement) { if (elem != null) yield return new ElementValue("expression", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1842,56 +1702,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PurposeElement) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Requestor != null) yield return Requestor; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (Insurer != null) yield return Insurer; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (Form != null) yield return Form; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PurposeElement) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs index 34e0c702b..1e853a554 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DataRequirement.cs @@ -307,32 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (ValueSetElement != null) yield return ValueSetElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -529,30 +503,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -778,32 +728,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SearchParamElement != null) yield return SearchParamElement; - if (ComparatorElement != null) yield return ComparatorElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SearchParamElement != null) yield return new ElementValue("searchParam", SearchParamElement); - if (ComparatorElement != null) yield return new ElementValue("comparator", ComparatorElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -987,28 +911,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (DirectionElement != null) yield return DirectionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1318,42 +1220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in MustSupportElement) { if (elem != null) yield return elem; } - foreach (var elem in CodeFilter) { if (elem != null) yield return elem; } - foreach (var elem in DateFilter) { if (elem != null) yield return elem; } - foreach (var elem in ValueFilter) { if (elem != null) yield return elem; } - if (LimitElement != null) yield return LimitElement; - foreach (var elem in Sort) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in MustSupportElement) { if (elem != null) yield return new ElementValue("mustSupport", elem); } - foreach (var elem in CodeFilter) { if (elem != null) yield return new ElementValue("codeFilter", elem); } - foreach (var elem in DateFilter) { if (elem != null) yield return new ElementValue("dateFilter", elem); } - foreach (var elem in ValueFilter) { if (elem != null) yield return new ElementValue("valueFilter", elem); } - if (LimitElement != null) yield return new ElementValue("limit", LimitElement); - foreach (var elem in Sort) { if (elem != null) yield return new ElementValue("sort", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs index 374b92b9d..1b069b4d2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DetectedIssue.cs @@ -213,28 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -418,32 +396,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (DateElement != null) yield return DateElement; - if (Author != null) yield return Author; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -858,52 +810,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (SeverityElement != null) yield return SeverityElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Identified != null) yield return Identified; - if (Author != null) yield return Author; - foreach (var elem in Implicated) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - if (DetailElement != null) yield return DetailElement; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Mitigation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Identified != null) yield return new ElementValue("identified", Identified); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Implicated) { if (elem != null) yield return new ElementValue("implicated", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Mitigation) { if (elem != null) yield return new ElementValue("mitigation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Device.cs b/src/Hl7.Fhir.R5/Model/Generated/Device.cs index 5b4c5052a..023629cd4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Device.cs @@ -403,36 +403,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - if (CarrierAIDCElement != null) yield return CarrierAIDCElement; - if (CarrierHRFElement != null) yield return CarrierHRFElement; - if (EntryTypeElement != null) yield return EntryTypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - if (CarrierAIDCElement != null) yield return new ElementValue("carrierAIDC", CarrierAIDCElement); - if (CarrierHRFElement != null) yield return new ElementValue("carrierHRF", CarrierHRFElement); - if (EntryTypeElement != null) yield return new ElementValue("entryType", EntryTypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -663,30 +633,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (TypeElement != null) yield return TypeElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -889,32 +835,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Component != null) yield return Component; - if (InstallDateElement != null) yield return InstallDateElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Component != null) yield return new ElementValue("component", Component); - if (InstallDateElement != null) yield return new ElementValue("installDate", InstallDateElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1094,30 +1014,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Specification != null) yield return Specification; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Specification != null) yield return new ElementValue("specification", Specification); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1259,28 +1155,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2083,88 +1957,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (DisplayNameElement != null) yield return DisplayNameElement; - if (Definition != null) yield return Definition; - foreach (var elem in UdiCarrier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (AvailabilityStatus != null) yield return AvailabilityStatus; - if (BiologicalSourceEvent != null) yield return BiologicalSourceEvent; - if (ManufacturerElement != null) yield return ManufacturerElement; - if (ManufactureDateElement != null) yield return ManufactureDateElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (LotNumberElement != null) yield return LotNumberElement; - if (SerialNumberElement != null) yield return SerialNumberElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - if (PartNumberElement != null) yield return PartNumberElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in ConformsTo) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Mode != null) yield return Mode; - if (Cycle != null) yield return Cycle; - if (Duration != null) yield return Duration; - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Gateway) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - if (Parent != null) yield return Parent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (DisplayNameElement != null) yield return new ElementValue("displayName", DisplayNameElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in UdiCarrier) { if (elem != null) yield return new ElementValue("udiCarrier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (AvailabilityStatus != null) yield return new ElementValue("availabilityStatus", AvailabilityStatus); - if (BiologicalSourceEvent != null) yield return new ElementValue("biologicalSourceEvent", BiologicalSourceEvent); - if (ManufacturerElement != null) yield return new ElementValue("manufacturer", ManufacturerElement); - if (ManufactureDateElement != null) yield return new ElementValue("manufactureDate", ManufactureDateElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (SerialNumberElement != null) yield return new ElementValue("serialNumber", SerialNumberElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - if (PartNumberElement != null) yield return new ElementValue("partNumber", PartNumberElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in ConformsTo) { if (elem != null) yield return new ElementValue("conformsTo", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Mode != null) yield return new ElementValue("mode", Mode); - if (Cycle != null) yield return new ElementValue("cycle", Cycle); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Gateway) { if (elem != null) yield return new ElementValue("gateway", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - if (Parent != null) yield return new ElementValue("parent", Parent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs index bad55ced8..e4429e63b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceAssociation.cs @@ -201,30 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Status != null) yield return Status; - foreach (var elem in Operator) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Status != null) yield return new ElementValue("status", Status); - foreach (var elem in Operator) { if (elem != null) yield return new ElementValue("operator", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -472,42 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Device != null) yield return Device; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (BodyStructure != null) yield return BodyStructure; - if (Period != null) yield return Period; - foreach (var elem in Operation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Status != null) yield return new ElementValue("status", Status); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (BodyStructure != null) yield return new ElementValue("bodyStructure", BodyStructure); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs index e543cd1bb..980d59c98 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceDefinition.cs @@ -339,32 +339,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - foreach (var elem in MarketDistribution) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - foreach (var elem in MarketDistribution) { if (elem != null) yield return new ElementValue("marketDistribution", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -527,28 +501,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MarketPeriod != null) yield return MarketPeriod; - if (SubJurisdictionElement != null) yield return SubJurisdictionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MarketPeriod != null) yield return new ElementValue("marketPeriod", MarketPeriod); - if (SubJurisdictionElement != null) yield return new ElementValue("subJurisdiction", SubJurisdictionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -788,32 +740,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (IssuerElement != null) yield return IssuerElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -993,28 +919,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1146,28 +1050,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Justification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Justification) { if (elem != null) yield return new ElementValue("justification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1351,32 +1233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Specification != null) yield return Specification; - foreach (var elem in VersionElement) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Specification != null) yield return new ElementValue("specification", Specification); - foreach (var elem in VersionElement) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1540,28 +1396,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - if (CountElement != null) yield return CountElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - if (CountElement != null) yield return new ElementValue("count", CountElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1772,36 +1606,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (CountElement != null) yield return CountElement; - foreach (var elem in Distributor) { if (elem != null) yield return elem; } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return elem; } - foreach (var elem in Packaging) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (CountElement != null) yield return new ElementValue("count", CountElement); - foreach (var elem in Distributor) { if (elem != null) yield return new ElementValue("distributor", elem); } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return new ElementValue("udiDeviceIdentifier", elem); } - foreach (var elem in Packaging) { if (elem != null) yield return new ElementValue("packaging", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1976,28 +1780,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in OrganizationReference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in OrganizationReference) { if (elem != null) yield return new ElementValue("organizationReference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2158,30 +1940,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Component != null) yield return Component; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Component != null) yield return new ElementValue("component", Component); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2323,28 +2081,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2473,28 +2209,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Relation != null) yield return Relation; - if (RelatedDevice != null) yield return RelatedDevice; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Relation != null) yield return new ElementValue("relation", Relation); - if (RelatedDevice != null) yield return new ElementValue("relatedDevice", RelatedDevice); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2673,30 +2387,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (AlternateElement != null) yield return AlternateElement; - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (AlternateElement != null) yield return new ElementValue("alternate", AlternateElement); - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2953,38 +2643,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (UsageInstructionElement != null) yield return UsageInstructionElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Indication) { if (elem != null) yield return elem; } - foreach (var elem in Contraindication) { if (elem != null) yield return elem; } - foreach (var elem in Warning) { if (elem != null) yield return elem; } - if (IntendedUseElement != null) yield return IntendedUseElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (UsageInstructionElement != null) yield return new ElementValue("usageInstruction", UsageInstructionElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - foreach (var elem in Contraindication) { if (elem != null) yield return new ElementValue("contraindication", elem); } - foreach (var elem in Warning) { if (elem != null) yield return new ElementValue("warning", elem); } - if (IntendedUseElement != null) yield return new ElementValue("intendedUse", IntendedUseElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3201,30 +2859,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RecallElement != null) yield return RecallElement; - if (ScopeElement != null) yield return ScopeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RecallElement != null) yield return new ElementValue("recall", RecallElement); - if (ScopeElement != null) yield return new ElementValue("scope", ScopeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3392,32 +3026,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ChargeItemCode != null) yield return ChargeItemCode; - if (Count != null) yield return Count; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ChargeItemCode != null) yield return new ElementValue("chargeItemCode", ChargeItemCode); - if (Count != null) yield return new ElementValue("count", Count); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4028,76 +3636,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return elem; } - foreach (var elem in RegulatoryIdentifier) { if (elem != null) yield return elem; } - if (PartNumberElement != null) yield return PartNumberElement; - if (Manufacturer != null) yield return Manufacturer; - foreach (var elem in DeviceName) { if (elem != null) yield return elem; } - if (ModelNumberElement != null) yield return ModelNumberElement; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in ConformsTo) { if (elem != null) yield return elem; } - foreach (var elem in HasPart) { if (elem != null) yield return elem; } - foreach (var elem in Packaging) { if (elem != null) yield return elem; } - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - foreach (var elem in LanguageCode) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Material) { if (elem != null) yield return elem; } - foreach (var elem in ProductionIdentifierInUDIElement) { if (elem != null) yield return elem; } - if (Guideline != null) yield return Guideline; - if (CorrectiveAction != null) yield return CorrectiveAction; - foreach (var elem in ChargeItem) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in UdiDeviceIdentifier) { if (elem != null) yield return new ElementValue("udiDeviceIdentifier", elem); } - foreach (var elem in RegulatoryIdentifier) { if (elem != null) yield return new ElementValue("regulatoryIdentifier", elem); } - if (PartNumberElement != null) yield return new ElementValue("partNumber", PartNumberElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - foreach (var elem in DeviceName) { if (elem != null) yield return new ElementValue("deviceName", elem); } - if (ModelNumberElement != null) yield return new ElementValue("modelNumber", ModelNumberElement); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in ConformsTo) { if (elem != null) yield return new ElementValue("conformsTo", elem); } - foreach (var elem in HasPart) { if (elem != null) yield return new ElementValue("hasPart", elem); } - foreach (var elem in Packaging) { if (elem != null) yield return new ElementValue("packaging", elem); } - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - foreach (var elem in LanguageCode) { if (elem != null) yield return new ElementValue("languageCode", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - foreach (var elem in ProductionIdentifierInUDIElement) { if (elem != null) yield return new ElementValue("productionIdentifierInUDI", elem); } - if (Guideline != null) yield return new ElementValue("guideline", Guideline); - if (CorrectiveAction != null) yield return new ElementValue("correctiveAction", CorrectiveAction); - foreach (var elem in ChargeItem) { if (elem != null) yield return new ElementValue("chargeItem", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs index ff7ed14c1..812b0b8e2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceDispense.cs @@ -213,28 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -757,66 +735,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Device != null) yield return Device; - if (Subject != null) yield return Subject; - if (Receiver != null) yield return Receiver; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (PreparedDateElement != null) yield return PreparedDateElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (UsageInstructionElement != null) yield return UsageInstructionElement; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Device != null) yield return new ElementValue("device", Device); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Receiver != null) yield return new ElementValue("receiver", Receiver); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (PreparedDateElement != null) yield return new ElementValue("preparedDate", PreparedDateElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (UsageInstructionElement != null) yield return new ElementValue("usageInstruction", UsageInstructionElement); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs index f33ddfa96..0c8f20872 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceMetric.cs @@ -354,30 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StateElement != null) yield return StateElement; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -678,42 +654,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Unit != null) yield return Unit; - if (Device != null) yield return Device; - if (OperationalStatusElement != null) yield return OperationalStatusElement; - if (ColorElement != null) yield return ColorElement; - if (CategoryElement != null) yield return CategoryElement; - if (MeasurementFrequency != null) yield return MeasurementFrequency; - foreach (var elem in Calibration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Device != null) yield return new ElementValue("device", Device); - if (OperationalStatusElement != null) yield return new ElementValue("operationalStatus", OperationalStatusElement); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (MeasurementFrequency != null) yield return new ElementValue("measurementFrequency", MeasurementFrequency); - foreach (var elem in Calibration) { if (elem != null) yield return new ElementValue("calibration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs index 54d884fd9..15c8c275c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceRequest.cs @@ -149,28 +149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -871,76 +849,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Code != null) yield return Code; - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (Performer != null) yield return Performer; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (AsNeededElement != null) yield return AsNeededElement; - if (AsNeededFor != null) yield return AsNeededFor; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Code != null) yield return new ElementValue("code", Code); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (AsNeededElement != null) yield return new ElementValue("asNeeded", AsNeededElement); - if (AsNeededFor != null) yield return new ElementValue("asNeededFor", AsNeededFor); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs b/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs index d5e91f15c..098a9f470 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DeviceUsage.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -640,58 +618,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - if (Timing != null) yield return Timing; - if (DateAssertedElement != null) yield return DateAssertedElement; - if (UsageStatus != null) yield return UsageStatus; - foreach (var elem in UsageReason) { if (elem != null) yield return elem; } - if (Adherence != null) yield return Adherence; - if (InformationSource != null) yield return InformationSource; - if (Device != null) yield return Device; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (Context != null) yield return new ElementValue("context", Context); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (DateAssertedElement != null) yield return new ElementValue("dateAsserted", DateAssertedElement); - if (UsageStatus != null) yield return new ElementValue("usageStatus", UsageStatus); - foreach (var elem in UsageReason) { if (elem != null) yield return new ElementValue("usageReason", elem); } - if (Adherence != null) yield return new ElementValue("adherence", Adherence); - if (InformationSource != null) yield return new ElementValue("informationSource", InformationSource); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs index 3a277308c..39caff8b4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DiagnosticReport.cs @@ -228,28 +228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -399,28 +377,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -933,66 +889,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Study) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Media) { if (elem != null) yield return elem; } - if (Composition != null) yield return Composition; - if (ConclusionElement != null) yield return ConclusionElement; - foreach (var elem in ConclusionCode) { if (elem != null) yield return elem; } - foreach (var elem in PresentedForm) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in ResultsInterpreter) { if (elem != null) yield return new ElementValue("resultsInterpreter", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Media) { if (elem != null) yield return new ElementValue("media", elem); } - if (Composition != null) yield return new ElementValue("composition", Composition); - if (ConclusionElement != null) yield return new ElementValue("conclusion", ConclusionElement); - foreach (var elem in ConclusionCode) { if (elem != null) yield return new ElementValue("conclusionCode", elem); } - foreach (var elem in PresentedForm) { if (elem != null) yield return new ElementValue("presentedForm", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs index 63cc641a3..1c84ca32b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/DocumentReference.cs @@ -214,30 +214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Mode != null) yield return Mode; - if (TimeElement != null) yield return TimeElement; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Mode != null) yield return new ElementValue("mode", Mode); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -379,28 +355,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -532,28 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Attachment != null) yield return Attachment; - foreach (var elem in Profile) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - foreach (var elem in Profile) { if (elem != null) yield return new ElementValue("profile", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -672,26 +604,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1260,70 +1172,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DocStatusElement != null) yield return DocStatusElement; - foreach (var elem in Modality) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Context) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (FacilityType != null) yield return FacilityType; - if (PracticeSetting != null) yield return PracticeSetting; - if (Period != null) yield return Period; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Attester) { if (elem != null) yield return elem; } - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DocStatusElement != null) yield return new ElementValue("docStatus", DocStatusElement); - foreach (var elem in Modality) { if (elem != null) yield return new ElementValue("modality", elem); } - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Context) { if (elem != null) yield return new ElementValue("context", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (FacilityType != null) yield return new ElementValue("facilityType", FacilityType); - if (PracticeSetting != null) yield return new ElementValue("practiceSetting", PracticeSetting); - if (Period != null) yield return new ElementValue("period", Period); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Attester) { if (elem != null) yield return new ElementValue("attester", elem); } - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs b/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs index 004c1128a..c01084d51 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Dosage.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -583,52 +559,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - if (Timing != null) yield return Timing; - if (AsNeededElement != null) yield return AsNeededElement; - foreach (var elem in AsNeededFor) { if (elem != null) yield return elem; } - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - foreach (var elem in DoseAndRate) { if (elem != null) yield return elem; } - foreach (var elem in MaxDosePerPeriod) { if (elem != null) yield return elem; } - if (MaxDosePerAdministration != null) yield return MaxDosePerAdministration; - if (MaxDosePerLifetime != null) yield return MaxDosePerLifetime; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return new ElementValue("additionalInstruction", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (AsNeededElement != null) yield return new ElementValue("asNeeded", AsNeededElement); - foreach (var elem in AsNeededFor) { if (elem != null) yield return new ElementValue("asNeededFor", elem); } - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - foreach (var elem in DoseAndRate) { if (elem != null) yield return new ElementValue("doseAndRate", elem); } - foreach (var elem in MaxDosePerPeriod) { if (elem != null) yield return new ElementValue("maxDosePerPeriod", elem); } - if (MaxDosePerAdministration != null) yield return new ElementValue("maxDosePerAdministration", MaxDosePerAdministration); - if (MaxDosePerLifetime != null) yield return new ElementValue("maxDosePerLifetime", MaxDosePerLifetime); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs b/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs index 2e7311855..b6ac9d27e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Encounter.cs @@ -203,30 +203,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,28 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Use) { if (elem != null) yield return elem; } - foreach (var elem in Value) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Use) { if (elem != null) yield return new ElementValue("use", elem); } - foreach (var elem in Value) { if (elem != null) yield return new ElementValue("value", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -523,28 +477,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Use) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Use) { if (elem != null) yield return new ElementValue("use", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -747,36 +679,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreAdmissionIdentifier != null) yield return PreAdmissionIdentifier; - if (Origin != null) yield return Origin; - if (AdmitSource != null) yield return AdmitSource; - if (ReAdmission != null) yield return ReAdmission; - if (Destination != null) yield return Destination; - if (DischargeDisposition != null) yield return DischargeDisposition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreAdmissionIdentifier != null) yield return new ElementValue("preAdmissionIdentifier", PreAdmissionIdentifier); - if (Origin != null) yield return new ElementValue("origin", Origin); - if (AdmitSource != null) yield return new ElementValue("admitSource", AdmitSource); - if (ReAdmission != null) yield return new ElementValue("reAdmission", ReAdmission); - if (Destination != null) yield return new ElementValue("destination", Destination); - if (DischargeDisposition != null) yield return new ElementValue("dischargeDisposition", DischargeDisposition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -990,32 +892,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (StatusElement != null) yield return StatusElement; - if (Form != null) yield return Form; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Form != null) yield return new ElementValue("form", Form); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1658,80 +1534,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Class) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (SubjectStatus != null) yield return SubjectStatus; - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - if (ServiceProvider != null) yield return ServiceProvider; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in Appointment) { if (elem != null) yield return elem; } - foreach (var elem in VirtualService) { if (elem != null) yield return elem; } - if (ActualPeriod != null) yield return ActualPeriod; - if (PlannedStartDateElement != null) yield return PlannedStartDateElement; - if (PlannedEndDateElement != null) yield return PlannedEndDateElement; - if (Length != null) yield return Length; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - foreach (var elem in DietPreference) { if (elem != null) yield return elem; } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return elem; } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return elem; } - if (Admission != null) yield return Admission; - foreach (var elem in Location) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (SubjectStatus != null) yield return new ElementValue("subjectStatus", SubjectStatus); - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return new ElementValue("episodeOfCare", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - if (ServiceProvider != null) yield return new ElementValue("serviceProvider", ServiceProvider); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in Appointment) { if (elem != null) yield return new ElementValue("appointment", elem); } - foreach (var elem in VirtualService) { if (elem != null) yield return new ElementValue("virtualService", elem); } - if (ActualPeriod != null) yield return new ElementValue("actualPeriod", ActualPeriod); - if (PlannedStartDateElement != null) yield return new ElementValue("plannedStartDate", PlannedStartDateElement); - if (PlannedEndDateElement != null) yield return new ElementValue("plannedEndDate", PlannedEndDateElement); - if (Length != null) yield return new ElementValue("length", Length); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - foreach (var elem in DietPreference) { if (elem != null) yield return new ElementValue("dietPreference", elem); } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return new ElementValue("specialArrangement", elem); } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return new ElementValue("specialCourtesy", elem); } - if (Admission != null) yield return new ElementValue("admission", Admission); - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs b/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs index 2a0d025dc..05826f277 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EncounterHistory.cs @@ -151,28 +151,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (Form != null) yield return Form; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (Form != null) yield return new ElementValue("form", Form); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -533,50 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Encounter != null) yield return Encounter; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Class != null) yield return Class; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (SubjectStatus != null) yield return SubjectStatus; - if (ActualPeriod != null) yield return ActualPeriod; - if (PlannedStartDateElement != null) yield return PlannedStartDateElement; - if (PlannedEndDateElement != null) yield return PlannedEndDateElement; - if (Length != null) yield return Length; - foreach (var elem in Location) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Class != null) yield return new ElementValue("class", Class); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (SubjectStatus != null) yield return new ElementValue("subjectStatus", SubjectStatus); - if (ActualPeriod != null) yield return new ElementValue("actualPeriod", ActualPeriod); - if (PlannedStartDateElement != null) yield return new ElementValue("plannedStartDate", PlannedStartDateElement); - if (PlannedEndDateElement != null) yield return new ElementValue("plannedEndDate", PlannedEndDateElement); - if (Length != null) yield return new ElementValue("length", Length); - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs index 71ccbf4b6..ddd95deca 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Endpoint.cs @@ -209,28 +209,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in MimeTypeElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in MimeTypeElement) { if (elem != null) yield return new ElementValue("mimeType", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -609,48 +587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in ConnectionType) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in EnvironmentType) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Payload) { if (elem != null) yield return elem; } - if (AddressElement != null) yield return AddressElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in ConnectionType) { if (elem != null) yield return new ElementValue("connectionType", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in EnvironmentType) { if (elem != null) yield return new ElementValue("environmentType", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs index 7df6d756c..76e1fcdbb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentRequest.cs @@ -259,38 +259,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Candidate != null) yield return Candidate; - if (Coverage != null) yield return Coverage; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Candidate != null) yield return new ElementValue("candidate", Candidate); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs index 07ec83adb..dc7af8445 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EnrollmentResponse.cs @@ -345,40 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (RequestProvider != null) yield return RequestProvider; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs index c6f17433d..5992c8a18 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EpisodeOfCare.cs @@ -220,28 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -376,28 +354,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Use != null) yield return Use; - foreach (var elem in Value) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Use != null) yield return new ElementValue("use", Use); - foreach (var elem in Value) { if (elem != null) yield return new ElementValue("value", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -530,28 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Condition) { if (elem != null) yield return elem; } - if (Use != null) yield return Use; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - if (Use != null) yield return new ElementValue("use", Use); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -885,50 +819,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (Period != null) yield return Period; - foreach (var elem in ReferralRequest) { if (elem != null) yield return elem; } - if (CareManager != null) yield return CareManager; - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in ReferralRequest) { if (elem != null) yield return new ElementValue("referralRequest", elem); } - if (CareManager != null) yield return new ElementValue("careManager", CareManager); - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs index 75a641a7f..8c8b7b761 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EventDefinition.cs @@ -890,84 +890,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs b/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs index 02638b3a5..957c3457a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Evidence.cs @@ -233,36 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (VariableRole != null) yield return VariableRole; - if (Observed != null) yield return Observed; - if (Intended != null) yield return Intended; - if (DirectnessMatch != null) yield return DirectnessMatch; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (VariableRole != null) yield return new ElementValue("variableRole", VariableRole); - if (Observed != null) yield return new ElementValue("observed", Observed); - if (Intended != null) yield return new ElementValue("intended", Intended); - if (DirectnessMatch != null) yield return new ElementValue("directnessMatch", DirectnessMatch); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -602,44 +572,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (StatisticType != null) yield return StatisticType; - if (Category != null) yield return Category; - if (Quantity != null) yield return Quantity; - if (NumberOfEventsElement != null) yield return NumberOfEventsElement; - if (NumberAffectedElement != null) yield return NumberAffectedElement; - if (SampleSize != null) yield return SampleSize; - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - foreach (var elem in ModelCharacteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (StatisticType != null) yield return new ElementValue("statisticType", StatisticType); - if (Category != null) yield return new ElementValue("category", Category); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (NumberOfEventsElement != null) yield return new ElementValue("numberOfEvents", NumberOfEventsElement); - if (NumberAffectedElement != null) yield return new ElementValue("numberAffected", NumberAffectedElement); - if (SampleSize != null) yield return new ElementValue("sampleSize", SampleSize); - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - foreach (var elem in ModelCharacteristic) { if (elem != null) yield return new ElementValue("modelCharacteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -942,34 +874,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (NumberOfStudiesElement != null) yield return NumberOfStudiesElement; - if (NumberOfParticipantsElement != null) yield return NumberOfParticipantsElement; - if (KnownDataCountElement != null) yield return KnownDataCountElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (NumberOfStudiesElement != null) yield return new ElementValue("numberOfStudies", NumberOfStudiesElement); - if (NumberOfParticipantsElement != null) yield return new ElementValue("numberOfParticipants", NumberOfParticipantsElement); - if (KnownDataCountElement != null) yield return new ElementValue("knownDataCount", KnownDataCountElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1238,38 +1142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (LevelElement != null) yield return LevelElement; - if (Range != null) yield return Range; - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (LevelElement != null) yield return new ElementValue("level", LevelElement); - if (Range != null) yield return new ElementValue("range", Range); - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1469,32 +1341,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - foreach (var elem in Variable) { if (elem != null) yield return elem; } - foreach (var elem in AttributeEstimate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - foreach (var elem in AttributeEstimate) { if (elem != null) yield return new ElementValue("attributeEstimate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1708,34 +1554,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (VariableDefinition != null) yield return VariableDefinition; - if (HandlingElement != null) yield return HandlingElement; - foreach (var elem in ValueCategory) { if (elem != null) yield return elem; } - foreach (var elem in ValueQuantity) { if (elem != null) yield return elem; } - foreach (var elem in ValueRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (VariableDefinition != null) yield return new ElementValue("variableDefinition", VariableDefinition); - if (HandlingElement != null) yield return new ElementValue("handling", HandlingElement); - foreach (var elem in ValueCategory) { if (elem != null) yield return new ElementValue("valueCategory", elem); } - foreach (var elem in ValueQuantity) { if (elem != null) yield return new ElementValue("valueQuantity", elem); } - foreach (var elem in ValueRange) { if (elem != null) yield return new ElementValue("valueRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1989,36 +1807,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Rating != null) yield return Rating; - if (RaterElement != null) yield return RaterElement; - foreach (var elem in Subcomponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Rating != null) yield return new ElementValue("rating", Rating); - if (RaterElement != null) yield return new ElementValue("rater", RaterElement); - foreach (var elem in Subcomponent) { if (elem != null) yield return new ElementValue("subcomponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2918,86 +2706,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (CiteAs != null) yield return CiteAs; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (AssertionElement != null) yield return AssertionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in VariableDefinition) { if (elem != null) yield return elem; } - if (SynthesisType != null) yield return SynthesisType; - foreach (var elem in StudyDesign) { if (elem != null) yield return elem; } - foreach (var elem in Statistic) { if (elem != null) yield return elem; } - foreach (var elem in Certainty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (CiteAs != null) yield return new ElementValue("citeAs", CiteAs); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AssertionElement != null) yield return new ElementValue("assertion", AssertionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in VariableDefinition) { if (elem != null) yield return new ElementValue("variableDefinition", elem); } - if (SynthesisType != null) yield return new ElementValue("synthesisType", SynthesisType); - foreach (var elem in StudyDesign) { if (elem != null) yield return new ElementValue("studyDesign", elem); } - foreach (var elem in Statistic) { if (elem != null) yield return new ElementValue("statistic", elem); } - foreach (var elem in Certainty) { if (elem != null) yield return new ElementValue("certainty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs b/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs index b6815f4f8..1f3cd524c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EvidenceReport.cs @@ -207,28 +207,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -410,32 +388,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -601,28 +553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -821,32 +751,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (DisplayElement != null) yield return DisplayElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1202,48 +1106,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Focus != null) yield return Focus; - if (FocusReference != null) yield return FocusReference; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Text != null) yield return Text; - if (ModeElement != null) yield return ModeElement; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in EntryClassifier) { if (elem != null) yield return elem; } - foreach (var elem in EntryReference) { if (elem != null) yield return elem; } - foreach (var elem in EntryQuantity) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (FocusReference != null) yield return new ElementValue("focusReference", FocusReference); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Text != null) yield return new ElementValue("text", Text); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in EntryClassifier) { if (elem != null) yield return new ElementValue("entryClassifier", elem); } - foreach (var elem in EntryReference) { if (elem != null) yield return new ElementValue("entryReference", elem); } - foreach (var elem in EntryQuantity) { if (elem != null) yield return new ElementValue("entryQuantity", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1758,60 +1620,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return elem; } - if (CiteAs != null) yield return CiteAs; - if (Type != null) yield return Type; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in RelatedIdentifier) { if (elem != null) yield return new ElementValue("relatedIdentifier", elem); } - if (CiteAs != null) yield return new ElementValue("citeAs", CiteAs); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs b/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs index d620fbf8c..128798177 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/EvidenceVariable.cs @@ -490,52 +490,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (ExcludeElement != null) yield return ExcludeElement; - if (DefinitionReference != null) yield return DefinitionReference; - if (DefinitionCanonicalElement != null) yield return DefinitionCanonicalElement; - if (DefinitionCodeableConcept != null) yield return DefinitionCodeableConcept; - if (DefinitionExpression != null) yield return DefinitionExpression; - if (DefinitionIdElement != null) yield return DefinitionIdElement; - if (DefinitionByTypeAndValue != null) yield return DefinitionByTypeAndValue; - if (DefinitionByCombination != null) yield return DefinitionByCombination; - if (Instances != null) yield return Instances; - if (Duration != null) yield return Duration; - foreach (var elem in TimeFromEvent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (DefinitionReference != null) yield return new ElementValue("definitionReference", DefinitionReference); - if (DefinitionCanonicalElement != null) yield return new ElementValue("definitionCanonical", DefinitionCanonicalElement); - if (DefinitionCodeableConcept != null) yield return new ElementValue("definitionCodeableConcept", DefinitionCodeableConcept); - if (DefinitionExpression != null) yield return new ElementValue("definitionExpression", DefinitionExpression); - if (DefinitionIdElement != null) yield return new ElementValue("definitionId", DefinitionIdElement); - if (DefinitionByTypeAndValue != null) yield return new ElementValue("definitionByTypeAndValue", DefinitionByTypeAndValue); - if (DefinitionByCombination != null) yield return new ElementValue("definitionByCombination", DefinitionByCombination); - if (Instances != null) yield return new ElementValue("instances", Instances); - if (Duration != null) yield return new ElementValue("duration", Duration); - foreach (var elem in TimeFromEvent) { if (elem != null) yield return new ElementValue("timeFromEvent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -806,34 +760,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Method) { if (elem != null) yield return elem; } - if (Device != null) yield return Device; - if (Value != null) yield return Value; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Method) { if (elem != null) yield return new ElementValue("method", elem); } - if (Device != null) yield return new ElementValue("device", Device); - if (Value != null) yield return new ElementValue("value", Value); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1039,30 +965,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ThresholdElement != null) yield return ThresholdElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ThresholdElement != null) yield return new ElementValue("threshold", ThresholdElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1265,34 +1167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (Quantity != null) yield return Quantity; - if (Range != null) yield return Range; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Range != null) yield return new ElementValue("range", Range); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1459,28 +1333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2367,84 +2219,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (ShortTitleElement != null) yield return ShortTitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (ActualElement != null) yield return ActualElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - if (HandlingElement != null) yield return HandlingElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ShortTitleElement != null) yield return new ElementValue("shortTitle", ShortTitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - if (HandlingElement != null) yield return new ElementValue("handling", HandlingElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs b/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs index 86c281cb4..9e2c3df92 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExampleScenario.cs @@ -252,32 +252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (TypeElement != null) yield return TypeElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -612,42 +586,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (StructureType != null) yield return StructureType; - if (StructureVersionElement != null) yield return StructureVersionElement; - if (StructureProfile != null) yield return StructureProfile; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Content != null) yield return Content; - foreach (var elem in Version) { if (elem != null) yield return elem; } - foreach (var elem in ContainedInstance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (StructureType != null) yield return new ElementValue("structureType", StructureType); - if (StructureVersionElement != null) yield return new ElementValue("structureVersion", StructureVersionElement); - if (StructureProfile != null) yield return new ElementValue("structureProfile", StructureProfile); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Content != null) yield return new ElementValue("content", Content); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - foreach (var elem in ContainedInstance) { if (elem != null) yield return new ElementValue("containedInstance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -914,32 +852,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1119,28 +1031,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InstanceReferenceElement != null) yield return InstanceReferenceElement; - if (VersionReferenceElement != null) yield return VersionReferenceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InstanceReferenceElement != null) yield return new ElementValue("instanceReference", InstanceReferenceElement); - if (VersionReferenceElement != null) yield return new ElementValue("versionReference", VersionReferenceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1392,34 +1282,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PreConditionsElement != null) yield return PreConditionsElement; - if (PostConditionsElement != null) yield return PostConditionsElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PreConditionsElement != null) yield return new ElementValue("preConditions", PreConditionsElement); - if (PostConditionsElement != null) yield return new ElementValue("postConditions", PostConditionsElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1688,36 +1550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (Process != null) yield return Process; - if (WorkflowElement != null) yield return WorkflowElement; - if (Operation != null) yield return Operation; - foreach (var elem in Alternative) { if (elem != null) yield return elem; } - if (PauseElement != null) yield return PauseElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Process != null) yield return new ElementValue("process", Process); - if (WorkflowElement != null) yield return new ElementValue("workflow", WorkflowElement); - if (Operation != null) yield return new ElementValue("operation", Operation); - foreach (var elem in Alternative) { if (elem != null) yield return new ElementValue("alternative", elem); } - if (PauseElement != null) yield return new ElementValue("pause", PauseElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2095,42 +1927,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (TitleElement != null) yield return TitleElement; - if (InitiatorElement != null) yield return InitiatorElement; - if (ReceiverElement != null) yield return ReceiverElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (InitiatorActiveElement != null) yield return InitiatorActiveElement; - if (ReceiverActiveElement != null) yield return ReceiverActiveElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (InitiatorElement != null) yield return new ElementValue("initiator", InitiatorElement); - if (ReceiverElement != null) yield return new ElementValue("receiver", ReceiverElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (InitiatorActiveElement != null) yield return new ElementValue("initiatorActive", InitiatorActiveElement); - if (ReceiverActiveElement != null) yield return new ElementValue("receiverActive", ReceiverActiveElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2362,30 +2158,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Step) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Step) { if (elem != null) yield return new ElementValue("step", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3024,64 +2796,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Process) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Process) { if (elem != null) yield return new ElementValue("process", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs index aeac9e388..f86ba6012 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExplanationOfBenefit.cs @@ -200,30 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -364,28 +340,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (When != null) yield return When; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (When != null) yield return new ElementValue("when", When); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -518,28 +472,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -758,34 +690,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Specialty != null) yield return Specialty; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Specialty != null) yield return new ElementValue("specialty", Specialty); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1028,36 +932,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1273,32 +1147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (OnAdmission != null) yield return OnAdmission; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (OnAdmission != null) yield return new ElementValue("onAdmission", OnAdmission); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1536,34 +1384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1771,30 +1591,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1968,30 +1764,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2702,80 +2474,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Request) { if (elem != null) yield return elem; } - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamSequenceElement) { if (elem != null) yield return new ElementValue("careTeamSequence", elem); } - foreach (var elem in DiagnosisSequenceElement) { if (elem != null) yield return new ElementValue("diagnosisSequence", elem); } - foreach (var elem in ProcedureSequenceElement) { if (elem != null) yield return new ElementValue("procedureSequence", elem); } - foreach (var elem in InformationSequenceElement) { if (elem != null) yield return new ElementValue("informationSequence", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3090,28 +2788,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Site) { if (elem != null) yield return elem; } - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3293,32 +2969,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Decision != null) yield return Decision; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (PreAuthRefElement != null) yield return PreAuthRefElement; - if (PreAuthPeriod != null) yield return PreAuthPeriod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Decision != null) yield return new ElementValue("decision", Decision); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (PreAuthRefElement != null) yield return new ElementValue("preAuthRef", PreAuthRefElement); - if (PreAuthPeriod != null) yield return new ElementValue("preAuthPeriod", PreAuthPeriod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3496,32 +3146,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4006,62 +3630,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4634,60 +4202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5397,72 +4911,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - foreach (var elem in Provider) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Request) { if (elem != null) yield return elem; } - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ItemSequenceElement) { if (elem != null) yield return new ElementValue("itemSequence", elem); } - foreach (var elem in DetailSequenceElement) { if (elem != null) yield return new ElementValue("detailSequence", elem); } - foreach (var elem in SubDetailSequenceElement) { if (elem != null) yield return new ElementValue("subDetailSequence", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - foreach (var elem in Provider) { if (elem != null) yield return new ElementValue("provider", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5749,28 +5197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Site) { if (elem != null) yield return elem; } - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6152,54 +5578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6655,52 +6033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (ProductOrService != null) yield return ProductOrService; - if (ProductOrServiceEnd != null) yield return ProductOrServiceEnd; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (PatientPaid != null) yield return PatientPaid; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Tax != null) yield return Tax; - if (Net != null) yield return Net; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - if (ReviewOutcome != null) yield return ReviewOutcome; - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (ProductOrService != null) yield return new ElementValue("productOrService", ProductOrService); - if (ProductOrServiceEnd != null) yield return new ElementValue("productOrServiceEnd", ProductOrServiceEnd); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Tax != null) yield return new ElementValue("tax", Tax); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - if (ReviewOutcome != null) yield return new ElementValue("reviewOutcome", ReviewOutcome); - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6917,28 +6249,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7151,36 +6461,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7407,32 +6687,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7728,40 +6982,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Financial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Financial) { if (elem != null) yield return new ElementValue("financial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7954,30 +7174,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -9037,122 +8233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in TraceNumber) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Priority != null) yield return Priority; - if (FundsReserveRequested != null) yield return FundsReserveRequested; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - if (Facility != null) yield return Facility; - if (Claim != null) yield return Claim; - if (ClaimResponse != null) yield return ClaimResponse; - if (OutcomeElement != null) yield return OutcomeElement; - if (Decision != null) yield return Decision; - if (DispositionElement != null) yield return DispositionElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return elem; } - if (DiagnosisRelatedGroup != null) yield return DiagnosisRelatedGroup; - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - if (PrecedenceElement != null) yield return PrecedenceElement; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - if (PatientPaid != null) yield return PatientPaid; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Total) { if (elem != null) yield return elem; } - if (Payment != null) yield return Payment; - if (FormCode != null) yield return FormCode; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - if (BenefitPeriod != null) yield return BenefitPeriod; - foreach (var elem in BenefitBalance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in TraceNumber) { if (elem != null) yield return new ElementValue("traceNumber", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserveRequested != null) yield return new ElementValue("fundsReserveRequested", FundsReserveRequested); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - if (Facility != null) yield return new ElementValue("facility", Facility); - if (Claim != null) yield return new ElementValue("claim", Claim); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (Decision != null) yield return new ElementValue("decision", Decision); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - foreach (var elem in PreAuthRefPeriod) { if (elem != null) yield return new ElementValue("preAuthRefPeriod", elem); } - if (DiagnosisRelatedGroup != null) yield return new ElementValue("diagnosisRelatedGroup", DiagnosisRelatedGroup); - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - if (PrecedenceElement != null) yield return new ElementValue("precedence", PrecedenceElement); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - if (PatientPaid != null) yield return new ElementValue("patientPaid", PatientPaid); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Total) { if (elem != null) yield return new ElementValue("total", elem); } - if (Payment != null) yield return new ElementValue("payment", Payment); - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - if (BenefitPeriod != null) yield return new ElementValue("benefitPeriod", BenefitPeriod); - foreach (var elem in BenefitBalance) { if (elem != null) yield return new ElementValue("benefitBalance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Expression.cs b/src/Hl7.Fhir.R5/Model/Generated/Expression.cs index 15bb3c045..31680d20a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Expression.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Expression.cs @@ -269,34 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (NameElement != null) yield return NameElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (ReferenceElement != null) yield return ReferenceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs b/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs index ad2dd1f08..2228cce21 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ExtendedContactDetail.cs @@ -200,36 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (Organization != null) yield return Organization; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs index 2f5bee77e..0ec468768 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/FamilyMemberHistory.cs @@ -184,28 +184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -406,34 +384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Outcome != null) yield return Outcome; - if (ContributedToDeathElement != null) yield return ContributedToDeathElement; - if (Onset != null) yield return Onset; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (ContributedToDeathElement != null) yield return new ElementValue("contributedToDeath", ContributedToDeathElement); - if (Onset != null) yield return new ElementValue("onset", Onset); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -655,34 +605,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Outcome != null) yield return Outcome; - if (ContributedToDeathElement != null) yield return ContributedToDeathElement; - if (Performed != null) yield return Performed; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (ContributedToDeathElement != null) yield return new ElementValue("contributedToDeath", ContributedToDeathElement); - if (Performed != null) yield return new ElementValue("performed", Performed); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1223,62 +1145,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DataAbsentReason != null) yield return DataAbsentReason; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Relationship != null) yield return Relationship; - if (Sex != null) yield return Sex; - if (Born != null) yield return Born; - if (Age != null) yield return Age; - if (EstimatedAgeElement != null) yield return EstimatedAgeElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Sex != null) yield return new ElementValue("sex", Sex); - if (Born != null) yield return new ElementValue("born", Born); - if (Age != null) yield return new ElementValue("age", Age); - if (EstimatedAgeElement != null) yield return new ElementValue("estimatedAge", EstimatedAgeElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Flag.cs b/src/Hl7.Fhir.R5/Model/Generated/Flag.cs index 1c97e5d6c..877bf9a5c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Flag.cs @@ -289,40 +289,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - if (Encounter != null) yield return Encounter; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs b/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs index 3521e7a02..7d535a0ec 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/FormularyItem.cs @@ -198,30 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs index 18886b009..33fd7d497 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GenomicStudy.cs @@ -539,60 +539,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in MethodType) { if (elem != null) yield return elem; } - foreach (var elem in ChangeType) { if (elem != null) yield return elem; } - if (GenomeBuild != null) yield return GenomeBuild; - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (ProtocolPerformed != null) yield return ProtocolPerformed; - foreach (var elem in RegionsStudied) { if (elem != null) yield return elem; } - foreach (var elem in RegionsCalled) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in MethodType) { if (elem != null) yield return new ElementValue("methodType", elem); } - foreach (var elem in ChangeType) { if (elem != null) yield return new ElementValue("changeType", elem); } - if (GenomeBuild != null) yield return new ElementValue("genomeBuild", GenomeBuild); - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (ProtocolPerformed != null) yield return new ElementValue("protocolPerformed", ProtocolPerformed); - foreach (var elem in RegionsStudied) { if (elem != null) yield return new ElementValue("regionsStudied", elem); } - foreach (var elem in RegionsCalled) { if (elem != null) yield return new ElementValue("regionsCalled", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -852,30 +798,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (File != null) yield return File; - if (Type != null) yield return Type; - if (GeneratedBy != null) yield return GeneratedBy; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (File != null) yield return new ElementValue("file", File); - if (Type != null) yield return new ElementValue("type", Type); - if (GeneratedBy != null) yield return new ElementValue("generatedBy", GeneratedBy); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1011,28 +933,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (File != null) yield return File; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (File != null) yield return new ElementValue("file", File); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1160,28 +1060,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Actor != null) yield return Actor; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Actor != null) yield return new ElementValue("actor", Actor); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1309,28 +1187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Device != null) yield return Device; - if (Function != null) yield return Function; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Device != null) yield return new ElementValue("device", Device); - if (Function != null) yield return new ElementValue("function", Function); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1765,54 +1621,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (StartDateElement != null) yield return StartDateElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Referrer != null) yield return Referrer; - foreach (var elem in Interpreter) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Analysis) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (StartDateElement != null) yield return new ElementValue("startDate", StartDateElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Referrer != null) yield return new ElementValue("referrer", Referrer); - foreach (var elem in Interpreter) { if (elem != null) yield return new ElementValue("interpreter", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Analysis) { if (elem != null) yield return new ElementValue("analysis", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Goal.cs b/src/Hl7.Fhir.R5/Model/Generated/Goal.cs index c93d56aef..2aafd0749 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Goal.cs @@ -234,30 +234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -700,56 +676,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (LifecycleStatusElement != null) yield return LifecycleStatusElement; - if (AchievementStatus != null) yield return AchievementStatus; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (ContinuousElement != null) yield return ContinuousElement; - if (Priority != null) yield return Priority; - if (Description != null) yield return Description; - if (Subject != null) yield return Subject; - if (Start != null) yield return Start; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (StatusDateElement != null) yield return StatusDateElement; - if (StatusReasonElement != null) yield return StatusReasonElement; - if (Source != null) yield return Source; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Outcome) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (LifecycleStatusElement != null) yield return new ElementValue("lifecycleStatus", LifecycleStatusElement); - if (AchievementStatus != null) yield return new ElementValue("achievementStatus", AchievementStatus); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (ContinuousElement != null) yield return new ElementValue("continuous", ContinuousElement); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Description != null) yield return new ElementValue("description", Description); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (StatusReasonElement != null) yield return new ElementValue("statusReason", StatusReasonElement); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Outcome) { if (elem != null) yield return new ElementValue("outcome", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs index 264c297a0..0e7ee30b2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GraphDefinition.cs @@ -307,32 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NodeIdElement != null) yield return NodeIdElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NodeIdElement != null) yield return new ElementValue("nodeId", NodeIdElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -731,42 +705,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (PathElement != null) yield return PathElement; - if (SliceNameElement != null) yield return SliceNameElement; - if (TargetIdElement != null) yield return TargetIdElement; - if (ParamsElement != null) yield return ParamsElement; - foreach (var elem in Compartment) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - foreach (var elem in Compartment) { if (elem != null) yield return new ElementValue("compartment", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1088,34 +1026,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (RuleElement != null) yield return RuleElement; - if (CodeElement != null) yield return CodeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (RuleElement != null) yield return new ElementValue("rule", RuleElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1787,64 +1697,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (StartElement != null) yield return StartElement; - foreach (var elem in Node) { if (elem != null) yield return elem; } - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - foreach (var elem in Node) { if (elem != null) yield return new ElementValue("node", elem); } - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Group.cs b/src/Hl7.Fhir.R5/Model/Generated/Group.cs index 2e5b85573..1ed578e99 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Group.cs @@ -297,32 +297,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -502,30 +476,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Period != null) yield return Period; - if (InactiveElement != null) yield return InactiveElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Period != null) yield return new ElementValue("period", Period); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -910,46 +860,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (TypeElement != null) yield return TypeElement; - if (MembershipElement != null) yield return MembershipElement; - if (Code != null) yield return Code; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (QuantityElement != null) yield return QuantityElement; - if (ManagingEntity != null) yield return ManagingEntity; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Member) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (MembershipElement != null) yield return new ElementValue("membership", MembershipElement); - if (Code != null) yield return new ElementValue("code", Code); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - if (ManagingEntity != null) yield return new ElementValue("managingEntity", ManagingEntity); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Member) { if (elem != null) yield return new ElementValue("member", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs index 71b81f2b0..1b481ce2d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/GuidanceResponse.cs @@ -430,52 +430,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequestIdentifier != null) yield return RequestIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Module != null) yield return Module; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (OccurrenceDateTimeElement != null) yield return OccurrenceDateTimeElement; - if (Performer != null) yield return Performer; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (EvaluationMessage != null) yield return EvaluationMessage; - if (OutputParameters != null) yield return OutputParameters; - foreach (var elem in Result) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequestIdentifier != null) yield return new ElementValue("requestIdentifier", RequestIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Module != null) yield return new ElementValue("module", Module); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (OccurrenceDateTimeElement != null) yield return new ElementValue("occurrenceDateTime", OccurrenceDateTimeElement); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (EvaluationMessage != null) yield return new ElementValue("evaluationMessage", EvaluationMessage); - if (OutputParameters != null) yield return new ElementValue("outputParameters", OutputParameters); - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs index 314ec6852..1558b6939 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/HealthcareService.cs @@ -162,28 +162,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -758,70 +736,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (ProvidedBy != null) yield return ProvidedBy; - foreach (var elem in OfferedIn) { if (elem != null) yield return elem; } - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - if (ExtraDetailsElement != null) yield return ExtraDetailsElement; - if (Photo != null) yield return Photo; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return elem; } - foreach (var elem in Eligibility) { if (elem != null) yield return elem; } - foreach (var elem in Program) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in ReferralMethod) { if (elem != null) yield return elem; } - if (AppointmentRequiredElement != null) yield return AppointmentRequiredElement; - foreach (var elem in Availability) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (ProvidedBy != null) yield return new ElementValue("providedBy", ProvidedBy); - foreach (var elem in OfferedIn) { if (elem != null) yield return new ElementValue("offeredIn", elem); } - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (ExtraDetailsElement != null) yield return new ElementValue("extraDetails", ExtraDetailsElement); - if (Photo != null) yield return new ElementValue("photo", Photo); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return new ElementValue("serviceProvisionCode", elem); } - foreach (var elem in Eligibility) { if (elem != null) yield return new ElementValue("eligibility", elem); } - foreach (var elem in Program) { if (elem != null) yield return new ElementValue("program", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in ReferralMethod) { if (elem != null) yield return new ElementValue("referralMethod", elem); } - if (AppointmentRequiredElement != null) yield return new ElementValue("appointmentRequired", AppointmentRequiredElement); - foreach (var elem in Availability) { if (elem != null) yield return new ElementValue("availability", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs b/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs index c27fa268a..599d62d8c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/HumanName.cs @@ -376,38 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TextElement != null) yield return TextElement; - if (FamilyElement != null) yield return FamilyElement; - foreach (var elem in GivenElement) { if (elem != null) yield return elem; } - foreach (var elem in PrefixElement) { if (elem != null) yield return elem; } - foreach (var elem in SuffixElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (FamilyElement != null) yield return new ElementValue("family", FamilyElement); - foreach (var elem in GivenElement) { if (elem != null) yield return new ElementValue("given", elem); } - foreach (var elem in PrefixElement) { if (elem != null) yield return new ElementValue("prefix", elem); } - foreach (var elem in SuffixElement) { if (elem != null) yield return new ElementValue("suffix", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs b/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs index 771a10bb9..2f39ce343 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImagingSelection.cs @@ -263,28 +263,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -536,36 +514,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (SopClass != null) yield return SopClass; - foreach (var elem in SubsetElement) { if (elem != null) yield return elem; } - foreach (var elem in ImageRegion2D) { if (elem != null) yield return elem; } - foreach (var elem in ImageRegion3D) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (SopClass != null) yield return new ElementValue("sopClass", SopClass); - foreach (var elem in SubsetElement) { if (elem != null) yield return new ElementValue("subset", elem); } - foreach (var elem in ImageRegion2D) { if (elem != null) yield return new ElementValue("imageRegion2D", elem); } - foreach (var elem in ImageRegion3D) { if (elem != null) yield return new ElementValue("imageRegion3D", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -763,28 +711,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RegionTypeElement != null) yield return RegionTypeElement; - foreach (var elem in CoordinateElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RegionTypeElement != null) yield return new ElementValue("regionType", RegionTypeElement); - foreach (var elem in CoordinateElement) { if (elem != null) yield return new ElementValue("coordinate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -953,28 +879,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RegionTypeElement != null) yield return RegionTypeElement; - foreach (var elem in CoordinateElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RegionTypeElement != null) yield return new ElementValue("regionType", RegionTypeElement); - foreach (var elem in CoordinateElement) { if (elem != null) yield return new ElementValue("coordinate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1462,58 +1366,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StudyUidElement != null) yield return StudyUidElement; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (SeriesUidElement != null) yield return SeriesUidElement; - if (SeriesNumberElement != null) yield return SeriesNumberElement; - if (FrameOfReferenceUidElement != null) yield return FrameOfReferenceUidElement; - if (BodySite != null) yield return BodySite; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StudyUidElement != null) yield return new ElementValue("studyUid", StudyUidElement); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (SeriesUidElement != null) yield return new ElementValue("seriesUid", SeriesUidElement); - if (SeriesNumberElement != null) yield return new ElementValue("seriesNumber", SeriesNumberElement); - if (FrameOfReferenceUidElement != null) yield return new ElementValue("frameOfReferenceUid", FrameOfReferenceUidElement); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs index b00a2be00..ead85dae2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImagingStudy.cs @@ -449,48 +449,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (Modality != null) yield return Modality; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Laterality != null) yield return Laterality; - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - if (StartedElement != null) yield return StartedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Laterality != null) yield return new ElementValue("laterality", Laterality); - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -694,28 +652,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -933,32 +869,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (SopClass != null) yield return SopClass; - if (NumberElement != null) yield return NumberElement; - if (TitleElement != null) yield return TitleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (SopClass != null) yield return new ElementValue("sopClass", SopClass); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1463,60 +1373,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Modality) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (StartedElement != null) yield return StartedElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Referrer != null) yield return Referrer; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (NumberOfSeriesElement != null) yield return NumberOfSeriesElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Series) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Modality) { if (elem != null) yield return new ElementValue("modality", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Referrer != null) yield return new ElementValue("referrer", Referrer); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (NumberOfSeriesElement != null) yield return new ElementValue("numberOfSeries", NumberOfSeriesElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Series) { if (elem != null) yield return new ElementValue("series", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs b/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs index d58f231a6..24c695f65 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Immunization.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -332,28 +310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Program != null) yield return Program; - if (ProgramStatus != null) yield return ProgramStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Program != null) yield return new ElementValue("program", Program); - if (ProgramStatus != null) yield return new ElementValue("programStatus", ProgramStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,30 +491,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Manifestation != null) yield return Manifestation; - if (ReportedElement != null) yield return ReportedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Manifestation != null) yield return new ElementValue("manifestation", Manifestation); - if (ReportedElement != null) yield return new ElementValue("reported", ReportedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -801,34 +733,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SeriesElement != null) yield return SeriesElement; - if (Authority != null) yield return Authority; - foreach (var elem in TargetDisease) { if (elem != null) yield return elem; } - if (DoseNumberElement != null) yield return DoseNumberElement; - if (SeriesDosesElement != null) yield return SeriesDosesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in TargetDisease) { if (elem != null) yield return new ElementValue("targetDisease", elem); } - if (DoseNumberElement != null) yield return new ElementValue("doseNumber", DoseNumberElement); - if (SeriesDosesElement != null) yield return new ElementValue("seriesDoses", SeriesDosesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1506,80 +1410,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (VaccineCode != null) yield return VaccineCode; - if (AdministeredProduct != null) yield return AdministeredProduct; - if (Manufacturer != null) yield return Manufacturer; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (PrimarySourceElement != null) yield return PrimarySourceElement; - if (InformationSource != null) yield return InformationSource; - if (Location != null) yield return Location; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (DoseQuantity != null) yield return DoseQuantity; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (IsSubpotentElement != null) yield return IsSubpotentElement; - foreach (var elem in SubpotentReason) { if (elem != null) yield return elem; } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return elem; } - if (FundingSource != null) yield return FundingSource; - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (VaccineCode != null) yield return new ElementValue("vaccineCode", VaccineCode); - if (AdministeredProduct != null) yield return new ElementValue("administeredProduct", AdministeredProduct); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (PrimarySourceElement != null) yield return new ElementValue("primarySource", PrimarySourceElement); - if (InformationSource != null) yield return new ElementValue("informationSource", InformationSource); - if (Location != null) yield return new ElementValue("location", Location); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (DoseQuantity != null) yield return new ElementValue("doseQuantity", DoseQuantity); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (IsSubpotentElement != null) yield return new ElementValue("isSubpotent", IsSubpotentElement); - foreach (var elem in SubpotentReason) { if (elem != null) yield return new ElementValue("subpotentReason", elem); } - foreach (var elem in ProgramEligibility) { if (elem != null) yield return new ElementValue("programEligibility", elem); } - if (FundingSource != null) yield return new ElementValue("fundingSource", FundingSource); - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - foreach (var elem in ProtocolApplied) { if (elem != null) yield return new ElementValue("protocolApplied", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs index 6d2eb0d9b..b3eacb6cc 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationEvaluation.cs @@ -456,50 +456,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - if (TargetDisease != null) yield return TargetDisease; - if (ImmunizationEvent != null) yield return ImmunizationEvent; - if (DoseStatus != null) yield return DoseStatus; - foreach (var elem in DoseStatusReason) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumberElement != null) yield return DoseNumberElement; - if (SeriesDosesElement != null) yield return SeriesDosesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - if (ImmunizationEvent != null) yield return new ElementValue("immunizationEvent", ImmunizationEvent); - if (DoseStatus != null) yield return new ElementValue("doseStatus", DoseStatus); - foreach (var elem in DoseStatusReason) { if (elem != null) yield return new ElementValue("doseStatusReason", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumberElement != null) yield return new ElementValue("doseNumber", DoseNumberElement); - if (SeriesDosesElement != null) yield return new ElementValue("seriesDoses", SeriesDosesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs index a9698fe5d..7dff6884a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImmunizationRecommendation.cs @@ -395,48 +395,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return elem; } - foreach (var elem in TargetDisease) { if (elem != null) yield return elem; } - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return elem; } - if (ForecastStatus != null) yield return ForecastStatus; - foreach (var elem in ForecastReason) { if (elem != null) yield return elem; } - foreach (var elem in DateCriterion) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (SeriesElement != null) yield return SeriesElement; - if (DoseNumberElement != null) yield return DoseNumberElement; - if (SeriesDosesElement != null) yield return SeriesDosesElement; - foreach (var elem in SupportingImmunization) { if (elem != null) yield return elem; } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in VaccineCode) { if (elem != null) yield return new ElementValue("vaccineCode", elem); } - foreach (var elem in TargetDisease) { if (elem != null) yield return new ElementValue("targetDisease", elem); } - foreach (var elem in ContraindicatedVaccineCode) { if (elem != null) yield return new ElementValue("contraindicatedVaccineCode", elem); } - if (ForecastStatus != null) yield return new ElementValue("forecastStatus", ForecastStatus); - foreach (var elem in ForecastReason) { if (elem != null) yield return new ElementValue("forecastReason", elem); } - foreach (var elem in DateCriterion) { if (elem != null) yield return new ElementValue("dateCriterion", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (DoseNumberElement != null) yield return new ElementValue("doseNumber", DoseNumberElement); - if (SeriesDosesElement != null) yield return new ElementValue("seriesDoses", SeriesDosesElement); - foreach (var elem in SupportingImmunization) { if (elem != null) yield return new ElementValue("supportingImmunization", elem); } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return new ElementValue("supportingPatientInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -656,28 +614,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -866,34 +802,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Authority != null) yield return Authority; - foreach (var elem in Recommendation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - foreach (var elem in Recommendation) { if (elem != null) yield return new ElementValue("recommendation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs index 6caec04ef..fa6d4e959 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ImplementationGuide.cs @@ -2371,32 +2371,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (VersionElement != null) yield return VersionElement; - if (ReasonElement != null) yield return ReasonElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2580,28 +2554,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2783,34 +2735,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return elem; } - foreach (var elem in Resource) { if (elem != null) yield return elem; } - if (Page != null) yield return Page; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Template) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Grouping) { if (elem != null) yield return new ElementValue("grouping", elem); } - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - if (Page != null) yield return new ElementValue("page", Page); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Template) { if (elem != null) yield return new ElementValue("template", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2998,28 +2922,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3343,38 +3245,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (IsExampleElement != null) yield return IsExampleElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - if (GroupingIdElement != null) yield return GroupingIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (IsExampleElement != null) yield return new ElementValue("isExample", IsExampleElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - if (GroupingIdElement != null) yield return new ElementValue("groupingId", GroupingIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3649,34 +3519,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Source != null) yield return Source; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (GenerationElement != null) yield return GenerationElement; - foreach (var elem in Page) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Source != null) yield return new ElementValue("source", Source); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (GenerationElement != null) yield return new ElementValue("generation", GenerationElement); - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3847,28 +3689,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4066,30 +3886,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (SourceElement != null) yield return SourceElement; - if (ScopeElement != null) yield return ScopeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (ScopeElement != null) yield return new ElementValue("scope", ScopeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4331,34 +4127,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RenderingElement != null) yield return RenderingElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Page) { if (elem != null) yield return elem; } - foreach (var elem in ImageElement) { if (elem != null) yield return elem; } - foreach (var elem in OtherElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RenderingElement != null) yield return new ElementValue("rendering", RenderingElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - foreach (var elem in ImageElement) { if (elem != null) yield return new ElementValue("image", elem); } - foreach (var elem in OtherElement) { if (elem != null) yield return new ElementValue("other", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4598,32 +4366,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Reference != null) yield return Reference; - if (IsExampleElement != null) yield return IsExampleElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - if (RelativePathElement != null) yield return RelativePathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Reference != null) yield return new ElementValue("reference", Reference); - if (IsExampleElement != null) yield return new ElementValue("isExample", IsExampleElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - if (RelativePathElement != null) yield return new ElementValue("relativePath", RelativePathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4838,30 +4580,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in AnchorElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in AnchorElement) { if (elem != null) yield return new ElementValue("anchor", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5625,72 +5343,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (PackageIdElement != null) yield return PackageIdElement; - if (LicenseElement != null) yield return LicenseElement; - foreach (var elem in FhirVersionElement) { if (elem != null) yield return elem; } - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Global) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - if (Manifest != null) yield return Manifest; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (PackageIdElement != null) yield return new ElementValue("packageId", PackageIdElement); - if (LicenseElement != null) yield return new ElementValue("license", LicenseElement); - foreach (var elem in FhirVersionElement) { if (elem != null) yield return new ElementValue("fhirVersion", elem); } - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Global) { if (elem != null) yield return new ElementValue("global", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Manifest != null) yield return new ElementValue("manifest", Manifest); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs b/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs index 19d093e87..61f7c1b97 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Ingredient.cs @@ -194,28 +194,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (Manufacturer != null) yield return Manufacturer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -344,28 +322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Strength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Strength) { if (elem != null) yield return new ElementValue("strength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -651,40 +607,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Presentation != null) yield return Presentation; - if (TextPresentationElement != null) yield return TextPresentationElement; - if (Concentration != null) yield return Concentration; - if (TextConcentrationElement != null) yield return TextConcentrationElement; - if (Basis != null) yield return Basis; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Presentation != null) yield return new ElementValue("presentation", Presentation); - if (TextPresentationElement != null) yield return new ElementValue("textPresentation", TextPresentationElement); - if (Concentration != null) yield return new ElementValue("concentration", Concentration); - if (TextConcentrationElement != null) yield return new ElementValue("textConcentration", TextConcentrationElement); - if (Basis != null) yield return new ElementValue("basis", Basis); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - foreach (var elem in ReferenceStrength) { if (elem != null) yield return new ElementValue("referenceStrength", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -912,32 +834,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - if (Strength != null) yield return Strength; - if (MeasurementPointElement != null) yield return MeasurementPointElement; - foreach (var elem in Country) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - if (Strength != null) yield return new ElementValue("strength", Strength); - if (MeasurementPointElement != null) yield return new ElementValue("measurementPoint", MeasurementPointElement); - foreach (var elem in Country) { if (elem != null) yield return new ElementValue("country", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1260,44 +1156,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in For) { if (elem != null) yield return elem; } - if (Role != null) yield return Role; - foreach (var elem in Function) { if (elem != null) yield return elem; } - if (Group != null) yield return Group; - if (AllergenicIndicatorElement != null) yield return AllergenicIndicatorElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in For) { if (elem != null) yield return new ElementValue("for", elem); } - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in Function) { if (elem != null) yield return new ElementValue("function", elem); } - if (Group != null) yield return new ElementValue("group", Group); - if (AllergenicIndicatorElement != null) yield return new ElementValue("allergenicIndicator", AllergenicIndicatorElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs b/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs index 388bf5396..22e0eb897 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InsurancePlan.cs @@ -192,30 +192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -387,30 +363,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RequirementElement != null) yield return RequirementElement; - foreach (var elem in Limit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - foreach (var elem in Limit) { if (elem != null) yield return new ElementValue("limit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -546,28 +498,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -769,36 +699,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in GeneralCost) { if (elem != null) yield return elem; } - foreach (var elem in SpecificCost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in GeneralCost) { if (elem != null) yield return new ElementValue("generalCost", elem); } - foreach (var elem in SpecificCost) { if (elem != null) yield return new ElementValue("specificCost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1023,32 +923,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (GroupSizeElement != null) yield return GroupSizeElement; - if (Cost != null) yield return Cost; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (GroupSizeElement != null) yield return new ElementValue("groupSize", GroupSizeElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1193,28 +1067,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - foreach (var elem in Benefit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - foreach (var elem in Benefit) { if (elem != null) yield return new ElementValue("benefit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1345,28 +1197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Cost) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1530,32 +1360,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Applicability != null) yield return Applicability; - foreach (var elem in Qualifiers) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Applicability != null) yield return new ElementValue("applicability", Applicability); - foreach (var elem in Qualifiers) { if (elem != null) yield return new ElementValue("qualifiers", elem); } - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1952,52 +1756,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (OwnedBy != null) yield return OwnedBy; - if (AdministeredBy != null) yield return AdministeredBy; - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - foreach (var elem in Plan) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (OwnedBy != null) yield return new ElementValue("ownedBy", OwnedBy); - if (AdministeredBy != null) yield return new ElementValue("administeredBy", AdministeredBy); - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - foreach (var elem in Plan) { if (elem != null) yield return new ElementValue("plan", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs b/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs index c9b4d5adb..a79f8266c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InventoryItem.cs @@ -235,30 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameType != null) yield return NameType; - if (LanguageElement != null) yield return LanguageElement; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameType != null) yield return new ElementValue("nameType", NameType); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -395,28 +371,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Organization != null) yield return Organization; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Organization != null) yield return new ElementValue("organization", Organization); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -583,28 +537,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -751,30 +683,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AssociationType != null) yield return AssociationType; - if (RelatedItem != null) yield return RelatedItem; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AssociationType != null) yield return new ElementValue("associationType", AssociationType); - if (RelatedItem != null) yield return new ElementValue("relatedItem", RelatedItem); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -914,28 +822,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CharacteristicType != null) yield return CharacteristicType; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CharacteristicType != null) yield return new ElementValue("characteristicType", CharacteristicType); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1150,34 +1036,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpiryElement != null) yield return ExpiryElement; - if (Subject != null) yield return Subject; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1536,52 +1394,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in ResponsibleOrganization) { if (elem != null) yield return elem; } - if (Description != null) yield return Description; - foreach (var elem in InventoryStatus) { if (elem != null) yield return elem; } - if (BaseUnit != null) yield return BaseUnit; - if (NetContent != null) yield return NetContent; - foreach (var elem in Association) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - if (Instance != null) yield return Instance; - if (ProductReference != null) yield return ProductReference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in ResponsibleOrganization) { if (elem != null) yield return new ElementValue("responsibleOrganization", elem); } - if (Description != null) yield return new ElementValue("description", Description); - foreach (var elem in InventoryStatus) { if (elem != null) yield return new ElementValue("inventoryStatus", elem); } - if (BaseUnit != null) yield return new ElementValue("baseUnit", BaseUnit); - if (NetContent != null) yield return new ElementValue("netContent", NetContent); - foreach (var elem in Association) { if (elem != null) yield return new ElementValue("association", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - if (Instance != null) yield return new ElementValue("instance", Instance); - if (ProductReference != null) yield return new ElementValue("productReference", ProductReference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs b/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs index 6cb9f2063..065c85061 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/InventoryReport.cs @@ -249,32 +249,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (ItemStatus != null) yield return ItemStatus; - if (CountingDateTimeElement != null) yield return CountingDateTimeElement; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (ItemStatus != null) yield return new ElementValue("itemStatus", ItemStatus); - if (CountingDateTimeElement != null) yield return new ElementValue("countingDateTime", CountingDateTimeElement); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -432,30 +406,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -771,44 +721,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CountTypeElement != null) yield return CountTypeElement; - if (OperationType != null) yield return OperationType; - if (OperationTypeReason != null) yield return OperationTypeReason; - if (ReportedDateTimeElement != null) yield return ReportedDateTimeElement; - if (Reporter != null) yield return Reporter; - if (ReportingPeriod != null) yield return ReportingPeriod; - foreach (var elem in InventoryListing) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CountTypeElement != null) yield return new ElementValue("countType", CountTypeElement); - if (OperationType != null) yield return new ElementValue("operationType", OperationType); - if (OperationTypeReason != null) yield return new ElementValue("operationTypeReason", OperationTypeReason); - if (ReportedDateTimeElement != null) yield return new ElementValue("reportedDateTime", ReportedDateTimeElement); - if (Reporter != null) yield return new ElementValue("reporter", Reporter); - if (ReportingPeriod != null) yield return new ElementValue("reportingPeriod", ReportingPeriod); - foreach (var elem in InventoryListing) { if (elem != null) yield return new ElementValue("inventoryListing", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs b/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs index 467834f97..bb4af5f60 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Invoice.cs @@ -189,28 +189,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -396,32 +374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Serviced != null) yield return Serviced; - if (ChargeItem != null) yield return ChargeItem; - foreach (var elem in PriceComponent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (ChargeItem != null) yield return new ElementValue("chargeItem", ChargeItem); - foreach (var elem in PriceComponent) { if (elem != null) yield return new ElementValue("priceComponent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -914,60 +866,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CancelledReasonElement != null) yield return CancelledReasonElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (Recipient != null) yield return Recipient; - if (DateElement != null) yield return DateElement; - if (CreationElement != null) yield return CreationElement; - if (Period != null) yield return Period; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Issuer != null) yield return Issuer; - if (Account != null) yield return Account; - foreach (var elem in LineItem) { if (elem != null) yield return elem; } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return elem; } - if (TotalNet != null) yield return TotalNet; - if (TotalGross != null) yield return TotalGross; - if (PaymentTermsElement != null) yield return PaymentTermsElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CancelledReasonElement != null) yield return new ElementValue("cancelledReason", CancelledReasonElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (CreationElement != null) yield return new ElementValue("creation", CreationElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - if (Account != null) yield return new ElementValue("account", Account); - foreach (var elem in LineItem) { if (elem != null) yield return new ElementValue("lineItem", elem); } - foreach (var elem in TotalPriceComponent) { if (elem != null) yield return new ElementValue("totalPriceComponent", elem); } - if (TotalNet != null) yield return new ElementValue("totalNet", TotalNet); - if (TotalGross != null) yield return new ElementValue("totalGross", TotalGross); - if (PaymentTermsElement != null) yield return new ElementValue("paymentTerms", PaymentTermsElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Library.cs b/src/Hl7.Fhir.R5/Model/Generated/Library.cs index f221ae159..720dcefc9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Library.cs @@ -942,90 +942,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs b/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs index 5c09419e0..d1d3a9d15 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Linkage.cs @@ -198,28 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,30 +347,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActiveElement != null) yield return ActiveElement; - if (Author != null) yield return Author; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/List.cs b/src/Hl7.Fhir.R5/Model/Generated/List.cs index ce4ea5cb8..6bab0b341 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/List.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/List.cs @@ -247,32 +247,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Flag != null) yield return Flag; - if (DeletedElement != null) yield return DeletedElement; - if (DateElement != null) yield return DateElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Flag != null) yield return new ElementValue("flag", Flag); - if (DeletedElement != null) yield return new ElementValue("deleted", DeletedElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -668,50 +642,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ModeElement != null) yield return ModeElement; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (Source != null) yield return Source; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Source != null) yield return new ElementValue("source", Source); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Location.cs b/src/Hl7.Fhir.R5/Model/Generated/Location.cs index a99f94908..ac5ea5406 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Location.cs @@ -269,30 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LongitudeElement != null) yield return LongitudeElement; - if (LatitudeElement != null) yield return LatitudeElement; - if (AltitudeElement != null) yield return AltitudeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LongitudeElement != null) yield return new ElementValue("longitude", LongitudeElement); - if (LatitudeElement != null) yield return new ElementValue("latitude", LatitudeElement); - if (AltitudeElement != null) yield return new ElementValue("altitude", AltitudeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -782,60 +758,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (OperationalStatus != null) yield return OperationalStatus; - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (ModeElement != null) yield return ModeElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (Form != null) yield return Form; - if (Position != null) yield return Position; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (PartOf != null) yield return PartOf; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in HoursOfOperation) { if (elem != null) yield return elem; } - foreach (var elem in VirtualService) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (OperationalStatus != null) yield return new ElementValue("operationalStatus", OperationalStatus); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (Form != null) yield return new ElementValue("form", Form); - if (Position != null) yield return new ElementValue("position", Position); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in HoursOfOperation) { if (elem != null) yield return new ElementValue("hoursOfOperation", elem); } - foreach (var elem in VirtualService) { if (elem != null) yield return new ElementValue("virtualService", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs index 70e3a070c..c711cd7a8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ManufacturedItemDefinition.cs @@ -145,28 +145,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -362,36 +340,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Function) { if (elem != null) yield return elem; } - foreach (var elem in Amount) { if (elem != null) yield return elem; } - foreach (var elem in Constituent) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Function) { if (elem != null) yield return new ElementValue("function", elem); } - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - foreach (var elem in Constituent) { if (elem != null) yield return new ElementValue("constituent", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -581,32 +529,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Amount) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in Function) { if (elem != null) yield return elem; } - foreach (var elem in HasIngredient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in Function) { if (elem != null) yield return new ElementValue("function", elem); } - foreach (var elem in HasIngredient) { if (elem != null) yield return new ElementValue("hasIngredient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -914,44 +836,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NameElement != null) yield return NameElement; - if (ManufacturedDoseForm != null) yield return ManufacturedDoseForm; - if (UnitOfPresentation != null) yield return UnitOfPresentation; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ManufacturedDoseForm != null) yield return new ElementValue("manufacturedDoseForm", ManufacturedDoseForm); - if (UnitOfPresentation != null) yield return new ElementValue("unitOfPresentation", UnitOfPresentation); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs b/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs index 4b64ce313..fbcc6c3a6 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MarketingStatus.cs @@ -194,34 +194,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Status != null) yield return Status; - if (DateRange != null) yield return DateRange; - if (RestoreDateElement != null) yield return RestoreDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Status != null) yield return new ElementValue("status", Status); - if (DateRange != null) yield return new ElementValue("dateRange", DateRange); - if (RestoreDateElement != null) yield return new ElementValue("restoreDate", RestoreDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Measure.cs b/src/Hl7.Fhir.R5/Model/Generated/Measure.cs index b966ffa29..65a4f855b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Measure.cs @@ -165,28 +165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (DefinitionElement != null) yield return DefinitionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -596,50 +574,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (BasisElement != null) yield return BasisElement; - if (Scoring != null) yield return Scoring; - if (ScoringUnit != null) yield return ScoringUnit; - if (RateAggregationElement != null) yield return RateAggregationElement; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (ScoringUnit != null) yield return new ElementValue("scoringUnit", ScoringUnit); - if (RateAggregationElement != null) yield return new ElementValue("rateAggregation", RateAggregationElement); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -983,38 +917,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - if (GroupDefinition != null) yield return GroupDefinition; - if (InputPopulationIdElement != null) yield return InputPopulationIdElement; - if (AggregateMethod != null) yield return AggregateMethod; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - if (GroupDefinition != null) yield return new ElementValue("groupDefinition", GroupDefinition); - if (InputPopulationIdElement != null) yield return new ElementValue("inputPopulationId", InputPopulationIdElement); - if (AggregateMethod != null) yield return new ElementValue("aggregateMethod", AggregateMethod); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1282,36 +1184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - if (GroupDefinition != null) yield return GroupDefinition; - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - if (GroupDefinition != null) yield return new ElementValue("groupDefinition", GroupDefinition); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1556,34 +1428,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - if (GroupDefinition != null) yield return GroupDefinition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - if (GroupDefinition != null) yield return new ElementValue("groupDefinition", GroupDefinition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1822,34 +1666,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - foreach (var elem in Usage) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Criteria != null) yield return Criteria; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Criteria != null) yield return new ElementValue("criteria", Criteria); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3138,114 +2954,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (BasisElement != null) yield return BasisElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - if (DisclaimerElement != null) yield return DisclaimerElement; - if (Scoring != null) yield return Scoring; - if (ScoringUnit != null) yield return ScoringUnit; - if (CompositeScoring != null) yield return CompositeScoring; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (RiskAdjustmentElement != null) yield return RiskAdjustmentElement; - if (RateAggregationElement != null) yield return RateAggregationElement; - if (RationaleElement != null) yield return RationaleElement; - if (ClinicalRecommendationStatementElement != null) yield return ClinicalRecommendationStatementElement; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in Term) { if (elem != null) yield return elem; } - if (GuidanceElement != null) yield return GuidanceElement; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in SupplementalData) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - if (DisclaimerElement != null) yield return new ElementValue("disclaimer", DisclaimerElement); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (ScoringUnit != null) yield return new ElementValue("scoringUnit", ScoringUnit); - if (CompositeScoring != null) yield return new ElementValue("compositeScoring", CompositeScoring); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (RiskAdjustmentElement != null) yield return new ElementValue("riskAdjustment", RiskAdjustmentElement); - if (RateAggregationElement != null) yield return new ElementValue("rateAggregation", RateAggregationElement); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - if (ClinicalRecommendationStatementElement != null) yield return new ElementValue("clinicalRecommendationStatement", ClinicalRecommendationStatementElement); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in Term) { if (elem != null) yield return new ElementValue("term", elem); } - if (GuidanceElement != null) yield return new ElementValue("guidance", GuidanceElement); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in SupplementalData) { if (elem != null) yield return new ElementValue("supplementalData", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs index a06bc041c..230ee3c2d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MeasureReport.cs @@ -319,36 +319,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -613,36 +583,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - foreach (var elem in SubjectReport) { if (elem != null) yield return elem; } - if (Subjects != null) yield return Subjects; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - foreach (var elem in SubjectReport) { if (elem != null) yield return new ElementValue("subjectReport", elem); } - if (Subjects != null) yield return new ElementValue("subjects", Subjects); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -835,30 +775,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - foreach (var elem in Stratum) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Stratum) { if (elem != null) yield return new ElementValue("stratum", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1033,32 +949,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Component) { if (elem != null) yield return elem; } - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScore != null) yield return MeasureScore; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScore != null) yield return new ElementValue("measureScore", MeasureScore); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1241,30 +1131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1508,36 +1374,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (SubjectResults != null) yield return SubjectResults; - foreach (var elem in SubjectReport) { if (elem != null) yield return elem; } - if (Subjects != null) yield return Subjects; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (SubjectResults != null) yield return new ElementValue("subjectResults", SubjectResults); - foreach (var elem in SubjectReport) { if (elem != null) yield return new ElementValue("subjectReport", elem); } - if (Subjects != null) yield return new ElementValue("subjects", Subjects); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2039,58 +1875,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (DataUpdateTypeElement != null) yield return DataUpdateTypeElement; - if (MeasureElement != null) yield return MeasureElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (Reporter != null) yield return Reporter; - if (ReportingVendor != null) yield return ReportingVendor; - if (Location != null) yield return Location; - if (Period != null) yield return Period; - if (InputParameters != null) yield return InputParameters; - if (Scoring != null) yield return Scoring; - if (ImprovementNotation != null) yield return ImprovementNotation; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in SupplementalData) { if (elem != null) yield return elem; } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DataUpdateTypeElement != null) yield return new ElementValue("dataUpdateType", DataUpdateTypeElement); - if (MeasureElement != null) yield return new ElementValue("measure", MeasureElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Reporter != null) yield return new ElementValue("reporter", Reporter); - if (ReportingVendor != null) yield return new ElementValue("reportingVendor", ReportingVendor); - if (Location != null) yield return new ElementValue("location", Location); - if (Period != null) yield return new ElementValue("period", Period); - if (InputParameters != null) yield return new ElementValue("inputParameters", InputParameters); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (ImprovementNotation != null) yield return new ElementValue("improvementNotation", ImprovementNotation); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in SupplementalData) { if (elem != null) yield return new ElementValue("supplementalData", elem); } - foreach (var elem in EvaluatedResource) { if (elem != null) yield return new ElementValue("evaluatedResource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Medication.cs b/src/Hl7.Fhir.R5/Model/Generated/Medication.cs index 004c4eaaf..9d3ea882e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Medication.cs @@ -214,30 +214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -409,28 +385,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -685,42 +639,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (MarketingAuthorizationHolder != null) yield return MarketingAuthorizationHolder; - if (DoseForm != null) yield return DoseForm; - if (TotalVolume != null) yield return TotalVolume; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Batch != null) yield return Batch; - if (Definition != null) yield return Definition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (MarketingAuthorizationHolder != null) yield return new ElementValue("marketingAuthorizationHolder", MarketingAuthorizationHolder); - if (DoseForm != null) yield return new ElementValue("doseForm", DoseForm); - if (TotalVolume != null) yield return new ElementValue("totalVolume", TotalVolume); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Batch != null) yield return new ElementValue("batch", Batch); - if (Definition != null) yield return new ElementValue("definition", Definition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs index fb9a3d650..b1eb42714 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationAdministration.cs @@ -200,28 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -437,36 +415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TextElement != null) yield return TextElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1006,66 +954,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (Occurence != null) yield return Occurence; - if (RecordedElement != null) yield return RecordedElement; - if (IsSubPotentElement != null) yield return IsSubPotentElement; - foreach (var elem in SubPotentReason) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (Request != null) yield return Request; - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Dosage != null) yield return Dosage; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (Occurence != null) yield return new ElementValue("occurence", Occurence); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (IsSubPotentElement != null) yield return new ElementValue("isSubPotent", IsSubPotentElement); - foreach (var elem in SubPotentReason) { if (elem != null) yield return new ElementValue("subPotentReason", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (Request != null) yield return new ElementValue("request", Request); - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Dosage != null) yield return new ElementValue("dosage", Dosage); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs index 1c21d1e0d..da4d0c1f3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationDispense.cs @@ -214,28 +214,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -420,32 +398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (WasSubstitutedElement != null) yield return WasSubstitutedElement; - if (Type != null) yield return Type; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (ResponsibleParty != null) yield return ResponsibleParty; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (WasSubstitutedElement != null) yield return new ElementValue("wasSubstituted", WasSubstitutedElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (ResponsibleParty != null) yield return new ElementValue("responsibleParty", ResponsibleParty); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1122,78 +1074,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NotPerformedReason != null) yield return NotPerformedReason; - if (StatusChangedElement != null) yield return StatusChangedElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (DaysSupply != null) yield return DaysSupply; - if (RecordedElement != null) yield return RecordedElement; - if (WhenPreparedElement != null) yield return WhenPreparedElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (RenderedDosageInstructionElement != null) yield return RenderedDosageInstructionElement; - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (Substitution != null) yield return Substitution; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NotPerformedReason != null) yield return new ElementValue("notPerformedReason", NotPerformedReason); - if (StatusChangedElement != null) yield return new ElementValue("statusChanged", StatusChangedElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return new ElementValue("authorizingPrescription", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DaysSupply != null) yield return new ElementValue("daysSupply", DaysSupply); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (WhenPreparedElement != null) yield return new ElementValue("whenPrepared", WhenPreparedElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (RenderedDosageInstructionElement != null) yield return new ElementValue("renderedDosageInstruction", RenderedDosageInstructionElement); - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs index 363d05162..da9283418 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationKnowledge.cs @@ -178,28 +178,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Reference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reference) { if (elem != null) yield return new ElementValue("reference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -327,28 +305,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Source != null) yield return Source; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Source != null) yield return new ElementValue("source", Source); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -533,32 +489,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in EffectiveDate) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (SourceElement != null) yield return SourceElement; - if (Cost != null) yield return Cost; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in EffectiveDate) { if (elem != null) yield return new ElementValue("effectiveDate", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (Cost != null) yield return new ElementValue("cost", Cost); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -719,28 +649,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -871,28 +779,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Indication) { if (elem != null) yield return elem; } - foreach (var elem in DosingGuideline) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - foreach (var elem in DosingGuideline) { if (elem != null) yield return new ElementValue("dosingGuideline", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1055,32 +941,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TreatmentIntent != null) yield return TreatmentIntent; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - if (AdministrationTreatment != null) yield return AdministrationTreatment; - foreach (var elem in PatientCharacteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TreatmentIntent != null) yield return new ElementValue("treatmentIntent", TreatmentIntent); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - if (AdministrationTreatment != null) yield return new ElementValue("administrationTreatment", AdministrationTreatment); - foreach (var elem in PatientCharacteristic) { if (elem != null) yield return new ElementValue("patientCharacteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1222,28 +1082,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1375,28 +1213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1542,30 +1358,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Source != null) yield return Source; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1704,28 +1496,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Cost) { if (elem != null) yield return elem; } - if (PackagedProduct != null) yield return PackagedProduct; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - if (PackagedProduct != null) yield return new ElementValue("packagedProduct", PackagedProduct); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1906,32 +1676,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (StabilityDuration != null) yield return StabilityDuration; - foreach (var elem in EnvironmentalSetting) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (StabilityDuration != null) yield return new ElementValue("stabilityDuration", StabilityDuration); - foreach (var elem in EnvironmentalSetting) { if (elem != null) yield return new ElementValue("environmentalSetting", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2078,28 +1822,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2262,32 +1984,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RegulatoryAuthority != null) yield return RegulatoryAuthority; - foreach (var elem in Substitution) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (MaxDispense != null) yield return MaxDispense; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RegulatoryAuthority != null) yield return new ElementValue("regulatoryAuthority", RegulatoryAuthority); - foreach (var elem in Substitution) { if (elem != null) yield return new ElementValue("substitution", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (MaxDispense != null) yield return new ElementValue("maxDispense", MaxDispense); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2447,28 +2143,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (AllowedElement != null) yield return AllowedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (AllowedElement != null) yield return new ElementValue("allowed", AllowedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2595,28 +2269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2801,34 +2453,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Definition) { if (elem != null) yield return elem; } - if (DoseForm != null) yield return DoseForm; - foreach (var elem in IntendedRoute) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - if (DoseForm != null) yield return new ElementValue("doseForm", DoseForm); - foreach (var elem in IntendedRoute) { if (elem != null) yield return new ElementValue("intendedRoute", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in DrugCharacteristic) { if (elem != null) yield return new ElementValue("drugCharacteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2999,30 +2623,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (Type != null) yield return Type; - if (Strength != null) yield return Strength; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (Type != null) yield return new ElementValue("type", Type); - if (Strength != null) yield return new ElementValue("strength", Strength); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3161,28 +2761,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3663,64 +3241,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (Author != null) yield return Author; - foreach (var elem in IntendedJurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in NameElement) { if (elem != null) yield return elem; } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return elem; } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return elem; } - foreach (var elem in ProductType) { if (elem != null) yield return elem; } - foreach (var elem in Monograph) { if (elem != null) yield return elem; } - if (PreparationInstructionElement != null) yield return PreparationInstructionElement; - foreach (var elem in Cost) { if (elem != null) yield return elem; } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return elem; } - foreach (var elem in IndicationGuideline) { if (elem != null) yield return elem; } - foreach (var elem in MedicineClassification) { if (elem != null) yield return elem; } - foreach (var elem in Packaging) { if (elem != null) yield return elem; } - foreach (var elem in ClinicalUseIssue) { if (elem != null) yield return elem; } - foreach (var elem in StorageGuideline) { if (elem != null) yield return elem; } - foreach (var elem in Regulatory) { if (elem != null) yield return elem; } - if (Definitional != null) yield return Definitional; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in IntendedJurisdiction) { if (elem != null) yield return new ElementValue("intendedJurisdiction", elem); } - foreach (var elem in NameElement) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in RelatedMedicationKnowledge) { if (elem != null) yield return new ElementValue("relatedMedicationKnowledge", elem); } - foreach (var elem in AssociatedMedication) { if (elem != null) yield return new ElementValue("associatedMedication", elem); } - foreach (var elem in ProductType) { if (elem != null) yield return new ElementValue("productType", elem); } - foreach (var elem in Monograph) { if (elem != null) yield return new ElementValue("monograph", elem); } - if (PreparationInstructionElement != null) yield return new ElementValue("preparationInstruction", PreparationInstructionElement); - foreach (var elem in Cost) { if (elem != null) yield return new ElementValue("cost", elem); } - foreach (var elem in MonitoringProgram) { if (elem != null) yield return new ElementValue("monitoringProgram", elem); } - foreach (var elem in IndicationGuideline) { if (elem != null) yield return new ElementValue("indicationGuideline", elem); } - foreach (var elem in MedicineClassification) { if (elem != null) yield return new ElementValue("medicineClassification", elem); } - foreach (var elem in Packaging) { if (elem != null) yield return new ElementValue("packaging", elem); } - foreach (var elem in ClinicalUseIssue) { if (elem != null) yield return new ElementValue("clinicalUseIssue", elem); } - foreach (var elem in StorageGuideline) { if (elem != null) yield return new ElementValue("storageGuideline", elem); } - foreach (var elem in Regulatory) { if (elem != null) yield return new ElementValue("regulatory", elem); } - if (Definitional != null) yield return new ElementValue("definitional", Definitional); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs index 9b108e51a..6af7487ff 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationRequest.cs @@ -402,42 +402,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (InitialFill != null) yield return InitialFill; - if (DispenseInterval != null) yield return DispenseInterval; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (NumberOfRepeatsAllowedElement != null) yield return NumberOfRepeatsAllowedElement; - if (Quantity != null) yield return Quantity; - if (ExpectedSupplyDuration != null) yield return ExpectedSupplyDuration; - if (Dispenser != null) yield return Dispenser; - foreach (var elem in DispenserInstruction) { if (elem != null) yield return elem; } - if (DoseAdministrationAid != null) yield return DoseAdministrationAid; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (InitialFill != null) yield return new ElementValue("initialFill", InitialFill); - if (DispenseInterval != null) yield return new ElementValue("dispenseInterval", DispenseInterval); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (NumberOfRepeatsAllowedElement != null) yield return new ElementValue("numberOfRepeatsAllowed", NumberOfRepeatsAllowedElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ExpectedSupplyDuration != null) yield return new ElementValue("expectedSupplyDuration", ExpectedSupplyDuration); - if (Dispenser != null) yield return new ElementValue("dispenser", Dispenser); - foreach (var elem in DispenserInstruction) { if (elem != null) yield return new ElementValue("dispenserInstruction", elem); } - if (DoseAdministrationAid != null) yield return new ElementValue("doseAdministrationAid", DoseAdministrationAid); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -616,28 +580,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Duration != null) yield return Duration; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Duration != null) yield return new ElementValue("duration", Duration); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -771,28 +713,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Allowed != null) yield return Allowed; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1597,90 +1517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (PriorPrescription != null) yield return PriorPrescription; - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (StatusChangedElement != null) yield return StatusChangedElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - foreach (var elem in InformationSource) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (ReportedElement != null) yield return ReportedElement; - if (PerformerType != null) yield return PerformerType; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - if (Recorder != null) yield return Recorder; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (CourseOfTherapyType != null) yield return CourseOfTherapyType; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (RenderedDosageInstructionElement != null) yield return RenderedDosageInstructionElement; - if (EffectiveDosePeriod != null) yield return EffectiveDosePeriod; - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (DispenseRequest != null) yield return DispenseRequest; - if (Substitution != null) yield return Substitution; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (PriorPrescription != null) yield return new ElementValue("priorPrescription", PriorPrescription); - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (StatusChangedElement != null) yield return new ElementValue("statusChanged", StatusChangedElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in InformationSource) { if (elem != null) yield return new ElementValue("informationSource", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (ReportedElement != null) yield return new ElementValue("reported", ReportedElement); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (CourseOfTherapyType != null) yield return new ElementValue("courseOfTherapyType", CourseOfTherapyType); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (RenderedDosageInstructionElement != null) yield return new ElementValue("renderedDosageInstruction", RenderedDosageInstructionElement); - if (EffectiveDosePeriod != null) yield return new ElementValue("effectiveDosePeriod", EffectiveDosePeriod); - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (DispenseRequest != null) yield return new ElementValue("dispenseRequest", DispenseRequest); - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs index 0bcf02ff3..35443b7f9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicationStatement.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -640,58 +618,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (DateAssertedElement != null) yield return DateAssertedElement; - foreach (var elem in InformationSource) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelatedClinicalInformation) { if (elem != null) yield return elem; } - if (RenderedDosageInstructionElement != null) yield return RenderedDosageInstructionElement; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - if (Adherence != null) yield return Adherence; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateAssertedElement != null) yield return new ElementValue("dateAsserted", DateAssertedElement); - foreach (var elem in InformationSource) { if (elem != null) yield return new ElementValue("informationSource", elem); } - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelatedClinicalInformation) { if (elem != null) yield return new ElementValue("relatedClinicalInformation", elem); } - if (RenderedDosageInstructionElement != null) yield return new ElementValue("renderedDosageInstruction", RenderedDosageInstructionElement); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - if (Adherence != null) yield return new ElementValue("adherence", Adherence); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs index 126b9b4d8..8b77c940a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MedicinalProductDefinition.cs @@ -147,28 +147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Contact != null) yield return Contact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Contact != null) yield return new ElementValue("contact", Contact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -348,32 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ProductNameElement != null) yield return ProductNameElement; - if (Type != null) yield return Type; - foreach (var elem in Part) { if (elem != null) yield return elem; } - foreach (var elem in Usage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -534,28 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PartElement != null) yield return PartElement; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PartElement != null) yield return new ElementValue("part", PartElement); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -705,30 +635,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Country != null) yield return Country; - if (Jurisdiction != null) yield return Jurisdiction; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Country != null) yield return new ElementValue("country", Country); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -866,28 +772,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (Type != null) yield return Type; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (Type != null) yield return new ElementValue("type", Type); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1052,32 +936,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (EffectiveDate != null) yield return EffectiveDate; - foreach (var elem in Organization) { if (elem != null) yield return elem; } - if (ConfidentialityIndicator != null) yield return ConfidentialityIndicator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (EffectiveDate != null) yield return new ElementValue("effectiveDate", EffectiveDate); - foreach (var elem in Organization) { if (elem != null) yield return new ElementValue("organization", elem); } - if (ConfidentialityIndicator != null) yield return new ElementValue("confidentialityIndicator", ConfidentialityIndicator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1224,28 +1082,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1904,82 +1740,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Domain != null) yield return Domain; - if (VersionElement != null) yield return VersionElement; - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (CombinedPharmaceuticalDoseForm != null) yield return CombinedPharmaceuticalDoseForm; - foreach (var elem in Route) { if (elem != null) yield return elem; } - if (IndicationElement != null) yield return IndicationElement; - if (LegalStatusOfSupply != null) yield return LegalStatusOfSupply; - if (AdditionalMonitoringIndicator != null) yield return AdditionalMonitoringIndicator; - foreach (var elem in SpecialMeasures) { if (elem != null) yield return elem; } - if (PediatricUseIndicator != null) yield return PediatricUseIndicator; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return elem; } - foreach (var elem in ComprisedOf) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in Impurity) { if (elem != null) yield return elem; } - foreach (var elem in AttachedDocument) { if (elem != null) yield return elem; } - foreach (var elem in MasterFile) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in CrossReference) { if (elem != null) yield return elem; } - foreach (var elem in Operation) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Domain != null) yield return new ElementValue("domain", Domain); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (CombinedPharmaceuticalDoseForm != null) yield return new ElementValue("combinedPharmaceuticalDoseForm", CombinedPharmaceuticalDoseForm); - foreach (var elem in Route) { if (elem != null) yield return new ElementValue("route", elem); } - if (IndicationElement != null) yield return new ElementValue("indication", IndicationElement); - if (LegalStatusOfSupply != null) yield return new ElementValue("legalStatusOfSupply", LegalStatusOfSupply); - if (AdditionalMonitoringIndicator != null) yield return new ElementValue("additionalMonitoringIndicator", AdditionalMonitoringIndicator); - foreach (var elem in SpecialMeasures) { if (elem != null) yield return new ElementValue("specialMeasures", elem); } - if (PediatricUseIndicator != null) yield return new ElementValue("pediatricUseIndicator", PediatricUseIndicator); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - foreach (var elem in PackagedMedicinalProduct) { if (elem != null) yield return new ElementValue("packagedMedicinalProduct", elem); } - foreach (var elem in ComprisedOf) { if (elem != null) yield return new ElementValue("comprisedOf", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in Impurity) { if (elem != null) yield return new ElementValue("impurity", elem); } - foreach (var elem in AttachedDocument) { if (elem != null) yield return new ElementValue("attachedDocument", elem); } - foreach (var elem in MasterFile) { if (elem != null) yield return new ElementValue("masterFile", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in ClinicalTrial) { if (elem != null) yield return new ElementValue("clinicalTrial", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in CrossReference) { if (elem != null) yield return new ElementValue("crossReference", elem); } - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs index 12cbc9a48..7afa04563 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MessageDefinition.cs @@ -317,32 +317,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ProfileElement != null) yield return ProfileElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -523,28 +497,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MessageElement != null) yield return MessageElement; - if (SituationElement != null) yield return SituationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (SituationElement != null) yield return new ElementValue("situation", SituationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1390,76 +1342,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in ReplacesElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ParentElement) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (CategoryElement != null) yield return CategoryElement; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (ResponseRequiredElement != null) yield return ResponseRequiredElement; - foreach (var elem in AllowedResponse) { if (elem != null) yield return elem; } - if (GraphElement != null) yield return GraphElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in ReplacesElement) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ParentElement) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (ResponseRequiredElement != null) yield return new ElementValue("responseRequired", ResponseRequiredElement); - foreach (var elem in AllowedResponse) { if (elem != null) yield return new ElementValue("allowedResponse", elem); } - if (GraphElement != null) yield return new ElementValue("graph", GraphElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs index ddbc01da6..b25d18d85 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MessageHeader.cs @@ -232,32 +232,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Endpoint != null) yield return Endpoint; - if (NameElement != null) yield return NameElement; - if (Target != null) yield return Target; - if (Receiver != null) yield return Receiver; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Endpoint != null) yield return new ElementValue("endpoint", Endpoint); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Target != null) yield return new ElementValue("target", Target); - if (Receiver != null) yield return new ElementValue("receiver", Receiver); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -505,34 +479,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Endpoint != null) yield return Endpoint; - if (NameElement != null) yield return NameElement; - if (SoftwareElement != null) yield return SoftwareElement; - if (VersionElement != null) yield return VersionElement; - if (Contact != null) yield return Contact; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Endpoint != null) yield return new ElementValue("endpoint", Endpoint); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (SoftwareElement != null) yield return new ElementValue("software", SoftwareElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Contact != null) yield return new ElementValue("contact", Contact); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -722,30 +668,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (CodeElement != null) yield return CodeElement; - if (Details != null) yield return Details; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Details != null) yield return new ElementValue("details", Details); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1027,44 +949,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Event != null) yield return Event; - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Sender != null) yield return Sender; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - if (Responsible != null) yield return Responsible; - if (Reason != null) yield return Reason; - if (Response != null) yield return Response; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (DefinitionElement != null) yield return DefinitionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Event != null) yield return new ElementValue("event", Event); - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Sender != null) yield return new ElementValue("sender", Sender); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Response != null) yield return new ElementValue("response", Response); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs b/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs index 1872bd0f0..4e1a152fa 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MolecularSequence.cs @@ -281,34 +281,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CoordinateSystem != null) yield return CoordinateSystem; - if (OrdinalPositionElement != null) yield return OrdinalPositionElement; - if (SequenceRange != null) yield return SequenceRange; - if (StartingSequence != null) yield return StartingSequence; - foreach (var elem in Edit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CoordinateSystem != null) yield return new ElementValue("coordinateSystem", CoordinateSystem); - if (OrdinalPositionElement != null) yield return new ElementValue("ordinalPosition", OrdinalPositionElement); - if (SequenceRange != null) yield return new ElementValue("sequenceRange", SequenceRange); - if (StartingSequence != null) yield return new ElementValue("startingSequence", StartingSequence); - foreach (var elem in Edit) { if (elem != null) yield return new ElementValue("edit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -620,38 +592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (GenomeAssembly != null) yield return GenomeAssembly; - if (Chromosome != null) yield return Chromosome; - if (Sequence != null) yield return Sequence; - if (WindowStartElement != null) yield return WindowStartElement; - if (WindowEndElement != null) yield return WindowEndElement; - if (OrientationElement != null) yield return OrientationElement; - if (StrandElement != null) yield return StrandElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (GenomeAssembly != null) yield return new ElementValue("genomeAssembly", GenomeAssembly); - if (Chromosome != null) yield return new ElementValue("chromosome", Chromosome); - if (Sequence != null) yield return new ElementValue("sequence", Sequence); - if (WindowStartElement != null) yield return new ElementValue("windowStart", WindowStartElement); - if (WindowEndElement != null) yield return new ElementValue("windowEnd", WindowEndElement); - if (OrientationElement != null) yield return new ElementValue("orientation", OrientationElement); - if (StrandElement != null) yield return new ElementValue("strand", StrandElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -916,32 +856,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (ReplacementSequenceElement != null) yield return ReplacementSequenceElement; - if (ReplacedSequenceElement != null) yield return ReplacedSequenceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ReplacementSequenceElement != null) yield return new ElementValue("replacementSequence", ReplacementSequenceElement); - if (ReplacedSequenceElement != null) yield return new ElementValue("replacedSequence", ReplacedSequenceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1250,44 +1164,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (Subject != null) yield return Subject; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - if (Performer != null) yield return Performer; - if (LiteralElement != null) yield return LiteralElement; - foreach (var elem in Formatted) { if (elem != null) yield return elem; } - foreach (var elem in Relative) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (LiteralElement != null) yield return new ElementValue("literal", LiteralElement); - foreach (var elem in Formatted) { if (elem != null) yield return new ElementValue("formatted", elem); } - foreach (var elem in Relative) { if (elem != null) yield return new ElementValue("relative", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs b/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs index d84ecd958..858b1aa39 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/MonetaryComponent.cs @@ -245,32 +245,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Code != null) yield return Code; - if (FactorElement != null) yield return FactorElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Code != null) yield return new ElementValue("code", Code); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Money.cs b/src/Hl7.Fhir.R5/Model/Generated/Money.cs index cc50f176a..12075ddc2 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Money.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Money.cs @@ -165,28 +165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - if (CurrencyElement != null) yield return CurrencyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (CurrencyElement != null) yield return new ElementValue("currency", CurrencyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs index 29d41a6de..c3892ddca 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NamingSystem.cs @@ -379,36 +379,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ValueElement != null) yield return ValueElement; - if (PreferredElement != null) yield return PreferredElement; - if (CommentElement != null) yield return CommentElement; - if (Period != null) yield return Period; - if (AuthoritativeElement != null) yield return AuthoritativeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Period != null) yield return new ElementValue("period", Period); - if (AuthoritativeElement != null) yield return new ElementValue("authoritative", AuthoritativeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1345,86 +1315,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (UsageElement != null) yield return UsageElement; - foreach (var elem in UniqueId) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - foreach (var elem in UniqueId) { if (elem != null) yield return new ElementValue("uniqueId", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs index 9730d515e..6807e0bb8 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionIntake.cs @@ -246,38 +246,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (NutritionProduct != null) yield return NutritionProduct; - if (Schedule != null) yield return Schedule; - if (Amount != null) yield return Amount; - if (Rate != null) yield return Rate; - if (NotConsumedElement != null) yield return NotConsumedElement; - if (NotConsumedReason != null) yield return NotConsumedReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (NutritionProduct != null) yield return new ElementValue("nutritionProduct", NutritionProduct); - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Rate != null) yield return new ElementValue("rate", Rate); - if (NotConsumedElement != null) yield return new ElementValue("notConsumed", NotConsumedElement); - if (NotConsumedReason != null) yield return new ElementValue("notConsumedReason", NotConsumedReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -445,28 +413,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Nutrient != null) yield return Nutrient; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Nutrient != null) yield return new ElementValue("nutrient", Nutrient); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -599,28 +545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1131,64 +1055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusReason) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (RecordedElement != null) yield return RecordedElement; - if (Reported != null) yield return Reported; - foreach (var elem in ConsumedItem) { if (elem != null) yield return elem; } - foreach (var elem in IngredientLabel) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusReason) { if (elem != null) yield return new ElementValue("statusReason", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (Reported != null) yield return new ElementValue("reported", Reported); - foreach (var elem in ConsumedItem) { if (elem != null) yield return new ElementValue("consumedItem", elem); } - foreach (var elem in IngredientLabel) { if (elem != null) yield return new ElementValue("ingredientLabel", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs index 2b30f85f5..55c11fc42 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionOrder.cs @@ -235,36 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Schedule != null) yield return Schedule; - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Texture) { if (elem != null) yield return elem; } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return elem; } - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Texture) { if (elem != null) yield return new ElementValue("texture", elem); } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return new ElementValue("fluidConsistencyType", elem); } - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -457,30 +427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return elem; } - if (AsNeededElement != null) yield return AsNeededElement; - if (AsNeededFor != null) yield return AsNeededFor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return new ElementValue("timing", elem); } - if (AsNeededElement != null) yield return new ElementValue("asNeeded", AsNeededElement); - if (AsNeededFor != null) yield return new ElementValue("asNeededFor", AsNeededFor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -617,28 +563,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -769,28 +693,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (FoodType != null) yield return FoodType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (FoodType != null) yield return new ElementValue("foodType", FoodType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1004,34 +906,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ProductNameElement != null) yield return ProductNameElement; - if (Schedule != null) yield return Schedule; - if (Quantity != null) yield return Quantity; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1217,30 +1091,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return elem; } - if (AsNeededElement != null) yield return AsNeededElement; - if (AsNeededFor != null) yield return AsNeededFor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return new ElementValue("timing", elem); } - if (AsNeededElement != null) yield return new ElementValue("asNeeded", AsNeededElement); - if (AsNeededFor != null) yield return new ElementValue("asNeededFor", AsNeededFor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1529,42 +1379,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (BaseFormulaType != null) yield return BaseFormulaType; - if (BaseFormulaProductNameElement != null) yield return BaseFormulaProductNameElement; - foreach (var elem in DeliveryDevice) { if (elem != null) yield return elem; } - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (CaloricDensity != null) yield return CaloricDensity; - if (RouteOfAdministration != null) yield return RouteOfAdministration; - foreach (var elem in Administration) { if (elem != null) yield return elem; } - if (MaxVolumeToDeliver != null) yield return MaxVolumeToDeliver; - if (AdministrationInstructionElement != null) yield return AdministrationInstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (BaseFormulaType != null) yield return new ElementValue("baseFormulaType", BaseFormulaType); - if (BaseFormulaProductNameElement != null) yield return new ElementValue("baseFormulaProductName", BaseFormulaProductNameElement); - foreach (var elem in DeliveryDevice) { if (elem != null) yield return new ElementValue("deliveryDevice", elem); } - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (CaloricDensity != null) yield return new ElementValue("caloricDensity", CaloricDensity); - if (RouteOfAdministration != null) yield return new ElementValue("routeOfAdministration", RouteOfAdministration); - foreach (var elem in Administration) { if (elem != null) yield return new ElementValue("administration", elem); } - if (MaxVolumeToDeliver != null) yield return new ElementValue("maxVolumeToDeliver", MaxVolumeToDeliver); - if (AdministrationInstructionElement != null) yield return new ElementValue("administrationInstruction", AdministrationInstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1777,30 +1591,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ProductNameElement != null) yield return ProductNameElement; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1955,30 +1745,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - if (Quantity != null) yield return Quantity; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2150,30 +1916,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return elem; } - if (AsNeededElement != null) yield return AsNeededElement; - if (AsNeededFor != null) yield return AsNeededFor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Timing) { if (elem != null) yield return new ElementValue("timing", elem); } - if (AsNeededElement != null) yield return new ElementValue("asNeeded", AsNeededElement); - if (AsNeededFor != null) yield return new ElementValue("asNeededFor", AsNeededFor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2811,70 +2553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (DateTimeElement != null) yield return DateTimeElement; - if (Orderer != null) yield return Orderer; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return elem; } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return elem; } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return elem; } - if (OutsideFoodAllowedElement != null) yield return OutsideFoodAllowedElement; - if (OralDiet != null) yield return OralDiet; - foreach (var elem in Supplement) { if (elem != null) yield return elem; } - if (EnteralFormula != null) yield return EnteralFormula; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - if (Orderer != null) yield return new ElementValue("orderer", Orderer); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return new ElementValue("allergyIntolerance", elem); } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return new ElementValue("foodPreferenceModifier", elem); } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return new ElementValue("excludeFoodModifier", elem); } - if (OutsideFoodAllowedElement != null) yield return new ElementValue("outsideFoodAllowed", OutsideFoodAllowedElement); - if (OralDiet != null) yield return new ElementValue("oralDiet", OralDiet); - foreach (var elem in Supplement) { if (elem != null) yield return new ElementValue("supplement", elem); } - if (EnteralFormula != null) yield return new ElementValue("enteralFormula", EnteralFormula); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs b/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs index dd04c8081..b17c07e38 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/NutritionProduct.cs @@ -176,28 +176,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - foreach (var elem in Amount) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -325,28 +303,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - foreach (var elem in Amount) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - foreach (var elem in Amount) { if (elem != null) yield return new ElementValue("amount", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -477,28 +433,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -780,38 +714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpiryElement != null) yield return ExpiryElement; - if (UseByElement != null) yield return UseByElement; - if (BiologicalSourceEvent != null) yield return BiologicalSourceEvent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (UseByElement != null) yield return new ElementValue("useBy", UseByElement); - if (BiologicalSourceEvent != null) yield return new ElementValue("biologicalSourceEvent", BiologicalSourceEvent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1121,44 +1023,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - foreach (var elem in KnownAllergen) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - foreach (var elem in KnownAllergen) { if (elem != null) yield return new ElementValue("knownAllergen", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Observation.cs b/src/Hl7.Fhir.R5/Model/Generated/Observation.cs index 09b9462c9..a4b0b9208 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Observation.cs @@ -233,30 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Observation != null) yield return Observation; - if (TypeElement != null) yield return TypeElement; - if (ReasonElement != null) yield return ReasonElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Observation != null) yield return new ElementValue("observation", Observation); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -495,38 +471,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Low != null) yield return Low; - if (High != null) yield return High; - if (NormalValue != null) yield return NormalValue; - if (Type != null) yield return Type; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (Age != null) yield return Age; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Low != null) yield return new ElementValue("low", Low); - if (High != null) yield return new ElementValue("high", High); - if (NormalValue != null) yield return new ElementValue("normalValue", NormalValue); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (Age != null) yield return new ElementValue("age", Age); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -748,34 +692,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1400,78 +1316,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Instantiates != null) yield return Instantiates; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in TriggeredBy) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - foreach (var elem in Interpretation) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (BodyStructure != null) yield return BodyStructure; - if (Method != null) yield return Method; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - foreach (var elem in HasMember) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Instantiates != null) yield return new ElementValue("instantiates", Instantiates); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in TriggeredBy) { if (elem != null) yield return new ElementValue("triggeredBy", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - foreach (var elem in Interpretation) { if (elem != null) yield return new ElementValue("interpretation", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (BodyStructure != null) yield return new ElementValue("bodyStructure", BodyStructure); - if (Method != null) yield return new ElementValue("method", Method); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - foreach (var elem in HasMember) { if (elem != null) yield return new ElementValue("hasMember", elem); } - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs index fdacd72d8..2bc753eeb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ObservationDefinition.cs @@ -544,48 +544,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Context != null) yield return Context; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (Age != null) yield return Age; - if (GestationalAge != null) yield return GestationalAge; - if (ConditionElement != null) yield return ConditionElement; - if (RangeCategoryElement != null) yield return RangeCategoryElement; - if (Range != null) yield return Range; - if (ValidCodedValueSetElement != null) yield return ValidCodedValueSetElement; - if (NormalCodedValueSetElement != null) yield return NormalCodedValueSetElement; - if (AbnormalCodedValueSetElement != null) yield return AbnormalCodedValueSetElement; - if (CriticalCodedValueSetElement != null) yield return CriticalCodedValueSetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Age != null) yield return new ElementValue("age", Age); - if (GestationalAge != null) yield return new ElementValue("gestationalAge", GestationalAge); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - if (RangeCategoryElement != null) yield return new ElementValue("rangeCategory", RangeCategoryElement); - if (Range != null) yield return new ElementValue("range", Range); - if (ValidCodedValueSetElement != null) yield return new ElementValue("validCodedValueSet", ValidCodedValueSetElement); - if (NormalCodedValueSetElement != null) yield return new ElementValue("normalCodedValueSet", NormalCodedValueSetElement); - if (AbnormalCodedValueSetElement != null) yield return new ElementValue("abnormalCodedValueSet", AbnormalCodedValueSetElement); - if (CriticalCodedValueSetElement != null) yield return new ElementValue("criticalCodedValueSet", CriticalCodedValueSetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -842,32 +800,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return elem; } - foreach (var elem in PermittedUnit) { if (elem != null) yield return elem; } - foreach (var elem in QualifiedValue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return new ElementValue("permittedDataType", elem); } - foreach (var elem in PermittedUnit) { if (elem != null) yield return new ElementValue("permittedUnit", elem); } - foreach (var elem in QualifiedValue) { if (elem != null) yield return new ElementValue("qualifiedValue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1932,98 +1864,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in DerivedFromCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (PerformerType != null) yield return PerformerType; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return elem; } - if (MultipleResultsAllowedElement != null) yield return MultipleResultsAllowedElement; - if (BodySite != null) yield return BodySite; - if (Method != null) yield return Method; - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in Device) { if (elem != null) yield return elem; } - if (PreferredReportNameElement != null) yield return PreferredReportNameElement; - foreach (var elem in PermittedUnit) { if (elem != null) yield return elem; } - foreach (var elem in QualifiedValue) { if (elem != null) yield return elem; } - foreach (var elem in HasMember) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in DerivedFromCanonicalElement) { if (elem != null) yield return new ElementValue("derivedFromCanonical", elem); } - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return new ElementValue("derivedFromUri", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in PermittedDataTypeElement) { if (elem != null) yield return new ElementValue("permittedDataType", elem); } - if (MultipleResultsAllowedElement != null) yield return new ElementValue("multipleResultsAllowed", MultipleResultsAllowedElement); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Method != null) yield return new ElementValue("method", Method); - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - if (PreferredReportNameElement != null) yield return new ElementValue("preferredReportName", PreferredReportNameElement); - foreach (var elem in PermittedUnit) { if (elem != null) yield return new ElementValue("permittedUnit", elem); } - foreach (var elem in QualifiedValue) { if (elem != null) yield return new ElementValue("qualifiedValue", elem); } - foreach (var elem in HasMember) { if (elem != null) yield return new ElementValue("hasMember", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs index 57b3363ea..5201ea689 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/OperationDefinition.cs @@ -572,50 +572,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - foreach (var elem in ScopeElement) { if (elem != null) yield return elem; } - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in AllowedTypeElement) { if (elem != null) yield return elem; } - foreach (var elem in TargetProfileElement) { if (elem != null) yield return elem; } - if (SearchTypeElement != null) yield return SearchTypeElement; - if (Binding != null) yield return Binding; - foreach (var elem in ReferencedFrom) { if (elem != null) yield return elem; } - foreach (var elem in Part) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - foreach (var elem in ScopeElement) { if (elem != null) yield return new ElementValue("scope", elem); } - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in AllowedTypeElement) { if (elem != null) yield return new ElementValue("allowedType", elem); } - foreach (var elem in TargetProfileElement) { if (elem != null) yield return new ElementValue("targetProfile", elem); } - if (SearchTypeElement != null) yield return new ElementValue("searchType", SearchTypeElement); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in ReferencedFrom) { if (elem != null) yield return new ElementValue("referencedFrom", elem); } - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -861,28 +817,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (ValueSetElement != null) yield return ValueSetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1049,28 +983,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1237,28 +1149,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return elem; } - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return new ElementValue("parameterName", elem); } - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2258,84 +2148,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (AffectsStateElement != null) yield return AffectsStateElement; - if (CodeElement != null) yield return CodeElement; - if (CommentElement != null) yield return CommentElement; - if (BaseElement != null) yield return BaseElement; - foreach (var elem in ResourceElement) { if (elem != null) yield return elem; } - if (SystemElement != null) yield return SystemElement; - if (TypeElement != null) yield return TypeElement; - if (InstanceElement != null) yield return InstanceElement; - if (InputProfileElement != null) yield return InputProfileElement; - if (OutputProfileElement != null) yield return OutputProfileElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Overload) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (AffectsStateElement != null) yield return new ElementValue("affectsState", AffectsStateElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - foreach (var elem in ResourceElement) { if (elem != null) yield return new ElementValue("resource", elem); } - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (InstanceElement != null) yield return new ElementValue("instance", InstanceElement); - if (InputProfileElement != null) yield return new ElementValue("inputProfile", InputProfileElement); - if (OutputProfileElement != null) yield return new ElementValue("outputProfile", OutputProfileElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Overload) { if (elem != null) yield return new ElementValue("overload", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Organization.cs b/src/Hl7.Fhir.R5/Model/Generated/Organization.cs index 694aad100..618744a52 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Organization.cs @@ -184,32 +184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Period != null) yield return Period; - if (Issuer != null) yield return Issuer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Period != null) yield return new ElementValue("period", Period); - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -549,44 +523,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Qualification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Qualification) { if (elem != null) yield return new ElementValue("qualification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs b/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs index 08f9e3f7c..6cf1b4ed1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/OrganizationAffiliation.cs @@ -329,48 +329,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Organization != null) yield return Organization; - if (ParticipatingOrganization != null) yield return ParticipatingOrganization; - foreach (var elem in Network) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (ParticipatingOrganization != null) yield return new ElementValue("participatingOrganization", ParticipatingOrganization); - foreach (var elem in Network) { if (elem != null) yield return new ElementValue("network", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs index 41d6c4933..d6298551c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PackagedProductDefinition.cs @@ -142,28 +142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Jurisdiction != null) yield return Jurisdiction; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Jurisdiction != null) yield return new ElementValue("jurisdiction", Jurisdiction); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -485,46 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (ComponentPartElement != null) yield return ComponentPartElement; - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Material) { if (elem != null) yield return elem; } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return elem; } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in ContainedItem) { if (elem != null) yield return elem; } - foreach (var elem in Packaging) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (ComponentPartElement != null) yield return new ElementValue("componentPart", ComponentPartElement); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Material) { if (elem != null) yield return new ElementValue("material", elem); } - foreach (var elem in AlternateMaterial) { if (elem != null) yield return new ElementValue("alternateMaterial", elem); } - foreach (var elem in ShelfLifeStorage) { if (elem != null) yield return new ElementValue("shelfLifeStorage", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in ContainedItem) { if (elem != null) yield return new ElementValue("containedItem", elem); } - foreach (var elem in Packaging) { if (elem != null) yield return new ElementValue("packaging", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -717,28 +655,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -865,28 +781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1297,54 +1191,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - foreach (var elem in PackageFor) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - foreach (var elem in ContainedItemQuantity) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in LegalStatusOfSupply) { if (elem != null) yield return elem; } - foreach (var elem in MarketingStatus) { if (elem != null) yield return elem; } - if (CopackagedIndicatorElement != null) yield return CopackagedIndicatorElement; - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in AttachedDocument) { if (elem != null) yield return elem; } - if (Packaging != null) yield return Packaging; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in PackageFor) { if (elem != null) yield return new ElementValue("packageFor", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - foreach (var elem in ContainedItemQuantity) { if (elem != null) yield return new ElementValue("containedItemQuantity", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in LegalStatusOfSupply) { if (elem != null) yield return new ElementValue("legalStatusOfSupply", elem); } - foreach (var elem in MarketingStatus) { if (elem != null) yield return new ElementValue("marketingStatus", elem); } - if (CopackagedIndicatorElement != null) yield return new ElementValue("copackagedIndicator", CopackagedIndicatorElement); - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in AttachedDocument) { if (elem != null) yield return new ElementValue("attachedDocument", elem); } - if (Packaging != null) yield return new ElementValue("packaging", Packaging); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs index 0e5dd3852..4554021e7 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ParameterDefinition.cs @@ -342,38 +342,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Patient.cs b/src/Hl7.Fhir.R5/Model/Generated/Patient.cs index fcd4edb0e..8ed92e1ff 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Patient.cs @@ -285,38 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (GenderElement != null) yield return GenderElement; - if (Organization != null) yield return Organization; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -500,28 +468,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -674,28 +620,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Other != null) yield return Other; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Other != null) yield return new ElementValue("other", Other); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1108,56 +1032,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (MaritalStatus != null) yield return MaritalStatus; - if (MultipleBirth != null) yield return MultipleBirth; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (MaritalStatus != null) yield return new ElementValue("maritalStatus", MaritalStatus); - if (MultipleBirth != null) yield return new ElementValue("multipleBirth", MultipleBirth); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return new ElementValue("generalPractitioner", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs index 36a42dea9..bf8bf0a03 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PaymentNotice.cs @@ -366,48 +366,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (CreatedElement != null) yield return CreatedElement; - if (Reporter != null) yield return Reporter; - if (Payment != null) yield return Payment; - if (PaymentDateElement != null) yield return PaymentDateElement; - if (Payee != null) yield return Payee; - if (Recipient != null) yield return Recipient; - if (Amount != null) yield return Amount; - if (PaymentStatus != null) yield return PaymentStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Reporter != null) yield return new ElementValue("reporter", Reporter); - if (Payment != null) yield return new ElementValue("payment", Payment); - if (PaymentDateElement != null) yield return new ElementValue("paymentDate", PaymentDateElement); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Recipient != null) yield return new ElementValue("recipient", Recipient); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (PaymentStatus != null) yield return new ElementValue("paymentStatus", PaymentStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs index ad8309b84..0e7c91113 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PaymentReconciliation.cs @@ -391,50 +391,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Predecessor != null) yield return Predecessor; - if (Target != null) yield return Target; - if (TargetItem != null) yield return TargetItem; - if (Encounter != null) yield return Encounter; - if (Account != null) yield return Account; - if (Type != null) yield return Type; - if (Submitter != null) yield return Submitter; - if (Response != null) yield return Response; - if (DateElement != null) yield return DateElement; - if (Responsible != null) yield return Responsible; - if (Payee != null) yield return Payee; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Predecessor != null) yield return new ElementValue("predecessor", Predecessor); - if (Target != null) yield return new ElementValue("target", Target); - if (TargetItem != null) yield return new ElementValue("targetItem", TargetItem); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Account != null) yield return new ElementValue("account", Account); - if (Type != null) yield return new ElementValue("type", Type); - if (Submitter != null) yield return new ElementValue("submitter", Submitter); - if (Response != null) yield return new ElementValue("response", Response); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -678,28 +634,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1471,82 +1405,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (StatusElement != null) yield return StatusElement; - if (Kind != null) yield return Kind; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (IssuerType != null) yield return IssuerType; - if (PaymentIssuer != null) yield return PaymentIssuer; - if (Request != null) yield return Request; - if (Requestor != null) yield return Requestor; - if (OutcomeElement != null) yield return OutcomeElement; - if (DispositionElement != null) yield return DispositionElement; - if (DateElement != null) yield return DateElement; - if (Location != null) yield return Location; - if (Method != null) yield return Method; - if (CardBrandElement != null) yield return CardBrandElement; - if (AccountNumberElement != null) yield return AccountNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (ProcessorElement != null) yield return ProcessorElement; - if (ReferenceNumberElement != null) yield return ReferenceNumberElement; - if (AuthorizationElement != null) yield return AuthorizationElement; - if (TenderedAmount != null) yield return TenderedAmount; - if (ReturnedAmount != null) yield return ReturnedAmount; - if (Amount != null) yield return Amount; - if (PaymentIdentifier != null) yield return PaymentIdentifier; - foreach (var elem in Allocation) { if (elem != null) yield return elem; } - if (FormCode != null) yield return FormCode; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Kind != null) yield return new ElementValue("kind", Kind); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (IssuerType != null) yield return new ElementValue("issuerType", IssuerType); - if (PaymentIssuer != null) yield return new ElementValue("paymentIssuer", PaymentIssuer); - if (Request != null) yield return new ElementValue("request", Request); - if (Requestor != null) yield return new ElementValue("requestor", Requestor); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Location != null) yield return new ElementValue("location", Location); - if (Method != null) yield return new ElementValue("method", Method); - if (CardBrandElement != null) yield return new ElementValue("cardBrand", CardBrandElement); - if (AccountNumberElement != null) yield return new ElementValue("accountNumber", AccountNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (ProcessorElement != null) yield return new ElementValue("processor", ProcessorElement); - if (ReferenceNumberElement != null) yield return new ElementValue("referenceNumber", ReferenceNumberElement); - if (AuthorizationElement != null) yield return new ElementValue("authorization", AuthorizationElement); - if (TenderedAmount != null) yield return new ElementValue("tenderedAmount", TenderedAmount); - if (ReturnedAmount != null) yield return new ElementValue("returnedAmount", ReturnedAmount); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (PaymentIdentifier != null) yield return new ElementValue("paymentIdentifier", PaymentIdentifier); - foreach (var elem in Allocation) { if (elem != null) yield return new ElementValue("allocation", elem); } - if (FormCode != null) yield return new ElementValue("formCode", FormCode); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Permission.cs b/src/Hl7.Fhir.R5/Model/Generated/Permission.cs index 0ba5b28ff..89662d52b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Permission.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Permission.cs @@ -228,28 +228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Basis) { if (elem != null) yield return elem; } - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -434,32 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in Data) { if (elem != null) yield return elem; } - foreach (var elem in Activity) { if (elem != null) yield return elem; } - foreach (var elem in Limit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - foreach (var elem in Activity) { if (elem != null) yield return new ElementValue("activity", elem); } - foreach (var elem in Limit) { if (elem != null) yield return new ElementValue("limit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -637,32 +589,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Security) { if (elem != null) yield return elem; } - foreach (var elem in Period) { if (elem != null) yield return elem; } - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Security) { if (elem != null) yield return new ElementValue("security", elem); } - foreach (var elem in Period) { if (elem != null) yield return new ElementValue("period", elem); } - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -826,28 +752,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -996,30 +900,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1283,38 +1163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Asserter != null) yield return Asserter; - foreach (var elem in DateElement) { if (elem != null) yield return elem; } - if (Validity != null) yield return Validity; - if (Justification != null) yield return Justification; - if (CombiningElement != null) yield return CombiningElement; - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - foreach (var elem in DateElement) { if (elem != null) yield return new ElementValue("date", elem); } - if (Validity != null) yield return new ElementValue("validity", Validity); - if (Justification != null) yield return new ElementValue("justification", Justification); - if (CombiningElement != null) yield return new ElementValue("combining", CombiningElement); - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Person.cs b/src/Hl7.Fhir.R5/Model/Generated/Person.cs index 48350c336..0f2040e17 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Person.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -372,28 +350,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (AssuranceElement != null) yield return AssuranceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (AssuranceElement != null) yield return new ElementValue("assurance", AssuranceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -752,50 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (MaritalStatus != null) yield return MaritalStatus; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (MaritalStatus != null) yield return new ElementValue("maritalStatus", MaritalStatus); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs index f74fa288b..9159cac7d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PlanDefinition.cs @@ -235,38 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Description != null) yield return Description; - if (Priority != null) yield return Priority; - if (Start != null) yield return Start; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Description != null) yield return new ElementValue("description", Description); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -449,30 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -661,30 +605,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Option) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Option) { if (elem != null) yield return new ElementValue("option", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -893,32 +813,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TypeCanonicalElement != null) yield return TypeCanonicalElement; - if (TypeReference != null) yield return TypeReference; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TypeCanonicalElement != null) yield return new ElementValue("typeCanonical", TypeCanonicalElement); - if (TypeReference != null) yield return new ElementValue("typeReference", TypeReference); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1762,82 +1656,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in GoalIdElement) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Definition != null) yield return Definition; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in GoalIdElement) { if (elem != null) yield return new ElementValue("goalId", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2177,28 +1995,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2379,30 +2175,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Requirement != null) yield return Requirement; - if (RelatedDataElement != null) yield return RelatedDataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Requirement != null) yield return new ElementValue("requirement", Requirement); - if (RelatedDataElement != null) yield return new ElementValue("relatedData", RelatedDataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2590,30 +2362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Requirement != null) yield return Requirement; - if (RelatedDataElement != null) yield return RelatedDataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Requirement != null) yield return new ElementValue("requirement", Requirement); - if (RelatedDataElement != null) yield return new ElementValue("relatedData", RelatedDataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2844,32 +2592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TargetIdElement != null) yield return TargetIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (EndRelationshipElement != null) yield return EndRelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (EndRelationshipElement != null) yield return new ElementValue("endRelationship", EndRelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3136,36 +2858,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActorIdElement != null) yield return ActorIdElement; - if (TypeElement != null) yield return TypeElement; - if (TypeCanonicalElement != null) yield return TypeCanonicalElement; - if (TypeReference != null) yield return TypeReference; - if (Role != null) yield return Role; - if (Function != null) yield return Function; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActorIdElement != null) yield return new ElementValue("actorId", ActorIdElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TypeCanonicalElement != null) yield return new ElementValue("typeCanonical", TypeCanonicalElement); - if (TypeReference != null) yield return new ElementValue("typeReference", TypeReference); - if (Role != null) yield return new ElementValue("role", Role); - if (Function != null) yield return new ElementValue("function", Function); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3341,28 +3033,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4340,94 +4010,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (SubtitleElement != null) yield return SubtitleElement; - if (Type != null) yield return Type; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Editor) { if (elem != null) yield return elem; } - foreach (var elem in Reviewer) { if (elem != null) yield return elem; } - foreach (var elem in Endorser) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in LibraryElement) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - if (AsNeeded != null) yield return AsNeeded; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (SubtitleElement != null) yield return new ElementValue("subtitle", SubtitleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Editor) { if (elem != null) yield return new ElementValue("editor", elem); } - foreach (var elem in Reviewer) { if (elem != null) yield return new ElementValue("reviewer", elem); } - foreach (var elem in Endorser) { if (elem != null) yield return new ElementValue("endorser", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in LibraryElement) { if (elem != null) yield return new ElementValue("library", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs index 0a149ae71..1496c61ec 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Practitioner.cs @@ -185,32 +185,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Period != null) yield return Period; - if (Issuer != null) yield return Issuer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Period != null) yield return new ElementValue("period", Period); - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -376,28 +350,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -721,46 +673,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Qualification) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Qualification) { if (elem != null) yield return new ElementValue("qualification", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs index 3143c8385..319b5c9ee 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/PractitionerRole.cs @@ -366,52 +366,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Practitioner != null) yield return Practitioner; - if (Organization != null) yield return Organization; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in Availability) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Practitioner != null) yield return new ElementValue("practitioner", Practitioner); - if (Organization != null) yield return new ElementValue("organization", Organization); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in Availability) { if (elem != null) yield return new ElementValue("availability", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs b/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs index 73a5fd632..a420ea1df 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Procedure.cs @@ -184,32 +184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -356,28 +330,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (Manipulated != null) yield return Manipulated; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (Manipulated != null) yield return new ElementValue("manipulated", Manipulated); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1032,80 +984,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Focus != null) yield return Focus; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (RecordedElement != null) yield return RecordedElement; - if (Recorder != null) yield return Recorder; - if (Reported != null) yield return Reported; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Outcome != null) yield return Outcome; - foreach (var elem in Report) { if (elem != null) yield return elem; } - foreach (var elem in Complication) { if (elem != null) yield return elem; } - foreach (var elem in FollowUp) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in FocalDevice) { if (elem != null) yield return elem; } - foreach (var elem in Used) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Reported != null) yield return new ElementValue("reported", Reported); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - foreach (var elem in Report) { if (elem != null) yield return new ElementValue("report", elem); } - foreach (var elem in Complication) { if (elem != null) yield return new ElementValue("complication", elem); } - foreach (var elem in FollowUp) { if (elem != null) yield return new ElementValue("followUp", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in FocalDevice) { if (elem != null) yield return new ElementValue("focalDevice", elem); } - foreach (var elem in Used) { if (elem != null) yield return new ElementValue("used", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs b/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs index 3580ea130..fe88c1cfd 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ProductShelfLife.cs @@ -146,30 +146,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Period != null) yield return Period; - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in SpecialPrecautionsForStorage) { if (elem != null) yield return new ElementValue("specialPrecautionsForStorage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs b/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs index 5291826e9..09eaff987 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Provenance.cs @@ -228,32 +228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -434,30 +408,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (What != null) yield return What; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (What != null) yield return new ElementValue("what", What); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -810,50 +760,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (Occurred != null) yield return Occurred; - if (RecordedElement != null) yield return RecordedElement; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Authorization) { if (elem != null) yield return elem; } - if (Activity != null) yield return Activity; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - foreach (var elem in Entity) { if (elem != null) yield return elem; } - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (Occurred != null) yield return new ElementValue("occurred", Occurred); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Authorization) { if (elem != null) yield return new ElementValue("authorization", elem); } - if (Activity != null) yield return new ElementValue("activity", Activity); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs index 575416e92..0495ff955 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Questionnaire.cs @@ -883,60 +883,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (PrefixElement != null) yield return PrefixElement; - if (TextElement != null) yield return TextElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in EnableWhen) { if (elem != null) yield return elem; } - if (EnableBehaviorElement != null) yield return EnableBehaviorElement; - if (DisabledDisplayElement != null) yield return DisabledDisplayElement; - if (RequiredElement != null) yield return RequiredElement; - if (RepeatsElement != null) yield return RepeatsElement; - if (ReadOnlyElement != null) yield return ReadOnlyElement; - if (MaxLengthElement != null) yield return MaxLengthElement; - if (AnswerConstraintElement != null) yield return AnswerConstraintElement; - if (AnswerValueSetElement != null) yield return AnswerValueSetElement; - foreach (var elem in AnswerOption) { if (elem != null) yield return elem; } - foreach (var elem in Initial) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in EnableWhen) { if (elem != null) yield return new ElementValue("enableWhen", elem); } - if (EnableBehaviorElement != null) yield return new ElementValue("enableBehavior", EnableBehaviorElement); - if (DisabledDisplayElement != null) yield return new ElementValue("disabledDisplay", DisabledDisplayElement); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (RepeatsElement != null) yield return new ElementValue("repeats", RepeatsElement); - if (ReadOnlyElement != null) yield return new ElementValue("readOnly", ReadOnlyElement); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - if (AnswerConstraintElement != null) yield return new ElementValue("answerConstraint", AnswerConstraintElement); - if (AnswerValueSetElement != null) yield return new ElementValue("answerValueSet", AnswerValueSetElement); - foreach (var elem in AnswerOption) { if (elem != null) yield return new ElementValue("answerOption", elem); } - foreach (var elem in Initial) { if (elem != null) yield return new ElementValue("initial", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1239,30 +1185,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (QuestionElement != null) yield return QuestionElement; - if (OperatorElement != null) yield return OperatorElement; - if (Answer != null) yield return Answer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (QuestionElement != null) yield return new ElementValue("question", QuestionElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (Answer != null) yield return new ElementValue("answer", Answer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1422,28 +1344,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - if (InitialSelectedElement != null) yield return InitialSelectedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - if (InitialSelectedElement != null) yield return new ElementValue("initialSelected", InitialSelectedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1562,26 +1462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2346,72 +2226,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return new ElementValue("subjectType", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs index 32ab44727..b466163ee 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/QuestionnaireResponse.cs @@ -293,34 +293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -477,28 +449,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -831,46 +781,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (QuestionnaireElement != null) yield return QuestionnaireElement; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredElement != null) yield return AuthoredElement; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (QuestionnaireElement != null) yield return new ElementValue("questionnaire", QuestionnaireElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredElement != null) yield return new ElementValue("authored", AuthoredElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs b/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs index 658de1e46..628eadd5d 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Ratio.cs @@ -131,28 +131,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Numerator != null) yield return Numerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Numerator != null) yield return new ElementValue("numerator", Numerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs b/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs index f82254cc2..08a73b8ef 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RatioRange.cs @@ -147,30 +147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LowNumerator != null) yield return LowNumerator; - if (HighNumerator != null) yield return HighNumerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LowNumerator != null) yield return new ElementValue("lowNumerator", LowNumerator); - if (HighNumerator != null) yield return new ElementValue("highNumerator", HighNumerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs b/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs index cea2c2cad..d1ea3fa56 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RegulatedAuthorization.cs @@ -199,34 +199,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (Date != null) yield return Date; - foreach (var elem in Application) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (Date != null) yield return new ElementValue("date", Date); - foreach (var elem in Application) { if (elem != null) yield return new ElementValue("application", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -625,54 +597,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Subject) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Region) { if (elem != null) yield return elem; } - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - if (ValidityPeriod != null) yield return ValidityPeriod; - foreach (var elem in Indication) { if (elem != null) yield return elem; } - if (IntendedUse != null) yield return IntendedUse; - foreach (var elem in Basis) { if (elem != null) yield return elem; } - if (Holder != null) yield return Holder; - if (Regulator != null) yield return Regulator; - foreach (var elem in AttachedDocument) { if (elem != null) yield return elem; } - if (Case != null) yield return Case; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Region) { if (elem != null) yield return new ElementValue("region", elem); } - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - if (IntendedUse != null) yield return new ElementValue("intendedUse", IntendedUse); - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - if (Holder != null) yield return new ElementValue("holder", Holder); - if (Regulator != null) yield return new ElementValue("regulator", Regulator); - foreach (var elem in AttachedDocument) { if (elem != null) yield return new ElementValue("attachedDocument", elem); } - if (Case != null) yield return new ElementValue("case", Case); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs index 2812519bf..aff7045c3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RelatedPerson.cs @@ -166,28 +166,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -529,48 +507,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Patient != null) yield return Patient; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Photo) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs b/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs index 68b5951a5..2084ebbfc 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RequestOrchestration.cs @@ -794,78 +794,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (PrefixElement != null) yield return PrefixElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Resource != null) yield return Resource; - if (Definition != null) yield return Definition; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1191,28 +1119,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1393,30 +1299,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Requirement != null) yield return Requirement; - if (RelatedDataElement != null) yield return RelatedDataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Requirement != null) yield return new ElementValue("requirement", Requirement); - if (RelatedDataElement != null) yield return new ElementValue("relatedData", RelatedDataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1604,30 +1486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Requirement != null) yield return Requirement; - if (RelatedDataElement != null) yield return RelatedDataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Requirement != null) yield return new ElementValue("requirement", Requirement); - if (RelatedDataElement != null) yield return new ElementValue("relatedData", RelatedDataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1857,32 +1715,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TargetIdElement != null) yield return TargetIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (EndRelationshipElement != null) yield return EndRelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (EndRelationshipElement != null) yield return new ElementValue("endRelationship", EndRelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2135,36 +1967,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (TypeCanonicalElement != null) yield return TypeCanonicalElement; - if (TypeReference != null) yield return TypeReference; - if (Role != null) yield return Role; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TypeCanonicalElement != null) yield return new ElementValue("typeCanonical", TypeCanonicalElement); - if (TypeReference != null) yield return new ElementValue("typeReference", TypeReference); - if (Role != null) yield return new ElementValue("role", Role); - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2340,28 +2142,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Expression != null) yield return Expression; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Expression != null) yield return new ElementValue("expression", Expression); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2871,60 +2651,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Author != null) yield return Author; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs b/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs index 8f00ab46b..3a8ed1a43 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Requirements.cs @@ -480,44 +480,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (LabelElement != null) yield return LabelElement; - foreach (var elem in ConformanceElement) { if (elem != null) yield return elem; } - if (ConditionalityElement != null) yield return ConditionalityElement; - if (RequirementElement != null) yield return RequirementElement; - if (DerivedFromElement != null) yield return DerivedFromElement; - if (ParentElement != null) yield return ParentElement; - foreach (var elem in SatisfiedByElement) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceElement) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - foreach (var elem in ConformanceElement) { if (elem != null) yield return new ElementValue("conformance", elem); } - if (ConditionalityElement != null) yield return new ElementValue("conditionality", ConditionalityElement); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - if (DerivedFromElement != null) yield return new ElementValue("derivedFrom", DerivedFromElement); - if (ParentElement != null) yield return new ElementValue("parent", ParentElement); - foreach (var elem in SatisfiedByElement) { if (elem != null) yield return new ElementValue("satisfiedBy", elem); } - foreach (var elem in ReferenceElement) { if (elem != null) yield return new ElementValue("reference", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1276,66 +1238,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceElement) { if (elem != null) yield return elem; } - foreach (var elem in ActorElement) { if (elem != null) yield return elem; } - foreach (var elem in Statement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - foreach (var elem in ReferenceElement) { if (elem != null) yield return new ElementValue("reference", elem); } - foreach (var elem in ActorElement) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Statement) { if (elem != null) yield return new ElementValue("statement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs index b701e8a2b..81307ba32 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ResearchStudy.cs @@ -163,28 +163,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -386,34 +364,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Role != null) yield return Role; - foreach (var elem in Period) { if (elem != null) yield return elem; } - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Role != null) yield return new ElementValue("role", Role); - foreach (var elem in Period) { if (elem != null) yield return new ElementValue("period", elem); } - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -596,30 +546,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (State != null) yield return State; - if (ActualElement != null) yield return ActualElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (State != null) yield return new ElementValue("state", State); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -824,32 +750,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TargetNumberElement != null) yield return TargetNumberElement; - if (ActualNumberElement != null) yield return ActualNumberElement; - if (Eligibility != null) yield return Eligibility; - if (ActualGroup != null) yield return ActualGroup; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TargetNumberElement != null) yield return new ElementValue("targetNumber", TargetNumberElement); - if (ActualNumberElement != null) yield return new ElementValue("actualNumber", ActualNumberElement); - if (Eligibility != null) yield return new ElementValue("eligibility", Eligibility); - if (ActualGroup != null) yield return new ElementValue("actualGroup", ActualGroup); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1118,36 +1018,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in IntendedExposure) { if (elem != null) yield return elem; } - if (ObservedGroup != null) yield return ObservedGroup; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in IntendedExposure) { if (elem != null) yield return new ElementValue("intendedExposure", elem); } - if (ObservedGroup != null) yield return new ElementValue("observedGroup", ObservedGroup); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1357,30 +1227,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1589,32 +1435,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2406,88 +2226,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Label) { if (elem != null) yield return elem; } - foreach (var elem in Protocol) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - if (DateElement != null) yield return DateElement; - if (StatusElement != null) yield return StatusElement; - if (PrimaryPurposeType != null) yield return PrimaryPurposeType; - if (Phase != null) yield return Phase; - foreach (var elem in StudyDesign) { if (elem != null) yield return elem; } - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - foreach (var elem in Region) { if (elem != null) yield return elem; } - if (DescriptionSummaryElement != null) yield return DescriptionSummaryElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Period != null) yield return Period; - foreach (var elem in Site) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Classifier) { if (elem != null) yield return elem; } - foreach (var elem in AssociatedParty) { if (elem != null) yield return elem; } - foreach (var elem in ProgressStatus) { if (elem != null) yield return elem; } - if (WhyStopped != null) yield return WhyStopped; - if (Recruitment != null) yield return Recruitment; - foreach (var elem in ComparisonGroup) { if (elem != null) yield return elem; } - foreach (var elem in Objective) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeMeasure) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Label) { if (elem != null) yield return new ElementValue("label", elem); } - foreach (var elem in Protocol) { if (elem != null) yield return new ElementValue("protocol", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (PrimaryPurposeType != null) yield return new ElementValue("primaryPurposeType", PrimaryPurposeType); - if (Phase != null) yield return new ElementValue("phase", Phase); - foreach (var elem in StudyDesign) { if (elem != null) yield return new ElementValue("studyDesign", elem); } - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - foreach (var elem in Region) { if (elem != null) yield return new ElementValue("region", elem); } - if (DescriptionSummaryElement != null) yield return new ElementValue("descriptionSummary", DescriptionSummaryElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Classifier) { if (elem != null) yield return new ElementValue("classifier", elem); } - foreach (var elem in AssociatedParty) { if (elem != null) yield return new ElementValue("associatedParty", elem); } - foreach (var elem in ProgressStatus) { if (elem != null) yield return new ElementValue("progressStatus", elem); } - if (WhyStopped != null) yield return new ElementValue("whyStopped", WhyStopped); - if (Recruitment != null) yield return new ElementValue("recruitment", Recruitment); - foreach (var elem in ComparisonGroup) { if (elem != null) yield return new ElementValue("comparisonGroup", elem); } - foreach (var elem in Objective) { if (elem != null) yield return new ElementValue("objective", elem); } - foreach (var elem in OutcomeMeasure) { if (elem != null) yield return new ElementValue("outcomeMeasure", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs index f0448fcc3..6e25ac00b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ResearchSubject.cs @@ -341,36 +341,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (SubjectState != null) yield return SubjectState; - if (Milestone != null) yield return Milestone; - if (Reason != null) yield return Reason; - if (StartDateElement != null) yield return StartDateElement; - if (EndDateElement != null) yield return EndDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (SubjectState != null) yield return new ElementValue("subjectState", SubjectState); - if (Milestone != null) yield return new ElementValue("milestone", Milestone); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (StartDateElement != null) yield return new ElementValue("startDate", StartDateElement); - if (EndDateElement != null) yield return new ElementValue("endDate", EndDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -693,42 +663,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Progress) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Study != null) yield return Study; - if (Subject != null) yield return Subject; - if (AssignedComparisonGroupElement != null) yield return AssignedComparisonGroupElement; - if (ActualComparisonGroupElement != null) yield return ActualComparisonGroupElement; - foreach (var elem in Consent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Progress) { if (elem != null) yield return new ElementValue("progress", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Study != null) yield return new ElementValue("study", Study); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (AssignedComparisonGroupElement != null) yield return new ElementValue("assignedComparisonGroup", AssignedComparisonGroupElement); - if (ActualComparisonGroupElement != null) yield return new ElementValue("actualComparisonGroup", ActualComparisonGroupElement); - foreach (var elem in Consent) { if (elem != null) yield return new ElementValue("consent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs index 56e4b8824..5e661eacb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/RiskAssessment.cs @@ -253,36 +253,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Outcome != null) yield return Outcome; - if (Probability != null) yield return Probability; - if (QualitativeRisk != null) yield return QualitativeRisk; - if (RelativeRiskElement != null) yield return RelativeRiskElement; - if (When != null) yield return When; - if (RationaleElement != null) yield return RationaleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Probability != null) yield return new ElementValue("probability", Probability); - if (QualitativeRisk != null) yield return new ElementValue("qualitativeRisk", QualitativeRisk); - if (RelativeRiskElement != null) yield return new ElementValue("relativeRisk", RelativeRiskElement); - if (When != null) yield return new ElementValue("when", When); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -711,56 +681,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (BasedOn != null) yield return BasedOn; - if (Parent != null) yield return Parent; - if (StatusElement != null) yield return StatusElement; - if (Method != null) yield return Method; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (Condition != null) yield return Condition; - if (Performer != null) yield return Performer; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Basis) { if (elem != null) yield return elem; } - foreach (var elem in Prediction) { if (elem != null) yield return elem; } - if (MitigationElement != null) yield return MitigationElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (BasedOn != null) yield return new ElementValue("basedOn", BasedOn); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Method != null) yield return new ElementValue("method", Method); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - foreach (var elem in Prediction) { if (elem != null) yield return new ElementValue("prediction", elem); } - if (MitigationElement != null) yield return new ElementValue("mitigation", MitigationElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs b/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs index 363b34855..0b447135e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SampledData.cs @@ -425,44 +425,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Origin != null) yield return Origin; - if (IntervalElement != null) yield return IntervalElement; - if (IntervalUnitElement != null) yield return IntervalUnitElement; - if (FactorElement != null) yield return FactorElement; - if (LowerLimitElement != null) yield return LowerLimitElement; - if (UpperLimitElement != null) yield return UpperLimitElement; - if (DimensionsElement != null) yield return DimensionsElement; - if (CodeMapElement != null) yield return CodeMapElement; - if (OffsetsElement != null) yield return OffsetsElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Origin != null) yield return new ElementValue("origin", Origin); - if (IntervalElement != null) yield return new ElementValue("interval", IntervalElement); - if (IntervalUnitElement != null) yield return new ElementValue("intervalUnit", IntervalUnitElement); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (LowerLimitElement != null) yield return new ElementValue("lowerLimit", LowerLimitElement); - if (UpperLimitElement != null) yield return new ElementValue("upperLimit", UpperLimitElement); - if (DimensionsElement != null) yield return new ElementValue("dimensions", DimensionsElement); - if (CodeMapElement != null) yield return new ElementValue("codeMap", CodeMapElement); - if (OffsetsElement != null) yield return new ElementValue("offsets", OffsetsElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs b/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs index 12b278848..4b999f413 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Schedule.cs @@ -305,42 +305,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - if (PlanningHorizon != null) yield return PlanningHorizon; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - if (PlanningHorizon != null) yield return new ElementValue("planningHorizon", PlanningHorizon); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs index b89c360e1..bb56a2a0c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SearchParameter.cs @@ -213,28 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DefinitionElement != null) yield return DefinitionElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1296,86 +1274,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (DerivedFromElement != null) yield return DerivedFromElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in BaseElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (ProcessingModeElement != null) yield return ProcessingModeElement; - if (ConstraintElement != null) yield return ConstraintElement; - foreach (var elem in TargetElement) { if (elem != null) yield return elem; } - if (MultipleOrElement != null) yield return MultipleOrElement; - if (MultipleAndElement != null) yield return MultipleAndElement; - foreach (var elem in ComparatorElement) { if (elem != null) yield return elem; } - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - foreach (var elem in ChainElement) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DerivedFromElement != null) yield return new ElementValue("derivedFrom", DerivedFromElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in BaseElement) { if (elem != null) yield return new ElementValue("base", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (ProcessingModeElement != null) yield return new ElementValue("processingMode", ProcessingModeElement); - if (ConstraintElement != null) yield return new ElementValue("constraint", ConstraintElement); - foreach (var elem in TargetElement) { if (elem != null) yield return new ElementValue("target", elem); } - if (MultipleOrElement != null) yield return new ElementValue("multipleOr", MultipleOrElement); - if (MultipleAndElement != null) yield return new ElementValue("multipleAnd", MultipleAndElement); - foreach (var elem in ComparatorElement) { if (elem != null) yield return new ElementValue("comparator", elem); } - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ChainElement) { if (elem != null) yield return new ElementValue("chain", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs index e631c0ea2..00beeab49 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/ServiceRequest.cs @@ -148,28 +148,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ParameterFocus != null) yield return ParameterFocus; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ParameterFocus != null) yield return new ElementValue("parameterFocus", ParameterFocus); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -300,28 +278,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -437,26 +393,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Instruction != null) yield return Instruction; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Instruction != null) yield return new ElementValue("instruction", Instruction); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1248,90 +1184,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (Requisition != null) yield return Requisition; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Code != null) yield return Code; - foreach (var elem in OrderDetail) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (Subject != null) yield return Subject; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (Encounter != null) yield return Encounter; - if (Occurrence != null) yield return Occurrence; - if (AsNeeded != null) yield return AsNeeded; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (BodyStructure != null) yield return BodyStructure; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in PatientInstruction) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in InstantiatesCanonicalElement) { if (elem != null) yield return new ElementValue("instantiatesCanonical", elem); } - foreach (var elem in InstantiatesUriElement) { if (elem != null) yield return new ElementValue("instantiatesUri", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (Requisition != null) yield return new ElementValue("requisition", Requisition); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in OrderDetail) { if (elem != null) yield return new ElementValue("orderDetail", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (BodyStructure != null) yield return new ElementValue("bodyStructure", BodyStructure); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in PatientInstruction) { if (elem != null) yield return new ElementValue("patientInstruction", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Slot.cs b/src/Hl7.Fhir.R5/Model/Generated/Slot.cs index 2a5acb942..4509fdbb9 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Slot.cs @@ -420,46 +420,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in ServiceCategory) { if (elem != null) yield return elem; } - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in AppointmentType) { if (elem != null) yield return elem; } - if (Schedule != null) yield return Schedule; - if (StatusElement != null) yield return StatusElement; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (OverbookedElement != null) yield return OverbookedElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in ServiceCategory) { if (elem != null) yield return new ElementValue("serviceCategory", elem); } - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in AppointmentType) { if (elem != null) yield return new ElementValue("appointmentType", elem); } - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (OverbookedElement != null) yield return new ElementValue("overbooked", OverbookedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs b/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs index 495d08e51..d9f790eb1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Specimen.cs @@ -223,28 +223,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -497,42 +475,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Collected != null) yield return Collected; - if (Duration != null) yield return Duration; - if (Quantity != null) yield return Quantity; - if (Method != null) yield return Method; - if (Device != null) yield return Device; - if (Procedure != null) yield return Procedure; - if (BodySite != null) yield return BodySite; - if (FastingStatus != null) yield return FastingStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Collected != null) yield return new ElementValue("collected", Collected); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Method != null) yield return new ElementValue("method", Method); - if (Device != null) yield return new ElementValue("device", Device); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (FastingStatus != null) yield return new ElementValue("fastingStatus", FastingStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -766,32 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Method != null) yield return Method; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Method != null) yield return new ElementValue("method", Method); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -955,30 +871,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Device != null) yield return Device; - if (Location != null) yield return Location; - if (SpecimenQuantity != null) yield return SpecimenQuantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Device != null) yield return new ElementValue("device", Device); - if (Location != null) yield return new ElementValue("location", Location); - if (SpecimenQuantity != null) yield return new ElementValue("specimenQuantity", SpecimenQuantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1400,56 +1292,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AccessionIdentifier != null) yield return AccessionIdentifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (ReceivedTimeElement != null) yield return ReceivedTimeElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (CombinedElement != null) yield return CombinedElement; - foreach (var elem in Role) { if (elem != null) yield return elem; } - foreach (var elem in Feature) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - foreach (var elem in Container) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AccessionIdentifier != null) yield return new ElementValue("accessionIdentifier", AccessionIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (ReceivedTimeElement != null) yield return new ElementValue("receivedTime", ReceivedTimeElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (CombinedElement != null) yield return new ElementValue("combined", CombinedElement); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - foreach (var elem in Feature) { if (elem != null) yield return new ElementValue("feature", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - foreach (var elem in Container) { if (elem != null) yield return new ElementValue("container", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs index 79c8acd9e..0ecd8321b 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SpecimenDefinition.cs @@ -377,44 +377,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IsDerivedElement != null) yield return IsDerivedElement; - if (Type != null) yield return Type; - if (PreferenceElement != null) yield return PreferenceElement; - if (Container != null) yield return Container; - if (RequirementElement != null) yield return RequirementElement; - if (RetentionTime != null) yield return RetentionTime; - if (SingleUseElement != null) yield return SingleUseElement; - foreach (var elem in RejectionCriterion) { if (elem != null) yield return elem; } - foreach (var elem in Handling) { if (elem != null) yield return elem; } - foreach (var elem in TestingDestination) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IsDerivedElement != null) yield return new ElementValue("isDerived", IsDerivedElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PreferenceElement != null) yield return new ElementValue("preference", PreferenceElement); - if (Container != null) yield return new ElementValue("container", Container); - if (RequirementElement != null) yield return new ElementValue("requirement", RequirementElement); - if (RetentionTime != null) yield return new ElementValue("retentionTime", RetentionTime); - if (SingleUseElement != null) yield return new ElementValue("singleUse", SingleUseElement); - foreach (var elem in RejectionCriterion) { if (elem != null) yield return new ElementValue("rejectionCriterion", elem); } - foreach (var elem in Handling) { if (elem != null) yield return new ElementValue("handling", elem); } - foreach (var elem in TestingDestination) { if (elem != null) yield return new ElementValue("testingDestination", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -734,40 +696,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Material != null) yield return Material; - if (Type != null) yield return Type; - if (Cap != null) yield return Cap; - if (DescriptionElement != null) yield return DescriptionElement; - if (Capacity != null) yield return Capacity; - if (MinimumVolume != null) yield return MinimumVolume; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (PreparationElement != null) yield return PreparationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Material != null) yield return new ElementValue("material", Material); - if (Type != null) yield return new ElementValue("type", Type); - if (Cap != null) yield return new ElementValue("cap", Cap); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (MinimumVolume != null) yield return new ElementValue("minimumVolume", MinimumVolume); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (PreparationElement != null) yield return new ElementValue("preparation", PreparationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -927,26 +855,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1119,32 +1027,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TemperatureQualifier != null) yield return TemperatureQualifier; - if (TemperatureRange != null) yield return TemperatureRange; - if (MaxDuration != null) yield return MaxDuration; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TemperatureQualifier != null) yield return new ElementValue("temperatureQualifier", TemperatureQualifier); - if (TemperatureRange != null) yield return new ElementValue("temperatureRange", TemperatureRange); - if (MaxDuration != null) yield return new ElementValue("maxDuration", MaxDuration); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2015,80 +1897,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromCanonicalElement) { if (elem != null) yield return elem; } - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - if (TypeCollected != null) yield return TypeCollected; - foreach (var elem in PatientPreparation) { if (elem != null) yield return elem; } - if (TimeAspectElement != null) yield return TimeAspectElement; - foreach (var elem in Collection) { if (elem != null) yield return elem; } - foreach (var elem in TypeTested) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromCanonicalElement) { if (elem != null) yield return new ElementValue("derivedFromCanonical", elem); } - foreach (var elem in DerivedFromUriElement) { if (elem != null) yield return new ElementValue("derivedFromUri", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - if (TypeCollected != null) yield return new ElementValue("typeCollected", TypeCollected); - foreach (var elem in PatientPreparation) { if (elem != null) yield return new ElementValue("patientPreparation", elem); } - if (TimeAspectElement != null) yield return new ElementValue("timeAspect", TimeAspectElement); - foreach (var elem in Collection) { if (elem != null) yield return new ElementValue("collection", elem); } - foreach (var elem in TypeTested) { if (elem != null) yield return new ElementValue("typeTested", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs index 83be26df4..ba5746d42 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/StructureMap.cs @@ -516,32 +516,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (ModeElement != null) yield return ModeElement; - if (AliasElement != null) yield return AliasElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (AliasElement != null) yield return new ElementValue("alias", AliasElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -720,28 +694,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1011,36 +963,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ExtendsElement != null) yield return ExtendsElement; - if (TypeModeElement != null) yield return TypeModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ExtendsElement != null) yield return new ElementValue("extends", ExtendsElement); - if (TypeModeElement != null) yield return new ElementValue("typeMode", TypeModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1306,32 +1228,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1575,36 +1471,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - foreach (var elem in Dependent) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - foreach (var elem in Dependent) { if (elem != null) yield return new ElementValue("dependent", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2103,46 +1969,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (TypeElement != null) yield return TypeElement; - if (DefaultValueElement != null) yield return DefaultValueElement; - if (ElementElement != null) yield return ElementElement; - if (ListModeElement != null) yield return ListModeElement; - if (VariableElement != null) yield return VariableElement; - if (ConditionElement != null) yield return ConditionElement; - if (CheckElement != null) yield return CheckElement; - if (LogMessageElement != null) yield return LogMessageElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DefaultValueElement != null) yield return new ElementValue("defaultValue", DefaultValueElement); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (ListModeElement != null) yield return new ElementValue("listMode", ListModeElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - if (CheckElement != null) yield return new ElementValue("check", CheckElement); - if (LogMessageElement != null) yield return new ElementValue("logMessage", LogMessageElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2525,38 +2351,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (ElementElement != null) yield return ElementElement; - if (VariableElement != null) yield return VariableElement; - foreach (var elem in ListModeElement) { if (elem != null) yield return elem; } - if (ListRuleIdElement != null) yield return ListRuleIdElement; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - foreach (var elem in ListModeElement) { if (elem != null) yield return new ElementValue("listMode", elem); } - if (ListRuleIdElement != null) yield return new ElementValue("listRuleId", ListRuleIdElement); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2704,26 +2498,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2862,28 +2636,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3552,66 +3304,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in Structure) { if (elem != null) yield return elem; } - foreach (var elem in ImportElement) { if (elem != null) yield return elem; } - foreach (var elem in Const) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in Structure) { if (elem != null) yield return new ElementValue("structure", elem); } - foreach (var elem in ImportElement) { if (elem != null) yield return new ElementValue("import", elem); } - foreach (var elem in Const) { if (elem != null) yield return new ElementValue("const", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs b/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs index 975db5422..6b6b31735 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Subscription.cs @@ -319,34 +319,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceTypeElement != null) yield return ResourceTypeElement; - if (FilterParameterElement != null) yield return FilterParameterElement; - if (ComparatorElement != null) yield return ComparatorElement; - if (ModifierElement != null) yield return ModifierElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceTypeElement != null) yield return new ElementValue("resourceType", ResourceTypeElement); - if (FilterParameterElement != null) yield return new ElementValue("filterParameter", FilterParameterElement); - if (ComparatorElement != null) yield return new ElementValue("comparator", ComparatorElement); - if (ModifierElement != null) yield return new ElementValue("modifier", ModifierElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,28 +507,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1124,58 +1074,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (TopicElement != null) yield return TopicElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (EndElement != null) yield return EndElement; - if (ManagingEntity != null) yield return ManagingEntity; - if (ReasonElement != null) yield return ReasonElement; - foreach (var elem in FilterBy) { if (elem != null) yield return elem; } - if (ChannelType != null) yield return ChannelType; - if (EndpointElement != null) yield return EndpointElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (HeartbeatPeriodElement != null) yield return HeartbeatPeriodElement; - if (TimeoutElement != null) yield return TimeoutElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (ContentElement != null) yield return ContentElement; - if (MaxCountElement != null) yield return MaxCountElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TopicElement != null) yield return new ElementValue("topic", TopicElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ManagingEntity != null) yield return new ElementValue("managingEntity", ManagingEntity); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - foreach (var elem in FilterBy) { if (elem != null) yield return new ElementValue("filterBy", elem); } - if (ChannelType != null) yield return new ElementValue("channelType", ChannelType); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (HeartbeatPeriodElement != null) yield return new ElementValue("heartbeatPeriod", HeartbeatPeriodElement); - if (TimeoutElement != null) yield return new ElementValue("timeout", TimeoutElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (ContentElement != null) yield return new ElementValue("content", ContentElement); - if (MaxCountElement != null) yield return new ElementValue("maxCount", MaxCountElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs index 31181f636..bb1bc63f1 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionStatus.cs @@ -260,32 +260,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (EventNumberElement != null) yield return EventNumberElement; - if (TimestampElement != null) yield return TimestampElement; - if (Focus != null) yield return Focus; - foreach (var elem in AdditionalContext) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (EventNumberElement != null) yield return new ElementValue("eventNumber", EventNumberElement); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - foreach (var elem in AdditionalContext) { if (elem != null) yield return new ElementValue("additionalContext", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -575,38 +549,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (EventsSinceSubscriptionStartElement != null) yield return EventsSinceSubscriptionStartElement; - foreach (var elem in NotificationEvent) { if (elem != null) yield return elem; } - if (Subscription != null) yield return Subscription; - if (TopicElement != null) yield return TopicElement; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EventsSinceSubscriptionStartElement != null) yield return new ElementValue("eventsSinceSubscriptionStart", EventsSinceSubscriptionStartElement); - foreach (var elem in NotificationEvent) { if (elem != null) yield return new ElementValue("notificationEvent", elem); } - if (Subscription != null) yield return new ElementValue("subscription", Subscription); - if (TopicElement != null) yield return new ElementValue("topic", TopicElement); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs index 425e5c43a..aa640112c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubscriptionTopic.cs @@ -321,34 +321,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (ResourceElement != null) yield return ResourceElement; - foreach (var elem in SupportedInteractionElement) { if (elem != null) yield return elem; } - if (QueryCriteria != null) yield return QueryCriteria; - if (FhirPathCriteriaElement != null) yield return FhirPathCriteriaElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - foreach (var elem in SupportedInteractionElement) { if (elem != null) yield return new ElementValue("supportedInteraction", elem); } - if (QueryCriteria != null) yield return new ElementValue("queryCriteria", QueryCriteria); - if (FhirPathCriteriaElement != null) yield return new ElementValue("fhirPathCriteria", FhirPathCriteriaElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -640,34 +612,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreviousElement != null) yield return PreviousElement; - if (ResultForCreateElement != null) yield return ResultForCreateElement; - if (CurrentElement != null) yield return CurrentElement; - if (ResultForDeleteElement != null) yield return ResultForDeleteElement; - if (RequireBothElement != null) yield return RequireBothElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreviousElement != null) yield return new ElementValue("previous", PreviousElement); - if (ResultForCreateElement != null) yield return new ElementValue("resultForCreate", ResultForCreateElement); - if (CurrentElement != null) yield return new ElementValue("current", CurrentElement); - if (ResultForDeleteElement != null) yield return new ElementValue("resultForDelete", ResultForDeleteElement); - if (RequireBothElement != null) yield return new ElementValue("requireBoth", RequireBothElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -873,30 +817,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Event != null) yield return Event; - if (ResourceElement != null) yield return ResourceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Event != null) yield return new ElementValue("event", Event); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1212,36 +1132,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (ResourceElement != null) yield return ResourceElement; - if (FilterParameterElement != null) yield return FilterParameterElement; - if (FilterDefinitionElement != null) yield return FilterDefinitionElement; - foreach (var elem in ComparatorElement) { if (elem != null) yield return elem; } - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (FilterParameterElement != null) yield return new ElementValue("filterParameter", FilterParameterElement); - if (FilterDefinitionElement != null) yield return new ElementValue("filterDefinition", FilterDefinitionElement); - foreach (var elem in ComparatorElement) { if (elem != null) yield return new ElementValue("comparator", elem); } - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1472,30 +1362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResourceElement != null) yield return ResourceElement; - foreach (var elem in IncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in RevIncludeElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - foreach (var elem in IncludeElement) { if (elem != null) yield return new ElementValue("include", elem); } - foreach (var elem in RevIncludeElement) { if (elem != null) yield return new ElementValue("revInclude", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2271,74 +2137,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in DerivedFromElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in ResourceTrigger) { if (elem != null) yield return elem; } - foreach (var elem in EventTrigger) { if (elem != null) yield return elem; } - foreach (var elem in CanFilterBy) { if (elem != null) yield return elem; } - foreach (var elem in NotificationShape) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in DerivedFromElement) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in ResourceTrigger) { if (elem != null) yield return new ElementValue("resourceTrigger", elem); } - foreach (var elem in EventTrigger) { if (elem != null) yield return new ElementValue("eventTrigger", elem); } - foreach (var elem in CanFilterBy) { if (elem != null) yield return new ElementValue("canFilterBy", elem); } - foreach (var elem in NotificationShape) { if (elem != null) yield return new ElementValue("notificationShape", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Substance.cs b/src/Hl7.Fhir.R5/Model/Generated/Substance.cs index ba508527d..66014ac8f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Substance.cs @@ -176,28 +176,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -505,42 +483,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (InstanceElement != null) yield return InstanceElement; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpiryElement != null) yield return ExpiryElement; - if (Quantity != null) yield return Quantity; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (InstanceElement != null) yield return new ElementValue("instance", InstanceElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs index ddebce1a6..c3a29cd62 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceDefinition.cs @@ -277,40 +277,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (Amount != null) yield return Amount; - if (MeasurementType != null) yield return MeasurementType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (MeasurementType != null) yield return new ElementValue("measurementType", MeasurementType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -531,32 +497,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Technique != null) yield return Technique; - if (Form != null) yield return Form; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in File) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Technique != null) yield return new ElementValue("technique", Technique); - if (Form != null) yield return new ElementValue("form", Form); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in File) { if (elem != null) yield return new ElementValue("file", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -700,28 +640,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -869,30 +787,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Method != null) yield return Method; - if (Type != null) yield return Type; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Method != null) yield return new ElementValue("method", Method); - if (Type != null) yield return new ElementValue("type", Type); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1165,40 +1059,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Stereochemistry != null) yield return Stereochemistry; - if (OpticalActivity != null) yield return OpticalActivity; - if (MolecularFormulaElement != null) yield return MolecularFormulaElement; - if (MolecularFormulaByMoietyElement != null) yield return MolecularFormulaByMoietyElement; - if (MolecularWeight != null) yield return MolecularWeight; - foreach (var elem in Technique) { if (elem != null) yield return elem; } - foreach (var elem in SourceDocument) { if (elem != null) yield return elem; } - foreach (var elem in Representation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Stereochemistry != null) yield return new ElementValue("stereochemistry", Stereochemistry); - if (OpticalActivity != null) yield return new ElementValue("opticalActivity", OpticalActivity); - if (MolecularFormulaElement != null) yield return new ElementValue("molecularFormula", MolecularFormulaElement); - if (MolecularFormulaByMoietyElement != null) yield return new ElementValue("molecularFormulaByMoiety", MolecularFormulaByMoietyElement); - if (MolecularWeight != null) yield return new ElementValue("molecularWeight", MolecularWeight); - foreach (var elem in Technique) { if (elem != null) yield return new ElementValue("technique", elem); } - foreach (var elem in SourceDocument) { if (elem != null) yield return new ElementValue("sourceDocument", elem); } - foreach (var elem in Representation) { if (elem != null) yield return new ElementValue("representation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1420,32 +1280,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RepresentationElement != null) yield return RepresentationElement; - if (Format != null) yield return Format; - if (Document != null) yield return Document; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RepresentationElement != null) yield return new ElementValue("representation", RepresentationElement); - if (Format != null) yield return new ElementValue("format", Format); - if (Document != null) yield return new ElementValue("document", Document); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1656,34 +1490,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Status != null) yield return Status; - if (StatusDateElement != null) yield return StatusDateElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Status != null) yield return new ElementValue("status", Status); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2025,46 +1831,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Type != null) yield return Type; - if (Status != null) yield return Status; - if (PreferredElement != null) yield return PreferredElement; - foreach (var elem in Language) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Synonym) { if (elem != null) yield return elem; } - foreach (var elem in Translation) { if (elem != null) yield return elem; } - foreach (var elem in Official) { if (elem != null) yield return elem; } - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Status != null) yield return new ElementValue("status", Status); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - foreach (var elem in Language) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Synonym) { if (elem != null) yield return new ElementValue("synonym", elem); } - foreach (var elem in Translation) { if (elem != null) yield return new ElementValue("translation", elem); } - foreach (var elem in Official) { if (elem != null) yield return new ElementValue("official", elem); } - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2289,30 +2055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Authority != null) yield return Authority; - if (Status != null) yield return Status; - if (DateElement != null) yield return DateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Authority != null) yield return new ElementValue("authority", Authority); - if (Status != null) yield return new ElementValue("status", Status); - if (DateElement != null) yield return new ElementValue("date", DateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2557,38 +2299,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubstanceDefinition != null) yield return SubstanceDefinition; - if (Type != null) yield return Type; - if (IsDefiningElement != null) yield return IsDefiningElement; - if (Amount != null) yield return Amount; - if (RatioHighLimitAmount != null) yield return RatioHighLimitAmount; - if (Comparator != null) yield return Comparator; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubstanceDefinition != null) yield return new ElementValue("substanceDefinition", SubstanceDefinition); - if (Type != null) yield return new ElementValue("type", Type); - if (IsDefiningElement != null) yield return new ElementValue("isDefining", IsDefiningElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (RatioHighLimitAmount != null) yield return new ElementValue("ratioHighLimitAmount", RatioHighLimitAmount); - if (Comparator != null) yield return new ElementValue("comparator", Comparator); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2806,34 +2516,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Genus != null) yield return Genus; - if (Species != null) yield return Species; - if (Part != null) yield return Part; - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Genus != null) yield return new ElementValue("genus", Genus); - if (Species != null) yield return new ElementValue("species", Species); - if (Part != null) yield return new ElementValue("part", Part); - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return new ElementValue("countryOfOrigin", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3388,72 +3070,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (Status != null) yield return Status; - foreach (var elem in Classification) { if (elem != null) yield return elem; } - if (Domain != null) yield return Domain; - foreach (var elem in Grade) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in InformationSource) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Manufacturer) { if (elem != null) yield return elem; } - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - foreach (var elem in Moiety) { if (elem != null) yield return elem; } - foreach (var elem in Characterization) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - if (ReferenceInformation != null) yield return ReferenceInformation; - foreach (var elem in MolecularWeight) { if (elem != null) yield return elem; } - if (Structure != null) yield return Structure; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (NucleicAcid != null) yield return NucleicAcid; - if (Polymer != null) yield return Polymer; - if (Protein != null) yield return Protein; - if (SourceMaterial != null) yield return SourceMaterial; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Status != null) yield return new ElementValue("status", Status); - foreach (var elem in Classification) { if (elem != null) yield return new ElementValue("classification", elem); } - if (Domain != null) yield return new ElementValue("domain", Domain); - foreach (var elem in Grade) { if (elem != null) yield return new ElementValue("grade", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in InformationSource) { if (elem != null) yield return new ElementValue("informationSource", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Manufacturer) { if (elem != null) yield return new ElementValue("manufacturer", elem); } - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - foreach (var elem in Moiety) { if (elem != null) yield return new ElementValue("moiety", elem); } - foreach (var elem in Characterization) { if (elem != null) yield return new ElementValue("characterization", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - if (ReferenceInformation != null) yield return new ElementValue("referenceInformation", ReferenceInformation); - foreach (var elem in MolecularWeight) { if (elem != null) yield return new ElementValue("molecularWeight", elem); } - if (Structure != null) yield return new ElementValue("structure", Structure); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (NucleicAcid != null) yield return new ElementValue("nucleicAcid", NucleicAcid); - if (Polymer != null) yield return new ElementValue("polymer", Polymer); - if (Protein != null) yield return new ElementValue("protein", Protein); - if (SourceMaterial != null) yield return new ElementValue("sourceMaterial", SourceMaterial); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs index 35d3a54ae..e9dcc13f0 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceNucleicAcid.cs @@ -292,40 +292,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubunitElement != null) yield return SubunitElement; - if (SequenceElement != null) yield return SequenceElement; - if (LengthElement != null) yield return LengthElement; - if (SequenceAttachment != null) yield return SequenceAttachment; - if (FivePrime != null) yield return FivePrime; - if (ThreePrime != null) yield return ThreePrime; - foreach (var elem in Linkage) { if (elem != null) yield return elem; } - foreach (var elem in Sugar) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubunitElement != null) yield return new ElementValue("subunit", SubunitElement); - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (SequenceAttachment != null) yield return new ElementValue("sequenceAttachment", SequenceAttachment); - if (FivePrime != null) yield return new ElementValue("fivePrime", FivePrime); - if (ThreePrime != null) yield return new ElementValue("threePrime", ThreePrime); - foreach (var elem in Linkage) { if (elem != null) yield return new ElementValue("linkage", elem); } - foreach (var elem in Sugar) { if (elem != null) yield return new ElementValue("sugar", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -579,32 +545,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ConnectivityElement != null) yield return ConnectivityElement; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (ResidueSiteElement != null) yield return ResidueSiteElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ConnectivityElement != null) yield return new ElementValue("connectivity", ConnectivityElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ResidueSiteElement != null) yield return new ElementValue("residueSite", ResidueSiteElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -796,30 +736,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (ResidueSiteElement != null) yield return ResidueSiteElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ResidueSiteElement != null) yield return new ElementValue("residueSite", ResidueSiteElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1024,34 +940,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceType != null) yield return SequenceType; - if (NumberOfSubunitsElement != null) yield return NumberOfSubunitsElement; - if (AreaOfHybridisationElement != null) yield return AreaOfHybridisationElement; - if (OligoNucleotideType != null) yield return OligoNucleotideType; - foreach (var elem in Subunit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceType != null) yield return new ElementValue("sequenceType", SequenceType); - if (NumberOfSubunitsElement != null) yield return new ElementValue("numberOfSubunits", NumberOfSubunitsElement); - if (AreaOfHybridisationElement != null) yield return new ElementValue("areaOfHybridisation", AreaOfHybridisationElement); - if (OligoNucleotideType != null) yield return new ElementValue("oligoNucleotideType", OligoNucleotideType); - foreach (var elem in Subunit) { if (elem != null) yield return new ElementValue("subunit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs index fb532f4af..df7448e50 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstancePolymer.cs @@ -141,28 +141,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RatioType != null) yield return RatioType; - foreach (var elem in StartingMaterial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RatioType != null) yield return new ElementValue("ratioType", RatioType); - foreach (var elem in StartingMaterial) { if (elem != null) yield return new ElementValue("startingMaterial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -338,32 +316,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Category != null) yield return Category; - if (IsDefiningElement != null) yield return IsDefiningElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Category != null) yield return new ElementValue("category", Category); - if (IsDefiningElement != null) yield return new ElementValue("isDefining", IsDefiningElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -538,30 +490,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AverageMolecularFormulaElement != null) yield return AverageMolecularFormulaElement; - if (RepeatUnitAmountType != null) yield return RepeatUnitAmountType; - foreach (var elem in RepeatUnit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AverageMolecularFormulaElement != null) yield return new ElementValue("averageMolecularFormula", AverageMolecularFormulaElement); - if (RepeatUnitAmountType != null) yield return new ElementValue("repeatUnitAmountType", RepeatUnitAmountType); - foreach (var elem in RepeatUnit) { if (elem != null) yield return new ElementValue("repeatUnit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -780,34 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UnitElement != null) yield return UnitElement; - if (Orientation != null) yield return Orientation; - if (AmountElement != null) yield return AmountElement; - foreach (var elem in DegreeOfPolymerisation) { if (elem != null) yield return elem; } - foreach (var elem in StructuralRepresentation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UnitElement != null) yield return new ElementValue("unit", UnitElement); - if (Orientation != null) yield return new ElementValue("orientation", Orientation); - if (AmountElement != null) yield return new ElementValue("amount", AmountElement); - foreach (var elem in DegreeOfPolymerisation) { if (elem != null) yield return new ElementValue("degreeOfPolymerisation", elem); } - foreach (var elem in StructuralRepresentation) { if (elem != null) yield return new ElementValue("structuralRepresentation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1040,32 +940,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (AverageElement != null) yield return AverageElement; - if (LowElement != null) yield return LowElement; - if (HighElement != null) yield return HighElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (AverageElement != null) yield return new ElementValue("average", AverageElement); - if (LowElement != null) yield return new ElementValue("low", LowElement); - if (HighElement != null) yield return new ElementValue("high", HighElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1255,32 +1129,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (RepresentationElement != null) yield return RepresentationElement; - if (Format != null) yield return Format; - if (Attachment != null) yield return Attachment; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (RepresentationElement != null) yield return new ElementValue("representation", RepresentationElement); - if (Format != null) yield return new ElementValue("format", Format); - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1510,38 +1358,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Class != null) yield return Class; - if (Geometry != null) yield return Geometry; - foreach (var elem in CopolymerConnectivity) { if (elem != null) yield return elem; } - if (ModificationElement != null) yield return ModificationElement; - foreach (var elem in MonomerSet) { if (elem != null) yield return elem; } - foreach (var elem in Repeat) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Class != null) yield return new ElementValue("class", Class); - if (Geometry != null) yield return new ElementValue("geometry", Geometry); - foreach (var elem in CopolymerConnectivity) { if (elem != null) yield return new ElementValue("copolymerConnectivity", elem); } - if (ModificationElement != null) yield return new ElementValue("modification", ModificationElement); - foreach (var elem in MonomerSet) { if (elem != null) yield return new ElementValue("monomerSet", elem); } - foreach (var elem in Repeat) { if (elem != null) yield return new ElementValue("repeat", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs index 3eb74c498..ffe511d7e 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceProtein.cs @@ -326,40 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SubunitElement != null) yield return SubunitElement; - if (SequenceElement != null) yield return SequenceElement; - if (LengthElement != null) yield return LengthElement; - if (SequenceAttachment != null) yield return SequenceAttachment; - if (NTerminalModificationId != null) yield return NTerminalModificationId; - if (NTerminalModificationElement != null) yield return NTerminalModificationElement; - if (CTerminalModificationId != null) yield return CTerminalModificationId; - if (CTerminalModificationElement != null) yield return CTerminalModificationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SubunitElement != null) yield return new ElementValue("subunit", SubunitElement); - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (LengthElement != null) yield return new ElementValue("length", LengthElement); - if (SequenceAttachment != null) yield return new ElementValue("sequenceAttachment", SequenceAttachment); - if (NTerminalModificationId != null) yield return new ElementValue("nTerminalModificationId", NTerminalModificationId); - if (NTerminalModificationElement != null) yield return new ElementValue("nTerminalModification", NTerminalModificationElement); - if (CTerminalModificationId != null) yield return new ElementValue("cTerminalModificationId", CTerminalModificationId); - if (CTerminalModificationElement != null) yield return new ElementValue("cTerminalModification", CTerminalModificationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -584,32 +550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceType != null) yield return SequenceType; - if (NumberOfSubunitsElement != null) yield return NumberOfSubunitsElement; - foreach (var elem in DisulfideLinkageElement) { if (elem != null) yield return elem; } - foreach (var elem in Subunit) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceType != null) yield return new ElementValue("sequenceType", SequenceType); - if (NumberOfSubunitsElement != null) yield return new ElementValue("numberOfSubunits", NumberOfSubunitsElement); - foreach (var elem in DisulfideLinkageElement) { if (elem != null) yield return new ElementValue("disulfideLinkage", elem); } - foreach (var elem in Subunit) { if (elem != null) yield return new ElementValue("subunit", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs index 82168f732..879540c47 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceReferenceInformation.cs @@ -159,30 +159,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (GeneSequenceOrigin != null) yield return GeneSequenceOrigin; - if (Gene != null) yield return Gene; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (GeneSequenceOrigin != null) yield return new ElementValue("geneSequenceOrigin", GeneSequenceOrigin); - if (Gene != null) yield return new ElementValue("gene", Gene); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -334,30 +310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Element != null) yield return Element; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Element != null) yield return new ElementValue("element", Element); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -591,40 +543,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (Type != null) yield return Type; - if (Interaction != null) yield return Interaction; - if (Organism != null) yield return Organism; - if (OrganismType != null) yield return OrganismType; - if (Amount != null) yield return Amount; - if (AmountType != null) yield return AmountType; - foreach (var elem in Source) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (Type != null) yield return new ElementValue("type", Type); - if (Interaction != null) yield return new ElementValue("interaction", Interaction); - if (Organism != null) yield return new ElementValue("organism", Organism); - if (OrganismType != null) yield return new ElementValue("organismType", OrganismType); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (AmountType != null) yield return new ElementValue("amountType", AmountType); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -832,32 +750,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in Gene) { if (elem != null) yield return elem; } - foreach (var elem in GeneElement) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in Gene) { if (elem != null) yield return new ElementValue("gene", elem); } - foreach (var elem in GeneElement) { if (elem != null) yield return new ElementValue("geneElement", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs b/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs index 2aa97dd94..f45df90e5 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SubstanceSourceMaterial.cs @@ -158,28 +158,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FractionElement != null) yield return FractionElement; - if (MaterialType != null) yield return MaterialType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FractionElement != null) yield return new ElementValue("fraction", FractionElement); - if (MaterialType != null) yield return new ElementValue("materialType", MaterialType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -420,40 +398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Family != null) yield return Family; - if (Genus != null) yield return Genus; - if (Species != null) yield return Species; - if (IntraspecificType != null) yield return IntraspecificType; - if (IntraspecificDescriptionElement != null) yield return IntraspecificDescriptionElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Hybrid != null) yield return Hybrid; - if (OrganismGeneral != null) yield return OrganismGeneral; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Family != null) yield return new ElementValue("family", Family); - if (Genus != null) yield return new ElementValue("genus", Genus); - if (Species != null) yield return new ElementValue("species", Species); - if (IntraspecificType != null) yield return new ElementValue("intraspecificType", IntraspecificType); - if (IntraspecificDescriptionElement != null) yield return new ElementValue("intraspecificDescription", IntraspecificDescriptionElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Hybrid != null) yield return new ElementValue("hybrid", Hybrid); - if (OrganismGeneral != null) yield return new ElementValue("organismGeneral", OrganismGeneral); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -639,28 +583,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AuthorType != null) yield return AuthorType; - if (AuthorDescriptionElement != null) yield return AuthorDescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AuthorType != null) yield return new ElementValue("authorType", AuthorType); - if (AuthorDescriptionElement != null) yield return new ElementValue("authorDescription", AuthorDescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -906,34 +828,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MaternalOrganismIdElement != null) yield return MaternalOrganismIdElement; - if (MaternalOrganismNameElement != null) yield return MaternalOrganismNameElement; - if (PaternalOrganismIdElement != null) yield return PaternalOrganismIdElement; - if (PaternalOrganismNameElement != null) yield return PaternalOrganismNameElement; - if (HybridType != null) yield return HybridType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MaternalOrganismIdElement != null) yield return new ElementValue("maternalOrganismId", MaternalOrganismIdElement); - if (MaternalOrganismNameElement != null) yield return new ElementValue("maternalOrganismName", MaternalOrganismNameElement); - if (PaternalOrganismIdElement != null) yield return new ElementValue("paternalOrganismId", PaternalOrganismIdElement); - if (PaternalOrganismNameElement != null) yield return new ElementValue("paternalOrganismName", PaternalOrganismNameElement); - if (HybridType != null) yield return new ElementValue("hybridType", HybridType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1112,32 +1006,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Kingdom != null) yield return Kingdom; - if (Phylum != null) yield return Phylum; - if (Class != null) yield return Class; - if (Order != null) yield return Order; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Kingdom != null) yield return new ElementValue("kingdom", Kingdom); - if (Phylum != null) yield return new ElementValue("phylum", Phylum); - if (Class != null) yield return new ElementValue("class", Class); - if (Order != null) yield return new ElementValue("order", Order); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1277,28 +1145,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Part != null) yield return Part; - if (PartLocation != null) yield return PartLocation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Part != null) yield return new ElementValue("part", Part); - if (PartLocation != null) yield return new ElementValue("partLocation", PartLocation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1647,50 +1493,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceMaterialClass != null) yield return SourceMaterialClass; - if (SourceMaterialType != null) yield return SourceMaterialType; - if (SourceMaterialState != null) yield return SourceMaterialState; - if (OrganismId != null) yield return OrganismId; - if (OrganismNameElement != null) yield return OrganismNameElement; - foreach (var elem in ParentSubstanceId) { if (elem != null) yield return elem; } - foreach (var elem in ParentSubstanceNameElement) { if (elem != null) yield return elem; } - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return elem; } - foreach (var elem in GeographicalLocationElement) { if (elem != null) yield return elem; } - if (DevelopmentStage != null) yield return DevelopmentStage; - foreach (var elem in FractionDescription) { if (elem != null) yield return elem; } - if (Organism != null) yield return Organism; - foreach (var elem in PartDescription) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceMaterialClass != null) yield return new ElementValue("sourceMaterialClass", SourceMaterialClass); - if (SourceMaterialType != null) yield return new ElementValue("sourceMaterialType", SourceMaterialType); - if (SourceMaterialState != null) yield return new ElementValue("sourceMaterialState", SourceMaterialState); - if (OrganismId != null) yield return new ElementValue("organismId", OrganismId); - if (OrganismNameElement != null) yield return new ElementValue("organismName", OrganismNameElement); - foreach (var elem in ParentSubstanceId) { if (elem != null) yield return new ElementValue("parentSubstanceId", elem); } - foreach (var elem in ParentSubstanceNameElement) { if (elem != null) yield return new ElementValue("parentSubstanceName", elem); } - foreach (var elem in CountryOfOrigin) { if (elem != null) yield return new ElementValue("countryOfOrigin", elem); } - foreach (var elem in GeographicalLocationElement) { if (elem != null) yield return new ElementValue("geographicalLocation", elem); } - if (DevelopmentStage != null) yield return new ElementValue("developmentStage", DevelopmentStage); - foreach (var elem in FractionDescription) { if (elem != null) yield return new ElementValue("fractionDescription", elem); } - if (Organism != null) yield return new ElementValue("organism", Organism); - foreach (var elem in PartDescription) { if (elem != null) yield return new ElementValue("partDescription", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs index 986d4f9c5..d178637c4 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SupplyDelivery.cs @@ -212,28 +212,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -532,46 +510,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Type != null) yield return Type; - foreach (var elem in SuppliedItem) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (Supplier != null) yield return Supplier; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SuppliedItem) { if (elem != null) yield return new ElementValue("suppliedItem", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Supplier != null) yield return new ElementValue("supplier", Supplier); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs index e9826bdf6..23bd0cf7a 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/SupplyRequest.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -643,56 +621,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Category != null) yield return Category; - if (PriorityElement != null) yield return PriorityElement; - if (DeliverFor != null) yield return DeliverFor; - if (Item != null) yield return Item; - if (Quantity != null) yield return Quantity; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (DeliverFrom != null) yield return DeliverFrom; - if (DeliverTo != null) yield return DeliverTo; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Category != null) yield return new ElementValue("category", Category); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DeliverFor != null) yield return new ElementValue("deliverFor", DeliverFor); - if (Item != null) yield return new ElementValue("item", Item); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (DeliverFrom != null) yield return new ElementValue("deliverFrom", DeliverFrom); - if (DeliverTo != null) yield return new ElementValue("deliverTo", DeliverTo); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Task.cs b/src/Hl7.Fhir.R5/Model/Generated/Task.cs index e7fb3732e..be6e2fb7c 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Task.cs @@ -293,28 +293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Function != null) yield return Function; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Function != null) yield return new ElementValue("function", Function); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -481,30 +459,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RepetitionsElement != null) yield return RepetitionsElement; - if (Period != null) yield return Period; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RepetitionsElement != null) yield return new ElementValue("repetitions", RepetitionsElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,28 +599,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -800,28 +732,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1638,90 +1548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (BusinessStatus != null) yield return BusinessStatus; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Focus != null) yield return Focus; - if (For != null) yield return For; - if (Encounter != null) yield return Encounter; - if (RequestedPeriod != null) yield return RequestedPeriod; - if (ExecutionPeriod != null) yield return ExecutionPeriod; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Requester != null) yield return Requester; - foreach (var elem in RequestedPerformer) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - if (Restriction != null) yield return Restriction; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (BusinessStatus != null) yield return new ElementValue("businessStatus", BusinessStatus); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (For != null) yield return new ElementValue("for", For); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (RequestedPeriod != null) yield return new ElementValue("requestedPeriod", RequestedPeriod); - if (ExecutionPeriod != null) yield return new ElementValue("executionPeriod", ExecutionPeriod); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in RequestedPerformer) { if (elem != null) yield return new ElementValue("requestedPerformer", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - if (Restriction != null) yield return new ElementValue("restriction", Restriction); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs b/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs index b4c7abe11..389ed3e82 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TerminologyCapabilities.cs @@ -211,28 +211,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -398,28 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -639,32 +595,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UriElement != null) yield return UriElement; - foreach (var elem in Version) { if (elem != null) yield return elem; } - if (ContentElement != null) yield return ContentElement; - if (SubsumptionElement != null) yield return SubsumptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UriElement != null) yield return new ElementValue("uri", UriElement); - foreach (var elem in Version) { if (elem != null) yield return new ElementValue("version", elem); } - if (ContentElement != null) yield return new ElementValue("content", ContentElement); - if (SubsumptionElement != null) yield return new ElementValue("subsumption", SubsumptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -967,36 +897,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (IsDefaultElement != null) yield return IsDefaultElement; - if (CompositionalElement != null) yield return CompositionalElement; - foreach (var elem in LanguageElement) { if (elem != null) yield return elem; } - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in PropertyElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (IsDefaultElement != null) yield return new ElementValue("isDefault", IsDefaultElement); - if (CompositionalElement != null) yield return new ElementValue("compositional", CompositionalElement); - foreach (var elem in LanguageElement) { if (elem != null) yield return new ElementValue("language", elem); } - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in PropertyElement) { if (elem != null) yield return new ElementValue("property", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1188,28 +1088,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in OpElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in OpElement) { if (elem != null) yield return new ElementValue("op", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1456,34 +1334,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (HierarchicalElement != null) yield return HierarchicalElement; - if (PagingElement != null) yield return PagingElement; - if (IncompleteElement != null) yield return IncompleteElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - if (TextFilterElement != null) yield return TextFilterElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (HierarchicalElement != null) yield return new ElementValue("hierarchical", HierarchicalElement); - if (PagingElement != null) yield return new ElementValue("paging", PagingElement); - if (IncompleteElement != null) yield return new ElementValue("incomplete", IncompleteElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - if (TextFilterElement != null) yield return new ElementValue("textFilter", TextFilterElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1667,28 +1517,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1817,26 +1645,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationsElement != null) yield return TranslationsElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationsElement != null) yield return new ElementValue("translations", TranslationsElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1958,26 +1766,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NeedsMapElement != null) yield return NeedsMapElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NeedsMapElement != null) yield return new ElementValue("needsMap", NeedsMapElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2101,26 +1889,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TranslationElement != null) yield return TranslationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TranslationElement != null) yield return new ElementValue("translation", TranslationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2915,78 +2683,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - if (KindElement != null) yield return KindElement; - if (Software != null) yield return Software; - if (Implementation != null) yield return Implementation; - if (LockedDateElement != null) yield return LockedDateElement; - foreach (var elem in CodeSystem) { if (elem != null) yield return elem; } - if (Expansion != null) yield return Expansion; - if (CodeSearchElement != null) yield return CodeSearchElement; - if (ValidateCode != null) yield return ValidateCode; - if (Translation != null) yield return Translation; - if (Closure != null) yield return Closure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Software != null) yield return new ElementValue("software", Software); - if (Implementation != null) yield return new ElementValue("implementation", Implementation); - if (LockedDateElement != null) yield return new ElementValue("lockedDate", LockedDateElement); - foreach (var elem in CodeSystem) { if (elem != null) yield return new ElementValue("codeSystem", elem); } - if (Expansion != null) yield return new ElementValue("expansion", Expansion); - if (CodeSearchElement != null) yield return new ElementValue("codeSearch", CodeSearchElement); - if (ValidateCode != null) yield return new ElementValue("validateCode", ValidateCode); - if (Translation != null) yield return new ElementValue("translation", Translation); - if (Closure != null) yield return new ElementValue("closure", Closure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs b/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs index 493ecabd4..01b5a1147 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestPlan.cs @@ -164,28 +164,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Predecessor != null) yield return Predecessor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Predecessor != null) yield return new ElementValue("predecessor", Predecessor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -401,36 +379,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in Scope) { if (elem != null) yield return elem; } - foreach (var elem in Dependency) { if (elem != null) yield return elem; } - foreach (var elem in TestRun) { if (elem != null) yield return elem; } - foreach (var elem in TestData) { if (elem != null) yield return elem; } - foreach (var elem in Assertion) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in Scope) { if (elem != null) yield return new ElementValue("scope", elem); } - foreach (var elem in Dependency) { if (elem != null) yield return new ElementValue("dependency", elem); } - foreach (var elem in TestRun) { if (elem != null) yield return new ElementValue("testRun", elem); } - foreach (var elem in TestData) { if (elem != null) yield return new ElementValue("testData", elem); } - foreach (var elem in Assertion) { if (elem != null) yield return new ElementValue("assertion", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -605,28 +553,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Predecessor != null) yield return Predecessor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Predecessor != null) yield return new ElementValue("predecessor", Predecessor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -770,28 +696,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NarrativeElement != null) yield return NarrativeElement; - if (Script != null) yield return Script; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NarrativeElement != null) yield return new ElementValue("narrative", NarrativeElement); - if (Script != null) yield return new ElementValue("script", Script); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -919,28 +823,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (Source != null) yield return Source; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (Source != null) yield return new ElementValue("source", Source); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1085,30 +967,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Content != null) yield return Content; - if (Source != null) yield return Source; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Content != null) yield return new ElementValue("content", Content); - if (Source != null) yield return new ElementValue("source", Source); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1263,30 +1121,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Object) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Object) { if (elem != null) yield return new ElementValue("object", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2011,70 +1845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Scope) { if (elem != null) yield return elem; } - if (TestToolsElement != null) yield return TestToolsElement; - foreach (var elem in Dependency) { if (elem != null) yield return elem; } - if (ExitCriteriaElement != null) yield return ExitCriteriaElement; - foreach (var elem in TestCase) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Scope) { if (elem != null) yield return new ElementValue("scope", elem); } - if (TestToolsElement != null) yield return new ElementValue("testTools", TestToolsElement); - foreach (var elem in Dependency) { if (elem != null) yield return new ElementValue("dependency", elem); } - if (ExitCriteriaElement != null) yield return new ElementValue("exitCriteria", ExitCriteriaElement); - foreach (var elem in TestCase) { if (elem != null) yield return new ElementValue("testCase", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs b/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs index 2c298c7a2..acfa964c3 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestReport.cs @@ -353,30 +353,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UriElement != null) yield return UriElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -494,26 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -636,28 +592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -859,30 +793,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1108,32 +1018,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - foreach (var elem in Requirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - foreach (var elem in Requirement) { if (elem != null) yield return new ElementValue("requirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1263,26 +1147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1454,30 +1318,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1614,28 +1454,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1749,26 +1567,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1876,26 +1674,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2298,48 +2076,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (TestScriptElement != null) yield return TestScriptElement; - if (ResultElement != null) yield return ResultElement; - if (ScoreElement != null) yield return ScoreElement; - if (TesterElement != null) yield return TesterElement; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TestScriptElement != null) yield return new ElementValue("testScript", TestScriptElement); - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (ScoreElement != null) yield return new ElementValue("score", ScoreElement); - if (TesterElement != null) yield return new ElementValue("tester", TesterElement); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs b/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs index aa61b2306..d701a8e48 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TestScript.cs @@ -666,30 +666,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -881,30 +857,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1042,28 +994,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1229,28 +1159,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1591,38 +1499,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequiredElement != null) yield return RequiredElement; - if (ValidatedElement != null) yield return ValidatedElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OriginElement) { if (elem != null) yield return elem; } - if (DestinationElement != null) yield return DestinationElement; - foreach (var elem in LinkElement) { if (elem != null) yield return elem; } - if (CapabilitiesElement != null) yield return CapabilitiesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (ValidatedElement != null) yield return new ElementValue("validated", ValidatedElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OriginElement) { if (elem != null) yield return new ElementValue("origin", elem); } - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - foreach (var elem in LinkElement) { if (elem != null) yield return new ElementValue("link", elem); } - if (CapabilitiesElement != null) yield return new ElementValue("capabilities", CapabilitiesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1823,30 +1699,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ArtifactElement != null) yield return ArtifactElement; - if (Conformance != null) yield return Conformance; - if (Phase != null) yield return Phase; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ArtifactElement != null) yield return new ElementValue("artifact", ArtifactElement); - if (Conformance != null) yield return new ElementValue("conformance", Conformance); - if (Phase != null) yield return new ElementValue("phase", Phase); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2038,30 +1890,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AutocreateElement != null) yield return AutocreateElement; - if (AutodeleteElement != null) yield return AutodeleteElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AutocreateElement != null) yield return new ElementValue("autocreate", AutocreateElement); - if (AutodeleteElement != null) yield return new ElementValue("autodelete", AutodeleteElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2439,40 +2267,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefaultValueElement != null) yield return DefaultValueElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (HintElement != null) yield return HintElement; - if (PathElement != null) yield return PathElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefaultValueElement != null) yield return new ElementValue("defaultValue", DefaultValueElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (HintElement != null) yield return new ElementValue("hint", HintElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2625,26 +2419,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2767,28 +2541,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3435,58 +3187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceElement != null) yield return ResourceElement; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (AcceptElement != null) yield return AcceptElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (DestinationElement != null) yield return DestinationElement; - if (EncodeRequestUrlElement != null) yield return EncodeRequestUrlElement; - if (MethodElement != null) yield return MethodElement; - if (OriginElement != null) yield return OriginElement; - if (ParamsElement != null) yield return ParamsElement; - foreach (var elem in RequestHeader) { if (elem != null) yield return elem; } - if (RequestIdElement != null) yield return RequestIdElement; - if (ResponseIdElement != null) yield return ResponseIdElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (TargetIdElement != null) yield return TargetIdElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AcceptElement != null) yield return new ElementValue("accept", AcceptElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - if (EncodeRequestUrlElement != null) yield return new ElementValue("encodeRequestUrl", EncodeRequestUrlElement); - if (MethodElement != null) yield return new ElementValue("method", MethodElement); - if (OriginElement != null) yield return new ElementValue("origin", OriginElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - foreach (var elem in RequestHeader) { if (elem != null) yield return new ElementValue("requestHeader", elem); } - if (RequestIdElement != null) yield return new ElementValue("requestId", RequestIdElement); - if (ResponseIdElement != null) yield return new ElementValue("responseId", ResponseIdElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3759,28 +3459,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FieldElement != null) yield return FieldElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FieldElement != null) yield return new ElementValue("field", FieldElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4725,74 +4403,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (DirectionElement != null) yield return DirectionElement; - if (CompareToSourceIdElement != null) yield return CompareToSourceIdElement; - if (CompareToSourceExpressionElement != null) yield return CompareToSourceExpressionElement; - if (CompareToSourcePathElement != null) yield return CompareToSourcePathElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (DefaultManualCompletionElement != null) yield return DefaultManualCompletionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (MinimumIdElement != null) yield return MinimumIdElement; - if (NavigationLinksElement != null) yield return NavigationLinksElement; - if (OperatorElement != null) yield return OperatorElement; - if (PathElement != null) yield return PathElement; - if (RequestMethodElement != null) yield return RequestMethodElement; - if (RequestURLElement != null) yield return RequestURLElement; - if (ResourceElement != null) yield return ResourceElement; - if (ResponseElement != null) yield return ResponseElement; - if (ResponseCodeElement != null) yield return ResponseCodeElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (StopTestOnFailElement != null) yield return StopTestOnFailElement; - if (ValidateProfileIdElement != null) yield return ValidateProfileIdElement; - if (ValueElement != null) yield return ValueElement; - if (WarningOnlyElement != null) yield return WarningOnlyElement; - foreach (var elem in Requirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - if (CompareToSourceIdElement != null) yield return new ElementValue("compareToSourceId", CompareToSourceIdElement); - if (CompareToSourceExpressionElement != null) yield return new ElementValue("compareToSourceExpression", CompareToSourceExpressionElement); - if (CompareToSourcePathElement != null) yield return new ElementValue("compareToSourcePath", CompareToSourcePathElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (DefaultManualCompletionElement != null) yield return new ElementValue("defaultManualCompletion", DefaultManualCompletionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (MinimumIdElement != null) yield return new ElementValue("minimumId", MinimumIdElement); - if (NavigationLinksElement != null) yield return new ElementValue("navigationLinks", NavigationLinksElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (RequestMethodElement != null) yield return new ElementValue("requestMethod", RequestMethodElement); - if (RequestURLElement != null) yield return new ElementValue("requestURL", RequestURLElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResponseElement != null) yield return new ElementValue("response", ResponseElement); - if (ResponseCodeElement != null) yield return new ElementValue("responseCode", ResponseCodeElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (StopTestOnFailElement != null) yield return new ElementValue("stopTestOnFail", StopTestOnFailElement); - if (ValidateProfileIdElement != null) yield return new ElementValue("validateProfileId", ValidateProfileIdElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (WarningOnlyElement != null) yield return new ElementValue("warningOnly", WarningOnlyElement); - foreach (var elem in Requirement) { if (elem != null) yield return new ElementValue("requirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5069,26 +4679,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5260,30 +4850,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5420,28 +4986,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5555,26 +5099,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5682,26 +5206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6461,78 +5965,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (VersionAlgorithm != null) yield return VersionAlgorithm; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CopyrightLabelElement != null) yield return CopyrightLabelElement; - foreach (var elem in Origin) { if (elem != null) yield return elem; } - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Metadata != null) yield return Metadata; - foreach (var elem in Scope) { if (elem != null) yield return elem; } - foreach (var elem in Fixture) { if (elem != null) yield return elem; } - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - foreach (var elem in Variable) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (VersionAlgorithm != null) yield return new ElementValue("versionAlgorithm", VersionAlgorithm); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CopyrightLabelElement != null) yield return new ElementValue("copyrightLabel", CopyrightLabelElement); - foreach (var elem in Origin) { if (elem != null) yield return new ElementValue("origin", elem); } - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Metadata != null) yield return new ElementValue("metadata", Metadata); - foreach (var elem in Scope) { if (elem != null) yield return new ElementValue("scope", elem); } - foreach (var elem in Fixture) { if (elem != null) yield return new ElementValue("fixture", elem); } - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Timing.cs b/src/Hl7.Fhir.R5/Model/Generated/Timing.cs index ffc32612f..dc4d68a82 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Timing.cs @@ -845,54 +845,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Bounds != null) yield return Bounds; - if (CountElement != null) yield return CountElement; - if (CountMaxElement != null) yield return CountMaxElement; - if (DurationElement != null) yield return DurationElement; - if (DurationMaxElement != null) yield return DurationMaxElement; - if (DurationUnitElement != null) yield return DurationUnitElement; - if (FrequencyElement != null) yield return FrequencyElement; - if (FrequencyMaxElement != null) yield return FrequencyMaxElement; - if (PeriodElement != null) yield return PeriodElement; - if (PeriodMaxElement != null) yield return PeriodMaxElement; - if (PeriodUnitElement != null) yield return PeriodUnitElement; - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return elem; } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return elem; } - foreach (var elem in WhenElement) { if (elem != null) yield return elem; } - if (OffsetElement != null) yield return OffsetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Bounds != null) yield return new ElementValue("bounds", Bounds); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (CountMaxElement != null) yield return new ElementValue("countMax", CountMaxElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (DurationMaxElement != null) yield return new ElementValue("durationMax", DurationMaxElement); - if (DurationUnitElement != null) yield return new ElementValue("durationUnit", DurationUnitElement); - if (FrequencyElement != null) yield return new ElementValue("frequency", FrequencyElement); - if (FrequencyMaxElement != null) yield return new ElementValue("frequencyMax", FrequencyMaxElement); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (PeriodMaxElement != null) yield return new ElementValue("periodMax", PeriodMaxElement); - if (PeriodUnitElement != null) yield return new ElementValue("periodUnit", PeriodUnitElement); - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return new ElementValue("dayOfWeek", elem); } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return new ElementValue("timeOfDay", elem); } - foreach (var elem in WhenElement) { if (elem != null) yield return new ElementValue("when", elem); } - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1132,30 +1084,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return elem; } - if (Repeat != null) yield return Repeat; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return new ElementValue("event", elem); } - if (Repeat != null) yield return new ElementValue("repeat", Repeat); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/Transport.cs b/src/Hl7.Fhir.R5/Model/Generated/Transport.cs index 247db4d16..ac0145628 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/Transport.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/Transport.cs @@ -293,30 +293,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RepetitionsElement != null) yield return RepetitionsElement; - if (Period != null) yield return Period; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RepetitionsElement != null) yield return new ElementValue("repetitions", RepetitionsElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -457,28 +433,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -612,28 +566,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1438,88 +1370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (InstantiatesCanonicalElement != null) yield return InstantiatesCanonicalElement; - if (InstantiatesUriElement != null) yield return InstantiatesUriElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Focus != null) yield return Focus; - if (For != null) yield return For; - if (Encounter != null) yield return Encounter; - if (CompletionTimeElement != null) yield return CompletionTimeElement; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Requester != null) yield return Requester; - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (Location != null) yield return Location; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - if (Restriction != null) yield return Restriction; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - if (RequestedLocation != null) yield return RequestedLocation; - if (CurrentLocation != null) yield return CurrentLocation; - if (Reason != null) yield return Reason; - if (History != null) yield return History; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (InstantiatesCanonicalElement != null) yield return new ElementValue("instantiatesCanonical", InstantiatesCanonicalElement); - if (InstantiatesUriElement != null) yield return new ElementValue("instantiatesUri", InstantiatesUriElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (For != null) yield return new ElementValue("for", For); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (CompletionTimeElement != null) yield return new ElementValue("completionTime", CompletionTimeElement); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - if (Restriction != null) yield return new ElementValue("restriction", Restriction); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - if (RequestedLocation != null) yield return new ElementValue("requestedLocation", RequestedLocation); - if (CurrentLocation != null) yield return new ElementValue("currentLocation", CurrentLocation); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (History != null) yield return new ElementValue("history", History); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs index 2dc5ae2f0..3b351aaeb 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/TriggerDefinition.cs @@ -330,38 +330,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - if (Code != null) yield return Code; - if (SubscriptionTopicElement != null) yield return SubscriptionTopicElement; - if (Timing != null) yield return Timing; - foreach (var elem in Data) { if (elem != null) yield return elem; } - if (Condition != null) yield return Condition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Code != null) yield return new ElementValue("code", Code); - if (SubscriptionTopicElement != null) yield return new ElementValue("subscriptionTopic", SubscriptionTopicElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - if (Condition != null) yield return new ElementValue("condition", Condition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs b/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs index a2d36e23c..cd8be6a3f 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VerificationResult.cs @@ -300,38 +300,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return elem; } - if (ValidationStatus != null) yield return ValidationStatus; - if (ValidationDateElement != null) yield return ValidationDateElement; - if (CanPushUpdates != null) yield return CanPushUpdates; - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in CommunicationMethod) { if (elem != null) yield return new ElementValue("communicationMethod", elem); } - if (ValidationStatus != null) yield return new ElementValue("validationStatus", ValidationStatus); - if (ValidationDateElement != null) yield return new ElementValue("validationDate", ValidationDateElement); - if (CanPushUpdates != null) yield return new ElementValue("canPushUpdates", CanPushUpdates); - foreach (var elem in PushTypeAvailable) { if (elem != null) yield return new ElementValue("pushTypeAvailable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -647,40 +615,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (CommunicationMethod != null) yield return CommunicationMethod; - if (DateElement != null) yield return DateElement; - if (SourceIdentityCertificateElement != null) yield return SourceIdentityCertificateElement; - if (ProxyIdentityCertificateElement != null) yield return ProxyIdentityCertificateElement; - if (ProxySignature != null) yield return ProxySignature; - if (SourceSignature != null) yield return SourceSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (CommunicationMethod != null) yield return new ElementValue("communicationMethod", CommunicationMethod); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (SourceIdentityCertificateElement != null) yield return new ElementValue("sourceIdentityCertificate", SourceIdentityCertificateElement); - if (ProxyIdentityCertificateElement != null) yield return new ElementValue("proxyIdentityCertificate", ProxyIdentityCertificateElement); - if (ProxySignature != null) yield return new ElementValue("proxySignature", ProxySignature); - if (SourceSignature != null) yield return new ElementValue("sourceSignature", SourceSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -885,30 +819,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Organization != null) yield return Organization; - if (IdentityCertificateElement != null) yield return IdentityCertificateElement; - if (AttestationSignature != null) yield return AttestationSignature; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Organization != null) yield return new ElementValue("organization", Organization); - if (IdentityCertificateElement != null) yield return new ElementValue("identityCertificate", IdentityCertificateElement); - if (AttestationSignature != null) yield return new ElementValue("attestationSignature", AttestationSignature); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1324,52 +1234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return elem; } - if (Need != null) yield return Need; - if (StatusElement != null) yield return StatusElement; - if (StatusDateElement != null) yield return StatusDateElement; - if (ValidationType != null) yield return ValidationType; - foreach (var elem in ValidationProcess) { if (elem != null) yield return elem; } - if (Frequency != null) yield return Frequency; - if (LastPerformedElement != null) yield return LastPerformedElement; - if (NextScheduledElement != null) yield return NextScheduledElement; - if (FailureAction != null) yield return FailureAction; - foreach (var elem in PrimarySource) { if (elem != null) yield return elem; } - if (Attestation != null) yield return Attestation; - foreach (var elem in Validator) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in TargetLocationElement) { if (elem != null) yield return new ElementValue("targetLocation", elem); } - if (Need != null) yield return new ElementValue("need", Need); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (ValidationType != null) yield return new ElementValue("validationType", ValidationType); - foreach (var elem in ValidationProcess) { if (elem != null) yield return new ElementValue("validationProcess", elem); } - if (Frequency != null) yield return new ElementValue("frequency", Frequency); - if (LastPerformedElement != null) yield return new ElementValue("lastPerformed", LastPerformedElement); - if (NextScheduledElement != null) yield return new ElementValue("nextScheduled", NextScheduledElement); - if (FailureAction != null) yield return new ElementValue("failureAction", FailureAction); - foreach (var elem in PrimarySource) { if (elem != null) yield return new ElementValue("primarySource", elem); } - if (Attestation != null) yield return new ElementValue("attestation", Attestation); - foreach (var elem in Validator) { if (elem != null) yield return new ElementValue("validator", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs b/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs index 8f6b1860e..095182b19 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VirtualServiceDetail.cs @@ -233,34 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ChannelType != null) yield return ChannelType; - if (Address != null) yield return Address; - foreach (var elem in AdditionalInfoElement) { if (elem != null) yield return elem; } - if (MaxParticipantsElement != null) yield return MaxParticipantsElement; - if (SessionKeyElement != null) yield return SessionKeyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ChannelType != null) yield return new ElementValue("channelType", ChannelType); - if (Address != null) yield return new ElementValue("address", Address); - foreach (var elem in AdditionalInfoElement) { if (elem != null) yield return new ElementValue("additionalInfo", elem); } - if (MaxParticipantsElement != null) yield return new ElementValue("maxParticipants", MaxParticipantsElement); - if (SessionKeyElement != null) yield return new ElementValue("sessionKey", SessionKeyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs index 8a972006c..87efe3baa 100644 --- a/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.R5/Model/Generated/VisionPrescription.cs @@ -581,52 +581,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (EyeElement != null) yield return EyeElement; - if (SphereElement != null) yield return SphereElement; - if (CylinderElement != null) yield return CylinderElement; - if (AxisElement != null) yield return AxisElement; - foreach (var elem in Prism) { if (elem != null) yield return elem; } - if (AddElement != null) yield return AddElement; - if (PowerElement != null) yield return PowerElement; - if (BackCurveElement != null) yield return BackCurveElement; - if (DiameterElement != null) yield return DiameterElement; - if (Duration != null) yield return Duration; - if (ColorElement != null) yield return ColorElement; - if (BrandElement != null) yield return BrandElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (EyeElement != null) yield return new ElementValue("eye", EyeElement); - if (SphereElement != null) yield return new ElementValue("sphere", SphereElement); - if (CylinderElement != null) yield return new ElementValue("cylinder", CylinderElement); - if (AxisElement != null) yield return new ElementValue("axis", AxisElement); - foreach (var elem in Prism) { if (elem != null) yield return new ElementValue("prism", elem); } - if (AddElement != null) yield return new ElementValue("add", AddElement); - if (PowerElement != null) yield return new ElementValue("power", PowerElement); - if (BackCurveElement != null) yield return new ElementValue("backCurve", BackCurveElement); - if (DiameterElement != null) yield return new ElementValue("diameter", DiameterElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (BrandElement != null) yield return new ElementValue("brand", BrandElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,28 +833,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AmountElement != null) yield return AmountElement; - if (BaseElement != null) yield return BaseElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AmountElement != null) yield return new ElementValue("amount", AmountElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1180,40 +1112,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateWrittenElement != null) yield return DateWrittenElement; - if (Prescriber != null) yield return Prescriber; - foreach (var elem in LensSpecification) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateWrittenElement != null) yield return new ElementValue("dateWritten", DateWrittenElement); - if (Prescriber != null) yield return new ElementValue("prescriber", Prescriber); - foreach (var elem in LensSpecification) { if (elem != null) yield return new ElementValue("lensSpecification", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Account.cs b/src/Hl7.Fhir.STU3/Model/Generated/Account.cs index 39f707f39..975315b70 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Account.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Account.cs @@ -197,28 +197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (PriorityElement != null) yield return PriorityElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -384,30 +362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Party != null) yield return Party; - if (OnHoldElement != null) yield return OnHoldElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Party != null) yield return new ElementValue("party", Party); - if (OnHoldElement != null) yield return new ElementValue("onHold", OnHoldElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -753,48 +707,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (NameElement != null) yield return NameElement; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - if (Active != null) yield return Active; - if (Balance != null) yield return Balance; - foreach (var elem in Coverage) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Guarantor) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - if (Active != null) yield return new ElementValue("active", Active); - if (Balance != null) yield return new ElementValue("balance", Balance); - foreach (var elem in Coverage) { if (elem != null) yield return new ElementValue("coverage", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Guarantor) { if (elem != null) yield return new ElementValue("guarantor", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs index 31ceaff3f..07b2f214a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ActivityDefinition.cs @@ -168,28 +168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -422,32 +400,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (PathElement != null) yield return PathElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1391,92 +1343,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Library) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Location != null) yield return Location; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (Quantity != null) yield return Quantity; - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Transform != null) yield return Transform; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Library) { if (elem != null) yield return new ElementValue("library", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Transform != null) yield return new ElementValue("transform", Transform); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Address.cs b/src/Hl7.Fhir.STU3/Model/Generated/Address.cs index d19920fe1..63ac21f1f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Address.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Address.cs @@ -488,44 +488,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TypeElement != null) yield return TypeElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in LineElement) { if (elem != null) yield return elem; } - if (CityElement != null) yield return CityElement; - if (DistrictElement != null) yield return DistrictElement; - if (StateElement != null) yield return StateElement; - if (PostalCodeElement != null) yield return PostalCodeElement; - if (CountryElement != null) yield return CountryElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in LineElement) { if (elem != null) yield return new ElementValue("line", elem); } - if (CityElement != null) yield return new ElementValue("city", CityElement); - if (DistrictElement != null) yield return new ElementValue("district", DistrictElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (PostalCodeElement != null) yield return new ElementValue("postalCode", PostalCodeElement); - if (CountryElement != null) yield return new ElementValue("country", CountryElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs b/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs index 01f56b611..834bfac15 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AdverseEvent.cs @@ -362,38 +362,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Instance != null) yield return Instance; - if (CausalityElement != null) yield return CausalityElement; - if (CausalityAssessment != null) yield return CausalityAssessment; - if (CausalityProductRelatednessElement != null) yield return CausalityProductRelatednessElement; - if (CausalityMethod != null) yield return CausalityMethod; - if (CausalityAuthor != null) yield return CausalityAuthor; - if (CausalityResult != null) yield return CausalityResult; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Instance != null) yield return new ElementValue("instance", Instance); - if (CausalityElement != null) yield return new ElementValue("causality", CausalityElement); - if (CausalityAssessment != null) yield return new ElementValue("causalityAssessment", CausalityAssessment); - if (CausalityProductRelatednessElement != null) yield return new ElementValue("causalityProductRelatedness", CausalityProductRelatednessElement); - if (CausalityMethod != null) yield return new ElementValue("causalityMethod", CausalityMethod); - if (CausalityAuthor != null) yield return new ElementValue("causalityAuthor", CausalityAuthor); - if (CausalityResult != null) yield return new ElementValue("causalityResult", CausalityResult); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -849,56 +817,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (CategoryElement != null) yield return CategoryElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (DateElement != null) yield return DateElement; - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (Seriousness != null) yield return Seriousness; - if (Outcome != null) yield return Outcome; - if (Recorder != null) yield return Recorder; - if (EventParticipant != null) yield return EventParticipant; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SuspectEntity) { if (elem != null) yield return elem; } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return elem; } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return elem; } - foreach (var elem in Study) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (Seriousness != null) yield return new ElementValue("seriousness", Seriousness); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (EventParticipant != null) yield return new ElementValue("eventParticipant", EventParticipant); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SuspectEntity) { if (elem != null) yield return new ElementValue("suspectEntity", elem); } - foreach (var elem in SubjectMedicalHistory) { if (elem != null) yield return new ElementValue("subjectMedicalHistory", elem); } - foreach (var elem in ReferenceDocument) { if (elem != null) yield return new ElementValue("referenceDocument", elem); } - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs b/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs index 6f278dc1a..0069b3039 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AllergyIntolerance.cs @@ -462,38 +462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Substance != null) yield return Substance; - foreach (var elem in Manifestation) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OnsetElement != null) yield return OnsetElement; - if (SeverityElement != null) yield return SeverityElement; - if (ExposureRoute != null) yield return ExposureRoute; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Substance != null) yield return new ElementValue("substance", Substance); - foreach (var elem in Manifestation) { if (elem != null) yield return new ElementValue("manifestation", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OnsetElement != null) yield return new ElementValue("onset", OnsetElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (ExposureRoute != null) yield return new ElementValue("exposureRoute", ExposureRoute); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1002,54 +970,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatusElement != null) yield return ClinicalStatusElement; - if (VerificationStatusElement != null) yield return VerificationStatusElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in CategoryElement) { if (elem != null) yield return elem; } - if (CriticalityElement != null) yield return CriticalityElement; - if (Code != null) yield return Code; - if (Patient != null) yield return Patient; - if (Onset != null) yield return Onset; - if (AssertedDateElement != null) yield return AssertedDateElement; - if (Recorder != null) yield return Recorder; - if (Asserter != null) yield return Asserter; - if (LastOccurrenceElement != null) yield return LastOccurrenceElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatusElement != null) yield return new ElementValue("clinicalStatus", ClinicalStatusElement); - if (VerificationStatusElement != null) yield return new ElementValue("verificationStatus", VerificationStatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in CategoryElement) { if (elem != null) yield return new ElementValue("category", elem); } - if (CriticalityElement != null) yield return new ElementValue("criticality", CriticalityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (AssertedDateElement != null) yield return new ElementValue("assertedDate", AssertedDateElement); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - if (LastOccurrenceElement != null) yield return new ElementValue("lastOccurrence", LastOccurrenceElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs b/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs index 975fc0ec9..575dd1179 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Annotation.cs @@ -187,30 +187,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Author != null) yield return Author; - if (TimeElement != null) yield return TimeElement; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Author != null) yield return new ElementValue("author", Author); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs b/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs index 1886a3157..f404e496b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Appointment.cs @@ -306,32 +306,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (RequiredElement != null) yield return RequiredElement; - if (StatusElement != null) yield return StatusElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -918,64 +892,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ServiceCategory != null) yield return ServiceCategory; - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Indication) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (MinutesDurationElement != null) yield return MinutesDurationElement; - foreach (var elem in Slot) { if (elem != null) yield return elem; } - if (CreatedElement != null) yield return CreatedElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in IncomingReferral) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ServiceCategory != null) yield return new ElementValue("serviceCategory", ServiceCategory); - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (MinutesDurationElement != null) yield return new ElementValue("minutesDuration", MinutesDurationElement); - foreach (var elem in Slot) { if (elem != null) yield return new ElementValue("slot", elem); } - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in IncomingReferral) { if (elem != null) yield return new ElementValue("incomingReferral", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in RequestedPeriod) { if (elem != null) yield return new ElementValue("requestedPeriod", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs index 0ad577503..7d016b6b1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AppointmentResponse.cs @@ -308,40 +308,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Appointment != null) yield return Appointment; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - foreach (var elem in ParticipantType) { if (elem != null) yield return elem; } - if (Actor != null) yield return Actor; - if (ParticipantStatusElement != null) yield return ParticipantStatusElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Appointment != null) yield return new ElementValue("appointment", Appointment); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - foreach (var elem in ParticipantType) { if (elem != null) yield return new ElementValue("participantType", elem); } - if (Actor != null) yield return new ElementValue("actor", Actor); - if (ParticipantStatusElement != null) yield return new ElementValue("participantStatus", ParticipantStatusElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs b/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs index c0dc62b3a..5f2935a0f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/AuditEvent.cs @@ -490,46 +490,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Reference != null) yield return Reference; - if (UserId != null) yield return UserId; - if (AltIdElement != null) yield return AltIdElement; - if (NameElement != null) yield return NameElement; - if (RequestorElement != null) yield return RequestorElement; - if (Location != null) yield return Location; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Media != null) yield return Media; - if (Network != null) yield return Network; - foreach (var elem in PurposeOfUse) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Reference != null) yield return new ElementValue("reference", Reference); - if (UserId != null) yield return new ElementValue("userId", UserId); - if (AltIdElement != null) yield return new ElementValue("altId", AltIdElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (RequestorElement != null) yield return new ElementValue("requestor", RequestorElement); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Media != null) yield return new ElementValue("media", Media); - if (Network != null) yield return new ElementValue("network", Network); - foreach (var elem in PurposeOfUse) { if (elem != null) yield return new ElementValue("purposeOfUse", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -759,28 +719,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AddressElement != null) yield return AddressElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -947,30 +885,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SiteElement != null) yield return SiteElement; - if (Identifier != null) yield return Identifier; - foreach (var elem in Type) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SiteElement != null) yield return new ElementValue("site", SiteElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1297,44 +1211,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Reference != null) yield return Reference; - if (Type != null) yield return Type; - if (Role != null) yield return Role; - if (Lifecycle != null) yield return Lifecycle; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (QueryElement != null) yield return QueryElement; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Type != null) yield return new ElementValue("type", Type); - if (Role != null) yield return new ElementValue("role", Role); - if (Lifecycle != null) yield return new ElementValue("lifecycle", Lifecycle); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (QueryElement != null) yield return new ElementValue("query", QueryElement); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1557,28 +1433,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1905,44 +1759,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - foreach (var elem in Subtype) { if (elem != null) yield return elem; } - if (ActionElement != null) yield return ActionElement; - if (RecordedElement != null) yield return RecordedElement; - if (OutcomeElement != null) yield return OutcomeElement; - if (OutcomeDescElement != null) yield return OutcomeDescElement; - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Entity) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Subtype) { if (elem != null) yield return new ElementValue("subtype", elem); } - if (ActionElement != null) yield return new ElementValue("action", ActionElement); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - if (OutcomeElement != null) yield return new ElementValue("outcome", OutcomeElement); - if (OutcomeDescElement != null) yield return new ElementValue("outcomeDesc", OutcomeDescElement); - foreach (var elem in PurposeOfEvent) { if (elem != null) yield return new ElementValue("purposeOfEvent", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs b/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs index 8670fc289..6bbe5af35 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Basic.cs @@ -205,34 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs b/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs index e6ce1480c..092fbea24 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/BodySite.cs @@ -256,38 +256,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Code != null) yield return Code; - foreach (var elem in Qualifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Qualifier) { if (elem != null) yield return new ElementValue("qualifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs index 3a5a54362..b5a32b1c4 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CapabilityStatement.cs @@ -573,30 +573,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (VersionElement != null) yield return VersionElement; - if (ReleaseDateElement != null) yield return ReleaseDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (ReleaseDateElement != null) yield return new ElementValue("releaseDate", ReleaseDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -771,28 +747,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1080,40 +1034,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (Security != null) yield return Security; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - foreach (var elem in Interaction) { if (elem != null) yield return elem; } - foreach (var elem in SearchParam) { if (elem != null) yield return elem; } - foreach (var elem in Operation) { if (elem != null) yield return elem; } - foreach (var elem in CompartmentElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (Security != null) yield return new ElementValue("security", Security); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - foreach (var elem in Interaction) { if (elem != null) yield return new ElementValue("interaction", elem); } - foreach (var elem in SearchParam) { if (elem != null) yield return new ElementValue("searchParam", elem); } - foreach (var elem in Operation) { if (elem != null) yield return new ElementValue("operation", elem); } - foreach (var elem in CompartmentElement) { if (elem != null) yield return new ElementValue("compartment", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1355,32 +1275,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CorsElement != null) yield return CorsElement; - foreach (var elem in Service) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Certificate) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CorsElement != null) yield return new ElementValue("cors", CorsElement); - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Certificate) { if (elem != null) yield return new ElementValue("certificate", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1557,28 +1451,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (BlobElement != null) yield return BlobElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (BlobElement != null) yield return new ElementValue("blob", BlobElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2150,54 +2022,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Profile != null) yield return Profile; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Interaction) { if (elem != null) yield return elem; } - if (VersioningElement != null) yield return VersioningElement; - if (ReadHistoryElement != null) yield return ReadHistoryElement; - if (UpdateCreateElement != null) yield return UpdateCreateElement; - if (ConditionalCreateElement != null) yield return ConditionalCreateElement; - if (ConditionalReadElement != null) yield return ConditionalReadElement; - if (ConditionalUpdateElement != null) yield return ConditionalUpdateElement; - if (ConditionalDeleteElement != null) yield return ConditionalDeleteElement; - foreach (var elem in ReferencePolicyElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchIncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchRevIncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in SearchParam) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Interaction) { if (elem != null) yield return new ElementValue("interaction", elem); } - if (VersioningElement != null) yield return new ElementValue("versioning", VersioningElement); - if (ReadHistoryElement != null) yield return new ElementValue("readHistory", ReadHistoryElement); - if (UpdateCreateElement != null) yield return new ElementValue("updateCreate", UpdateCreateElement); - if (ConditionalCreateElement != null) yield return new ElementValue("conditionalCreate", ConditionalCreateElement); - if (ConditionalReadElement != null) yield return new ElementValue("conditionalRead", ConditionalReadElement); - if (ConditionalUpdateElement != null) yield return new ElementValue("conditionalUpdate", ConditionalUpdateElement); - if (ConditionalDeleteElement != null) yield return new ElementValue("conditionalDelete", ConditionalDeleteElement); - foreach (var elem in ReferencePolicyElement) { if (elem != null) yield return new ElementValue("referencePolicy", elem); } - foreach (var elem in SearchIncludeElement) { if (elem != null) yield return new ElementValue("searchInclude", elem); } - foreach (var elem in SearchRevIncludeElement) { if (elem != null) yield return new ElementValue("searchRevInclude", elem); } - foreach (var elem in SearchParam) { if (elem != null) yield return new ElementValue("searchParam", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2456,28 +2280,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2714,32 +2516,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TypeElement != null) yield return TypeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2921,28 +2697,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3093,28 +2847,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Definition != null) yield return Definition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3331,34 +3063,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (ReliableCacheElement != null) yield return ReliableCacheElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in SupportedMessage) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (ReliableCacheElement != null) yield return new ElementValue("reliableCache", ReliableCacheElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in SupportedMessage) { if (elem != null) yield return new ElementValue("supportedMessage", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3529,28 +3233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Protocol != null) yield return Protocol; - if (AddressElement != null) yield return AddressElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Protocol != null) yield return new ElementValue("protocol", Protocol); - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3704,28 +3386,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (Definition != null) yield return Definition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4023,38 +3683,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (CategoryElement != null) yield return CategoryElement; - if (ModeElement != null) yield return ModeElement; - if (FocusElement != null) yield return FocusElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (FocusElement != null) yield return new ElementValue("focus", FocusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4276,30 +3904,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5170,78 +4774,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (KindElement != null) yield return KindElement; - foreach (var elem in InstantiatesElement) { if (elem != null) yield return elem; } - if (Software != null) yield return Software; - if (Implementation != null) yield return Implementation; - if (FhirVersionElement != null) yield return FhirVersionElement; - if (AcceptUnknownElement != null) yield return AcceptUnknownElement; - foreach (var elem in FormatElement) { if (elem != null) yield return elem; } - foreach (var elem in PatchFormatElement) { if (elem != null) yield return elem; } - foreach (var elem in ImplementationGuideElement) { if (elem != null) yield return elem; } - foreach (var elem in Profile) { if (elem != null) yield return elem; } - foreach (var elem in Rest) { if (elem != null) yield return elem; } - foreach (var elem in Messaging) { if (elem != null) yield return elem; } - foreach (var elem in Document) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in InstantiatesElement) { if (elem != null) yield return new ElementValue("instantiates", elem); } - if (Software != null) yield return new ElementValue("software", Software); - if (Implementation != null) yield return new ElementValue("implementation", Implementation); - if (FhirVersionElement != null) yield return new ElementValue("fhirVersion", FhirVersionElement); - if (AcceptUnknownElement != null) yield return new ElementValue("acceptUnknown", AcceptUnknownElement); - foreach (var elem in FormatElement) { if (elem != null) yield return new ElementValue("format", elem); } - foreach (var elem in PatchFormatElement) { if (elem != null) yield return new ElementValue("patchFormat", elem); } - foreach (var elem in ImplementationGuideElement) { if (elem != null) yield return new ElementValue("implementationGuide", elem); } - foreach (var elem in Profile) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Rest) { if (elem != null) yield return new ElementValue("rest", elem); } - foreach (var elem in Messaging) { if (elem != null) yield return new ElementValue("messaging", elem); } - foreach (var elem in Document) { if (elem != null) yield return new ElementValue("document", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs b/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs index c5791f522..8528d29b7 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CarePlan.cs @@ -340,34 +340,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - foreach (var elem in Progress) { if (elem != null) yield return elem; } - if (Reference != null) yield return Reference; - if (Detail != null) yield return Detail; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in OutcomeCodeableConcept) { if (elem != null) yield return new ElementValue("outcomeCodeableConcept", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - foreach (var elem in Progress) { if (elem != null) yield return new ElementValue("progress", elem); } - if (Reference != null) yield return new ElementValue("reference", Reference); - if (Detail != null) yield return new ElementValue("detail", Detail); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -839,56 +811,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Definition != null) yield return Definition; - if (Code != null) yield return Code; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReasonElement != null) yield return StatusReasonElement; - if (ProhibitedElement != null) yield return ProhibitedElement; - if (Scheduled != null) yield return Scheduled; - if (Location != null) yield return Location; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Product != null) yield return Product; - if (DailyAmount != null) yield return DailyAmount; - if (Quantity != null) yield return Quantity; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReasonElement != null) yield return new ElementValue("statusReason", StatusReasonElement); - if (ProhibitedElement != null) yield return new ElementValue("prohibited", ProhibitedElement); - if (Scheduled != null) yield return new ElementValue("scheduled", Scheduled); - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Product != null) yield return new ElementValue("product", Product); - if (DailyAmount != null) yield return new ElementValue("dailyAmount", DailyAmount); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1504,64 +1426,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Period != null) yield return Period; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Activity) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Activity) { if (elem != null) yield return new ElementValue("activity", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs b/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs index a1f634cd2..5539617f3 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CareTeam.cs @@ -223,32 +223,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Member != null) yield return Member; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Member != null) yield return new ElementValue("member", Member); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -592,48 +566,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Period != null) yield return Period; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in ManagingOrganization) { if (elem != null) yield return new ElementValue("managingOrganization", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs b/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs index d0d4eb10f..ca7d4f014 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ChargeItem.cs @@ -202,28 +202,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -801,70 +779,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in DefinitionElement) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (PerformingOrganization != null) yield return PerformingOrganization; - if (RequestingOrganization != null) yield return RequestingOrganization; - if (Quantity != null) yield return Quantity; - foreach (var elem in Bodysite) { if (elem != null) yield return elem; } - if (FactorOverrideElement != null) yield return FactorOverrideElement; - if (PriceOverride != null) yield return PriceOverride; - if (OverrideReasonElement != null) yield return OverrideReasonElement; - if (Enterer != null) yield return Enterer; - if (EnteredDateElement != null) yield return EnteredDateElement; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Service) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in DefinitionElement) { if (elem != null) yield return new ElementValue("definition", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (PerformingOrganization != null) yield return new ElementValue("performingOrganization", PerformingOrganization); - if (RequestingOrganization != null) yield return new ElementValue("requestingOrganization", RequestingOrganization); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - foreach (var elem in Bodysite) { if (elem != null) yield return new ElementValue("bodysite", elem); } - if (FactorOverrideElement != null) yield return new ElementValue("factorOverride", FactorOverrideElement); - if (PriceOverride != null) yield return new ElementValue("priceOverride", PriceOverride); - if (OverrideReasonElement != null) yield return new ElementValue("overrideReason", OverrideReasonElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (EnteredDateElement != null) yield return new ElementValue("enteredDate", EnteredDateElement); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Service) { if (elem != null) yield return new ElementValue("service", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs b/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs index c3994007c..e04d6be5c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Claim.cs @@ -199,30 +199,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -379,30 +355,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceType != null) yield return ResourceType; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceType != null) yield return new ElementValue("resourceType", ResourceType); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -628,34 +580,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -897,36 +821,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1142,32 +1036,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1368,30 +1236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1671,36 +1515,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1900,30 +1714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2499,66 +2289,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationLinkIdElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamLinkIdElement) { if (elem != null) yield return new ElementValue("careTeamLinkId", elem); } - foreach (var elem in DiagnosisLinkIdElement) { if (elem != null) yield return new ElementValue("diagnosisLinkId", elem); } - foreach (var elem in ProcedureLinkIdElement) { if (elem != null) yield return new ElementValue("procedureLinkId", elem); } - foreach (var elem in InformationLinkIdElement) { if (elem != null) yield return new ElementValue("informationLinkId", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3028,48 +2758,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3459,46 +3147,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4213,84 +3861,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - if (UseElement != null) yield return UseElement; - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (Priority != null) yield return Priority; - if (FundsReserve != null) yield return FundsReserve; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Information) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Accident != null) yield return Accident; - if (EmploymentImpacted != null) yield return EmploymentImpacted; - if (Hospitalization != null) yield return Hospitalization; - foreach (var elem in Item) { if (elem != null) yield return elem; } - if (Total != null) yield return Total; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (FundsReserve != null) yield return new ElementValue("fundsReserve", FundsReserve); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Information) { if (elem != null) yield return new ElementValue("information", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Accident != null) yield return new ElementValue("accident", Accident); - if (EmploymentImpacted != null) yield return new ElementValue("employmentImpacted", EmploymentImpacted); - if (Hospitalization != null) yield return new ElementValue("hospitalization", Hospitalization); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - if (Total != null) yield return new ElementValue("total", Total); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs index 75bf17d37..98e344e2f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ClaimResponse.cs @@ -218,32 +218,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceLinkIdElement != null) yield return SequenceLinkIdElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceLinkIdElement != null) yield return new ElementValue("sequenceLinkId", SequenceLinkIdElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -439,32 +413,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -679,32 +627,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceLinkIdElement != null) yield return SequenceLinkIdElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceLinkIdElement != null) yield return new ElementValue("sequenceLinkId", SequenceLinkIdElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -902,30 +824,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceLinkIdElement != null) yield return SequenceLinkIdElement; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceLinkIdElement != null) yield return new ElementValue("sequenceLinkId", SequenceLinkIdElement); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1218,42 +1116,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in SequenceLinkIdElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Fee != null) yield return Fee; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in SequenceLinkIdElement) { if (elem != null) yield return new ElementValue("sequenceLinkId", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Fee != null) yield return new ElementValue("fee", Fee); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1536,38 +1398,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Fee != null) yield return Fee; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Fee != null) yield return new ElementValue("fee", Fee); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1819,32 +1649,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceLinkIdElement != null) yield return SequenceLinkIdElement; - if (DetailSequenceLinkIdElement != null) yield return DetailSequenceLinkIdElement; - if (SubdetailSequenceLinkIdElement != null) yield return SubdetailSequenceLinkIdElement; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceLinkIdElement != null) yield return new ElementValue("sequenceLinkId", SequenceLinkIdElement); - if (DetailSequenceLinkIdElement != null) yield return new ElementValue("detailSequenceLinkId", DetailSequenceLinkIdElement); - if (SubdetailSequenceLinkIdElement != null) yield return new ElementValue("subdetailSequenceLinkId", SubdetailSequenceLinkIdElement); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2071,36 +1875,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2327,32 +2101,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2639,36 +2387,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (FocalElement != null) yield return FocalElement; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - if (ClaimResponse != null) yield return ClaimResponse; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (FocalElement != null) yield return new ElementValue("focal", FocalElement); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3226,70 +2944,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (RequestProvider != null) yield return RequestProvider; - if (RequestOrganization != null) yield return RequestOrganization; - if (Request != null) yield return Request; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - if (PayeeType != null) yield return PayeeType; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - foreach (var elem in Error) { if (elem != null) yield return elem; } - if (TotalCost != null) yield return TotalCost; - if (UnallocDeductable != null) yield return UnallocDeductable; - if (TotalBenefit != null) yield return TotalBenefit; - if (Payment != null) yield return Payment; - if (Reserved != null) yield return Reserved; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return elem; } - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - if (RequestOrganization != null) yield return new ElementValue("requestOrganization", RequestOrganization); - if (Request != null) yield return new ElementValue("request", Request); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (PayeeType != null) yield return new ElementValue("payeeType", PayeeType); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - if (TotalCost != null) yield return new ElementValue("totalCost", TotalCost); - if (UnallocDeductable != null) yield return new ElementValue("unallocDeductable", UnallocDeductable); - if (TotalBenefit != null) yield return new ElementValue("totalBenefit", TotalBenefit); - if (Payment != null) yield return new ElementValue("payment", Payment); - if (Reserved != null) yield return new ElementValue("reserved", Reserved); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return new ElementValue("communicationRequest", elem); } - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs b/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs index 1bd810306..24ba54b35 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ClinicalImpression.cs @@ -179,28 +179,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -352,28 +330,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (BasisElement != null) yield return BasisElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (BasisElement != null) yield return new ElementValue("basis", BasisElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -881,62 +837,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Effective != null) yield return Effective; - if (DateElement != null) yield return DateElement; - if (Assessor != null) yield return Assessor; - if (Previous != null) yield return Previous; - foreach (var elem in Problem) { if (elem != null) yield return elem; } - foreach (var elem in Investigation) { if (elem != null) yield return elem; } - foreach (var elem in ProtocolElement) { if (elem != null) yield return elem; } - if (SummaryElement != null) yield return SummaryElement; - foreach (var elem in Finding) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return elem; } - foreach (var elem in PrognosisReference) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Assessor != null) yield return new ElementValue("assessor", Assessor); - if (Previous != null) yield return new ElementValue("previous", Previous); - foreach (var elem in Problem) { if (elem != null) yield return new ElementValue("problem", elem); } - foreach (var elem in Investigation) { if (elem != null) yield return new ElementValue("investigation", elem); } - foreach (var elem in ProtocolElement) { if (elem != null) yield return new ElementValue("protocol", elem); } - if (SummaryElement != null) yield return new ElementValue("summary", SummaryElement); - foreach (var elem in Finding) { if (elem != null) yield return new ElementValue("finding", elem); } - foreach (var elem in PrognosisCodeableConcept) { if (elem != null) yield return new ElementValue("prognosisCodeableConcept", elem); } - foreach (var elem in PrognosisReference) { if (elem != null) yield return new ElementValue("prognosisReference", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs b/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs index efbef01c2..7865b2900 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CodeSystem.cs @@ -369,32 +369,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OperatorElement) { if (elem != null) yield return elem; } - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OperatorElement) { if (elem != null) yield return new ElementValue("operator", elem); } - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,32 +619,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (UriElement != null) yield return UriElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -936,36 +884,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Concept) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1177,30 +1095,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1358,28 +1252,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2201,74 +2073,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (CaseSensitiveElement != null) yield return CaseSensitiveElement; - if (ValueSetElement != null) yield return ValueSetElement; - if (HierarchyMeaningElement != null) yield return HierarchyMeaningElement; - if (CompositionalElement != null) yield return CompositionalElement; - if (VersionNeededElement != null) yield return VersionNeededElement; - if (ContentElement != null) yield return ContentElement; - if (CountElement != null) yield return CountElement; - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in Property) { if (elem != null) yield return elem; } - foreach (var elem in Concept) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (CaseSensitiveElement != null) yield return new ElementValue("caseSensitive", CaseSensitiveElement); - if (ValueSetElement != null) yield return new ElementValue("valueSet", ValueSetElement); - if (HierarchyMeaningElement != null) yield return new ElementValue("hierarchyMeaning", HierarchyMeaningElement); - if (CompositionalElement != null) yield return new ElementValue("compositional", CompositionalElement); - if (VersionNeededElement != null) yield return new ElementValue("versionNeeded", VersionNeededElement); - if (ContentElement != null) yield return new ElementValue("content", ContentElement); - if (CountElement != null) yield return new ElementValue("count", CountElement); - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in Property) { if (elem != null) yield return new ElementValue("property", elem); } - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs b/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs index 933e659d5..0f781c80c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Communication.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -658,64 +638,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NotDoneElement != null) yield return NotDoneElement; - if (NotDoneReason != null) yield return NotDoneReason; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - if (SentElement != null) yield return SentElement; - if (ReceivedElement != null) yield return ReceivedElement; - if (Sender != null) yield return Sender; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Payload) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NotDoneElement != null) yield return new ElementValue("notDone", NotDoneElement); - if (NotDoneReason != null) yield return new ElementValue("notDoneReason", NotDoneReason); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - if (Context != null) yield return new ElementValue("context", Context); - if (SentElement != null) yield return new ElementValue("sent", SentElement); - if (ReceivedElement != null) yield return new ElementValue("received", ReceivedElement); - if (Sender != null) yield return new ElementValue("sender", Sender); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs index 82e5d87c7..39c4d6d7e 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CommunicationRequest.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -280,28 +260,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -795,64 +753,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in Medium) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - foreach (var elem in Payload) { if (elem != null) yield return elem; } - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Sender != null) yield return Sender; - if (Requester != null) yield return Requester; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in Medium) { if (elem != null) yield return new ElementValue("medium", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in Payload) { if (elem != null) yield return new ElementValue("payload", elem); } - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Sender != null) yield return new ElementValue("sender", Sender); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs index 2041c9139..700301121 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/CompartmentDefinition.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in ParamElement) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in ParamElement) { if (elem != null) yield return new ElementValue("param", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -784,54 +760,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CodeElement != null) yield return CodeElement; - if (SearchElement != null) yield return SearchElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (SearchElement != null) yield return new ElementValue("search", SearchElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs b/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs index 881c11b1b..ffa161548 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Composition.cs @@ -302,30 +302,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ModeElement) { if (elem != null) yield return elem; } - if (TimeElement != null) yield return TimeElement; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ModeElement) { if (elem != null) yield return new ElementValue("mode", elem); } - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -487,28 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -659,30 +613,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -959,40 +889,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - if (Text != null) yield return Text; - if (ModeElement != null) yield return ModeElement; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Text != null) yield return new ElementValue("text", Text); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1453,54 +1349,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Class != null) yield return Class; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - if (ConfidentialityElement != null) yield return ConfidentialityElement; - foreach (var elem in Attester) { if (elem != null) yield return elem; } - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - foreach (var elem in Event) { if (elem != null) yield return elem; } - foreach (var elem in Section) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Class != null) yield return new ElementValue("class", Class); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (ConfidentialityElement != null) yield return new ElementValue("confidentiality", ConfidentialityElement); - foreach (var elem in Attester) { if (elem != null) yield return new ElementValue("attester", elem); } - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - foreach (var elem in Section) { if (elem != null) yield return new ElementValue("section", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs b/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs index 18cbfcf66..255a33706 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ConceptMap.cs @@ -381,36 +381,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (SourceVersionElement != null) yield return SourceVersionElement; - if (TargetElement != null) yield return TargetElement; - if (TargetVersionElement != null) yield return TargetVersionElement; - foreach (var elem in Element) { if (elem != null) yield return elem; } - if (Unmapped != null) yield return Unmapped; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (SourceVersionElement != null) yield return new ElementValue("sourceVersion", SourceVersionElement); - if (TargetElement != null) yield return new ElementValue("target", TargetElement); - if (TargetVersionElement != null) yield return new ElementValue("targetVersion", TargetVersionElement); - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - if (Unmapped != null) yield return new ElementValue("unmapped", Unmapped); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -621,30 +591,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -921,36 +867,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (EquivalenceElement != null) yield return EquivalenceElement; - if (CommentElement != null) yield return CommentElement; - foreach (var elem in DependsOn) { if (elem != null) yield return elem; } - foreach (var elem in Product) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (EquivalenceElement != null) yield return new ElementValue("equivalence", EquivalenceElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - foreach (var elem in DependsOn) { if (elem != null) yield return new ElementValue("dependsOn", elem); } - foreach (var elem in Product) { if (elem != null) yield return new ElementValue("product", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1213,32 +1129,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PropertyElement != null) yield return PropertyElement; - if (SystemElement != null) yield return SystemElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PropertyElement != null) yield return new ElementValue("property", PropertyElement); - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1489,32 +1379,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ModeElement != null) yield return ModeElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2111,60 +1975,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (Source != null) yield return Source; - if (Target != null) yield return Target; - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Target != null) yield return new ElementValue("target", Target); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs b/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs index d92a064a5..8198e7fc3 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Condition.cs @@ -236,28 +236,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Summary != null) yield return Summary; - foreach (var elem in Assessment) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Summary != null) yield return new ElementValue("summary", Summary); - foreach (var elem in Assessment) { if (elem != null) yield return new ElementValue("assessment", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -392,28 +370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -830,56 +786,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ClinicalStatusElement != null) yield return ClinicalStatusElement; - if (VerificationStatusElement != null) yield return VerificationStatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Severity != null) yield return Severity; - if (Code != null) yield return Code; - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Onset != null) yield return Onset; - if (Abatement != null) yield return Abatement; - if (AssertedDateElement != null) yield return AssertedDateElement; - if (Asserter != null) yield return Asserter; - if (Stage != null) yield return Stage; - foreach (var elem in Evidence) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ClinicalStatusElement != null) yield return new ElementValue("clinicalStatus", ClinicalStatusElement); - if (VerificationStatusElement != null) yield return new ElementValue("verificationStatus", VerificationStatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Severity != null) yield return new ElementValue("severity", Severity); - if (Code != null) yield return new ElementValue("code", Code); - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Onset != null) yield return new ElementValue("onset", Onset); - if (Abatement != null) yield return new ElementValue("abatement", Abatement); - if (AssertedDateElement != null) yield return new ElementValue("assertedDate", AssertedDateElement); - if (Asserter != null) yield return new ElementValue("asserter", Asserter); - if (Stage != null) yield return new ElementValue("stage", Stage); - foreach (var elem in Evidence) { if (elem != null) yield return new ElementValue("evidence", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs b/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs index 805209492..95015f1c0 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Consent.cs @@ -254,28 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -440,28 +418,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AuthorityElement != null) yield return AuthorityElement; - if (UriElement != null) yield return UriElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AuthorityElement != null) yield return new ElementValue("authority", AuthorityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -614,28 +570,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -925,44 +859,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Period != null) yield return Period; - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - foreach (var elem in Class) { if (elem != null) yield return elem; } - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (DataPeriod != null) yield return DataPeriod; - foreach (var elem in Data) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - foreach (var elem in Class) { if (elem != null) yield return new ElementValue("class", elem); } - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (DataPeriod != null) yield return new ElementValue("dataPeriod", DataPeriod); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1152,28 +1048,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1326,28 +1200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MeaningElement != null) yield return MeaningElement; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MeaningElement != null) yield return new ElementValue("meaning", MeaningElement); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1799,60 +1651,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Period != null) yield return Period; - if (DateTimeElement != null) yield return DateTimeElement; - foreach (var elem in ConsentingParty) { if (elem != null) yield return elem; } - foreach (var elem in Actor) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in Organization) { if (elem != null) yield return elem; } - if (Source != null) yield return Source; - foreach (var elem in Policy) { if (elem != null) yield return elem; } - if (PolicyRuleElement != null) yield return PolicyRuleElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Purpose) { if (elem != null) yield return elem; } - if (DataPeriod != null) yield return DataPeriod; - foreach (var elem in Data) { if (elem != null) yield return elem; } - foreach (var elem in Except) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Period != null) yield return new ElementValue("period", Period); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - foreach (var elem in ConsentingParty) { if (elem != null) yield return new ElementValue("consentingParty", elem); } - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in Organization) { if (elem != null) yield return new ElementValue("organization", elem); } - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Policy) { if (elem != null) yield return new ElementValue("policy", elem); } - if (PolicyRuleElement != null) yield return new ElementValue("policyRule", PolicyRuleElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Purpose) { if (elem != null) yield return new ElementValue("purpose", elem); } - if (DataPeriod != null) yield return new ElementValue("dataPeriod", DataPeriod); - foreach (var elem in Data) { if (elem != null) yield return new ElementValue("data", elem); } - foreach (var elem in Except) { if (elem != null) yield return new ElementValue("except", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs b/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs index 7cfda6d20..e1f90fdab 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Contract.cs @@ -253,28 +253,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Actor != null) yield return Actor; - foreach (var elem in Role) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Actor != null) yield return new ElementValue("actor", Actor); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -427,30 +405,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Party != null) yield return Party; - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Party != null) yield return new ElementValue("party", Party); - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -736,40 +690,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Identifier != null) yield return Identifier; - if (EffectiveTimeElement != null) yield return EffectiveTimeElement; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (PointsElement != null) yield return PointsElement; - if (Net != null) yield return Net; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (EffectiveTimeElement != null) yield return new ElementValue("effectiveTime", EffectiveTimeElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (PointsElement != null) yield return new ElementValue("points", PointsElement); - if (Net != null) yield return new ElementValue("net", Net); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1166,50 +1086,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - if (Type != null) yield return Type; - if (SubType != null) yield return SubType; - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in ActionReason) { if (elem != null) yield return elem; } - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - if (TextElement != null) yield return TextElement; - foreach (var elem in ValuedItem) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - if (Type != null) yield return new ElementValue("type", Type); - if (SubType != null) yield return new ElementValue("subType", SubType); - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in ActionReason) { if (elem != null) yield return new ElementValue("actionReason", elem); } - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in ValuedItem) { if (elem != null) yield return new ElementValue("valuedItem", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1422,28 +1298,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Actor != null) yield return Actor; - foreach (var elem in Role) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Actor != null) yield return new ElementValue("actor", Actor); - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1725,40 +1579,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Identifier != null) yield return Identifier; - if (EffectiveTimeElement != null) yield return EffectiveTimeElement; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (PointsElement != null) yield return PointsElement; - if (Net != null) yield return Net; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (EffectiveTimeElement != null) yield return new ElementValue("effectiveTime", EffectiveTimeElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (PointsElement != null) yield return new ElementValue("points", PointsElement); - if (Net != null) yield return new ElementValue("net", Net); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1917,26 +1737,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2046,26 +1846,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2175,26 +1955,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Content != null) yield return Content; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Content != null) yield return new ElementValue("content", Content); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2709,70 +2469,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (IssuedElement != null) yield return IssuedElement; - if (Applies != null) yield return Applies; - foreach (var elem in Subject) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Authority) { if (elem != null) yield return elem; } - foreach (var elem in Domain) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - foreach (var elem in ActionReason) { if (elem != null) yield return elem; } - if (DecisionType != null) yield return DecisionType; - if (ContentDerivative != null) yield return ContentDerivative; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Agent) { if (elem != null) yield return elem; } - foreach (var elem in Signer) { if (elem != null) yield return elem; } - foreach (var elem in ValuedItem) { if (elem != null) yield return elem; } - foreach (var elem in Term) { if (elem != null) yield return elem; } - if (Binding != null) yield return Binding; - foreach (var elem in Friendly) { if (elem != null) yield return elem; } - foreach (var elem in Legal) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - if (Applies != null) yield return new ElementValue("applies", Applies); - foreach (var elem in Subject) { if (elem != null) yield return new ElementValue("subject", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Authority) { if (elem != null) yield return new ElementValue("authority", elem); } - foreach (var elem in Domain) { if (elem != null) yield return new ElementValue("domain", elem); } - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - foreach (var elem in ActionReason) { if (elem != null) yield return new ElementValue("actionReason", elem); } - if (DecisionType != null) yield return new ElementValue("decisionType", DecisionType); - if (ContentDerivative != null) yield return new ElementValue("contentDerivative", ContentDerivative); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - foreach (var elem in Signer) { if (elem != null) yield return new ElementValue("signer", elem); } - foreach (var elem in ValuedItem) { if (elem != null) yield return new ElementValue("valuedItem", elem); } - foreach (var elem in Term) { if (elem != null) yield return new ElementValue("term", elem); } - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in Friendly) { if (elem != null) yield return new ElementValue("friendly", elem); } - foreach (var elem in Legal) { if (elem != null) yield return new ElementValue("legal", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs b/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs index befc1709c..b47461803 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Contributor.cs @@ -221,30 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (NameElement != null) yield return NameElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs index 3f00d9d1c..79ba0f837 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Coverage.cs @@ -522,48 +522,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (GroupElement != null) yield return GroupElement; - if (GroupDisplayElement != null) yield return GroupDisplayElement; - if (SubGroupElement != null) yield return SubGroupElement; - if (SubGroupDisplayElement != null) yield return SubGroupDisplayElement; - if (PlanElement != null) yield return PlanElement; - if (PlanDisplayElement != null) yield return PlanDisplayElement; - if (SubPlanElement != null) yield return SubPlanElement; - if (SubPlanDisplayElement != null) yield return SubPlanDisplayElement; - if (ClassElement != null) yield return ClassElement; - if (ClassDisplayElement != null) yield return ClassDisplayElement; - if (SubClassElement != null) yield return SubClassElement; - if (SubClassDisplayElement != null) yield return SubClassDisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (GroupElement != null) yield return new ElementValue("group", GroupElement); - if (GroupDisplayElement != null) yield return new ElementValue("groupDisplay", GroupDisplayElement); - if (SubGroupElement != null) yield return new ElementValue("subGroup", SubGroupElement); - if (SubGroupDisplayElement != null) yield return new ElementValue("subGroupDisplay", SubGroupDisplayElement); - if (PlanElement != null) yield return new ElementValue("plan", PlanElement); - if (PlanDisplayElement != null) yield return new ElementValue("planDisplay", PlanDisplayElement); - if (SubPlanElement != null) yield return new ElementValue("subPlan", SubPlanElement); - if (SubPlanDisplayElement != null) yield return new ElementValue("subPlanDisplay", SubPlanDisplayElement); - if (ClassElement != null) yield return new ElementValue("class", ClassElement); - if (ClassDisplayElement != null) yield return new ElementValue("classDisplay", ClassDisplayElement); - if (SubClassElement != null) yield return new ElementValue("subClass", SubClassElement); - if (SubClassDisplayElement != null) yield return new ElementValue("subClassDisplay", SubClassDisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1097,56 +1055,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (PolicyHolder != null) yield return PolicyHolder; - if (Subscriber != null) yield return Subscriber; - if (SubscriberIdElement != null) yield return SubscriberIdElement; - if (Beneficiary != null) yield return Beneficiary; - if (Relationship != null) yield return Relationship; - if (Period != null) yield return Period; - foreach (var elem in Payor) { if (elem != null) yield return elem; } - if (Grouping != null) yield return Grouping; - if (DependentElement != null) yield return DependentElement; - if (SequenceElement != null) yield return SequenceElement; - if (OrderElement != null) yield return OrderElement; - if (NetworkElement != null) yield return NetworkElement; - foreach (var elem in Contract) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PolicyHolder != null) yield return new ElementValue("policyHolder", PolicyHolder); - if (Subscriber != null) yield return new ElementValue("subscriber", Subscriber); - if (SubscriberIdElement != null) yield return new ElementValue("subscriberId", SubscriberIdElement); - if (Beneficiary != null) yield return new ElementValue("beneficiary", Beneficiary); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Payor) { if (elem != null) yield return new ElementValue("payor", elem); } - if (Grouping != null) yield return new ElementValue("grouping", Grouping); - if (DependentElement != null) yield return new ElementValue("dependent", DependentElement); - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (OrderElement != null) yield return new ElementValue("order", OrderElement); - if (NetworkElement != null) yield return new ElementValue("network", NetworkElement); - foreach (var elem in Contract) { if (elem != null) yield return new ElementValue("contract", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs index 6f3af33ff..7cfe7006b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DataElement.cs @@ -298,32 +298,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentityElement != null) yield return IdentityElement; - if (UriElement != null) yield return UriElement; - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentityElement != null) yield return new ElementValue("identity", IdentityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -868,56 +842,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (StringencyElement != null) yield return StringencyElement; - foreach (var elem in Mapping) { if (elem != null) yield return elem; } - foreach (var elem in Element) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (StringencyElement != null) yield return new ElementValue("stringency", StringencyElement); - foreach (var elem in Mapping) { if (elem != null) yield return new ElementValue("mapping", elem); } - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs index f4942a0e4..d6963a1cc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DataRequirement.cs @@ -237,34 +237,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (ValueSet != null) yield return ValueSet; - foreach (var elem in ValueCodeElement) { if (elem != null) yield return elem; } - foreach (var elem in ValueCoding) { if (elem != null) yield return elem; } - foreach (var elem in ValueCodeableConcept) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (ValueSet != null) yield return new ElementValue("valueSet", ValueSet); - foreach (var elem in ValueCodeElement) { if (elem != null) yield return new ElementValue("valueCode", elem); } - foreach (var elem in ValueCoding) { if (elem != null) yield return new ElementValue("valueCoding", elem); } - foreach (var elem in ValueCodeableConcept) { if (elem != null) yield return new ElementValue("valueCodeableConcept", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -435,28 +407,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -678,34 +628,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in ProfileElement) { if (elem != null) yield return elem; } - foreach (var elem in MustSupportElement) { if (elem != null) yield return elem; } - foreach (var elem in CodeFilter) { if (elem != null) yield return elem; } - foreach (var elem in DateFilter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in ProfileElement) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in MustSupportElement) { if (elem != null) yield return new ElementValue("mustSupport", elem); } - foreach (var elem in CodeFilter) { if (elem != null) yield return new ElementValue("codeFilter", elem); } - foreach (var elem in DateFilter) { if (elem != null) yield return new ElementValue("dateFilter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs b/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs index d92773e80..b32079b92 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DetectedIssue.cs @@ -212,30 +212,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (DateElement != null) yield return DateElement; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -605,46 +581,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (SeverityElement != null) yield return SeverityElement; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (Author != null) yield return Author; - foreach (var elem in Implicated) { if (elem != null) yield return elem; } - if (DetailElement != null) yield return DetailElement; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Mitigation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Implicated) { if (elem != null) yield return new ElementValue("implicated", elem); } - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Mitigation) { if (elem != null) yield return new ElementValue("mitigation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Device.cs b/src/Hl7.Fhir.STU3/Model/Generated/Device.cs index a97ea63fe..57c9d34dc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Device.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Device.cs @@ -435,38 +435,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DeviceIdentifierElement != null) yield return DeviceIdentifierElement; - if (NameElement != null) yield return NameElement; - if (JurisdictionElement != null) yield return JurisdictionElement; - if (CarrierHRFElement != null) yield return CarrierHRFElement; - if (CarrierAIDCElement != null) yield return CarrierAIDCElement; - if (IssuerElement != null) yield return IssuerElement; - if (EntryTypeElement != null) yield return EntryTypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DeviceIdentifierElement != null) yield return new ElementValue("deviceIdentifier", DeviceIdentifierElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (JurisdictionElement != null) yield return new ElementValue("jurisdiction", JurisdictionElement); - if (CarrierHRFElement != null) yield return new ElementValue("carrierHRF", CarrierHRFElement); - if (CarrierAIDCElement != null) yield return new ElementValue("carrierAIDC", CarrierAIDCElement); - if (IssuerElement != null) yield return new ElementValue("issuer", IssuerElement); - if (EntryTypeElement != null) yield return new ElementValue("entryType", EntryTypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1014,58 +982,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Udi != null) yield return Udi; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (LotNumberElement != null) yield return LotNumberElement; - if (ManufacturerElement != null) yield return ManufacturerElement; - if (ManufactureDateElement != null) yield return ManufactureDateElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (ModelElement != null) yield return ModelElement; - if (VersionElement != null) yield return VersionElement; - if (Patient != null) yield return Patient; - if (Owner != null) yield return Owner; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Safety) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Udi != null) yield return new ElementValue("udi", Udi); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ManufacturerElement != null) yield return new ElementValue("manufacturer", ManufacturerElement); - if (ManufactureDateElement != null) yield return new ElementValue("manufactureDate", ManufactureDateElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (ModelElement != null) yield return new ElementValue("model", ModelElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Owner != null) yield return new ElementValue("owner", Owner); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Location != null) yield return new ElementValue("location", Location); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Safety) { if (elem != null) yield return new ElementValue("safety", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs index 6589326ee..702a2e222 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceComponent.cs @@ -258,30 +258,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SpecType != null) yield return SpecType; - if (ComponentId != null) yield return ComponentId; - if (ProductionSpecElement != null) yield return ProductionSpecElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SpecType != null) yield return new ElementValue("specType", SpecType); - if (ComponentId != null) yield return new ElementValue("componentId", ComponentId); - if (ProductionSpecElement != null) yield return new ElementValue("productionSpec", ProductionSpecElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -581,44 +557,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (LastSystemChangeElement != null) yield return LastSystemChangeElement; - if (Source != null) yield return Source; - if (Parent != null) yield return Parent; - foreach (var elem in OperationalStatus) { if (elem != null) yield return elem; } - if (ParameterGroup != null) yield return ParameterGroup; - if (MeasurementPrincipleElement != null) yield return MeasurementPrincipleElement; - foreach (var elem in ProductionSpecification) { if (elem != null) yield return elem; } - if (LanguageCode != null) yield return LanguageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (LastSystemChangeElement != null) yield return new ElementValue("lastSystemChange", LastSystemChangeElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Parent != null) yield return new ElementValue("parent", Parent); - foreach (var elem in OperationalStatus) { if (elem != null) yield return new ElementValue("operationalStatus", elem); } - if (ParameterGroup != null) yield return new ElementValue("parameterGroup", ParameterGroup); - if (MeasurementPrincipleElement != null) yield return new ElementValue("measurementPrinciple", MeasurementPrincipleElement); - foreach (var elem in ProductionSpecification) { if (elem != null) yield return new ElementValue("productionSpecification", elem); } - if (LanguageCode != null) yield return new ElementValue("languageCode", LanguageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs index 81c26d7a8..e40755e8f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceMetric.cs @@ -412,30 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StateElement != null) yield return StateElement; - if (TimeElement != null) yield return TimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StateElement != null) yield return new ElementValue("state", StateElement); - if (TimeElement != null) yield return new ElementValue("time", TimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -755,44 +731,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Type != null) yield return Type; - if (Unit != null) yield return Unit; - if (Source != null) yield return Source; - if (Parent != null) yield return Parent; - if (OperationalStatusElement != null) yield return OperationalStatusElement; - if (ColorElement != null) yield return ColorElement; - if (CategoryElement != null) yield return CategoryElement; - if (MeasurementPeriod != null) yield return MeasurementPeriod; - foreach (var elem in Calibration) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Type != null) yield return new ElementValue("type", Type); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Source != null) yield return new ElementValue("source", Source); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (OperationalStatusElement != null) yield return new ElementValue("operationalStatus", OperationalStatusElement); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - if (MeasurementPeriod != null) yield return new ElementValue("measurementPeriod", MeasurementPeriod); - foreach (var elem in Calibration) { if (elem != null) yield return new ElementValue("calibration", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs index 6df5965a2..0cf2b6d0c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceRequest.cs @@ -151,28 +151,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -688,66 +666,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PriorRequest) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (Intent != null) yield return Intent; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PriorRequest) { if (elem != null) yield return new ElementValue("priorRequest", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Intent != null) yield return new ElementValue("intent", Intent); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs index fd2427b55..3cc037b97 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DeviceUseStatement.cs @@ -375,46 +375,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (WhenUsed != null) yield return WhenUsed; - if (Timing != null) yield return Timing; - if (RecordedOnElement != null) yield return RecordedOnElement; - if (Source != null) yield return Source; - if (Device != null) yield return Device; - foreach (var elem in Indication) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (WhenUsed != null) yield return new ElementValue("whenUsed", WhenUsed); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (RecordedOnElement != null) yield return new ElementValue("recordedOn", RecordedOnElement); - if (Source != null) yield return new ElementValue("source", Source); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in Indication) { if (elem != null) yield return new ElementValue("indication", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs index 5db1d82c9..2bd8bdcaa 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DiagnosticReport.cs @@ -221,28 +221,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -392,28 +370,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CommentElement != null) yield return CommentElement; - if (Link != null) yield return Link; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Link != null) yield return new ElementValue("link", Link); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -852,58 +808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in Result) { if (elem != null) yield return elem; } - foreach (var elem in ImagingStudy) { if (elem != null) yield return elem; } - foreach (var elem in Image) { if (elem != null) yield return elem; } - if (ConclusionElement != null) yield return ConclusionElement; - foreach (var elem in CodedDiagnosis) { if (elem != null) yield return elem; } - foreach (var elem in PresentedForm) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in Result) { if (elem != null) yield return new ElementValue("result", elem); } - foreach (var elem in ImagingStudy) { if (elem != null) yield return new ElementValue("imagingStudy", elem); } - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - if (ConclusionElement != null) yield return new ElementValue("conclusion", ConclusionElement); - foreach (var elem in CodedDiagnosis) { if (elem != null) yield return new ElementValue("codedDiagnosis", elem); } - foreach (var elem in PresentedForm) { if (elem != null) yield return new ElementValue("presentedForm", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs b/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs index 4c3a6106d..efa402d11 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DocumentManifest.cs @@ -134,26 +134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (P != null) yield return P; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (P != null) yield return new ElementValue("p", P); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -278,28 +258,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Ref != null) yield return Ref; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Ref != null) yield return new ElementValue("ref", Ref); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -661,48 +619,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - if (SourceElement != null) yield return SourceElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Content) { if (elem != null) yield return elem; } - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs b/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs index 0fa77639b..388c7a1e5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/DocumentReference.cs @@ -171,28 +171,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -323,28 +301,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Attachment != null) yield return Attachment; - if (Format != null) yield return Format; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Attachment != null) yield return new ElementValue("attachment", Attachment); - if (Format != null) yield return new ElementValue("format", Format); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -563,38 +519,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Encounter != null) yield return Encounter; - foreach (var elem in Event) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (FacilityType != null) yield return FacilityType; - if (PracticeSetting != null) yield return PracticeSetting; - if (SourcePatientInfo != null) yield return SourcePatientInfo; - foreach (var elem in Related) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - foreach (var elem in Event) { if (elem != null) yield return new ElementValue("event", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (FacilityType != null) yield return new ElementValue("facilityType", FacilityType); - if (PracticeSetting != null) yield return new ElementValue("practiceSetting", PracticeSetting); - if (SourcePatientInfo != null) yield return new ElementValue("sourcePatientInfo", SourcePatientInfo); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -761,28 +685,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Ref != null) yield return Ref; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Ref != null) yield return new ElementValue("ref", Ref); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1250,58 +1152,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (MasterIdentifier != null) yield return MasterIdentifier; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (DocStatusElement != null) yield return DocStatusElement; - if (Type != null) yield return Type; - if (Class != null) yield return Class; - if (Subject != null) yield return Subject; - if (CreatedElement != null) yield return CreatedElement; - if (IndexedElement != null) yield return IndexedElement; - foreach (var elem in Author) { if (elem != null) yield return elem; } - if (Authenticator != null) yield return Authenticator; - if (Custodian != null) yield return Custodian; - foreach (var elem in RelatesTo) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SecurityLabel) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (MasterIdentifier != null) yield return new ElementValue("masterIdentifier", MasterIdentifier); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (DocStatusElement != null) yield return new ElementValue("docStatus", DocStatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Class != null) yield return new ElementValue("class", Class); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (IndexedElement != null) yield return new ElementValue("indexed", IndexedElement); - foreach (var elem in Author) { if (elem != null) yield return new ElementValue("author", elem); } - if (Authenticator != null) yield return new ElementValue("authenticator", Authenticator); - if (Custodian != null) yield return new ElementValue("custodian", Custodian); - foreach (var elem in RelatesTo) { if (elem != null) yield return new ElementValue("relatesTo", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SecurityLabel) { if (elem != null) yield return new ElementValue("securityLabel", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - if (Context != null) yield return new ElementValue("context", Context); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs index c470295e9..d8fb5dbad 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Dosage.cs @@ -388,52 +388,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (TextElement != null) yield return TextElement; - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return elem; } - if (PatientInstructionElement != null) yield return PatientInstructionElement; - if (Timing != null) yield return Timing; - if (AsNeeded != null) yield return AsNeeded; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - if (Dose != null) yield return Dose; - if (MaxDosePerPeriod != null) yield return MaxDosePerPeriod; - if (MaxDosePerAdministration != null) yield return MaxDosePerAdministration; - if (MaxDosePerLifetime != null) yield return MaxDosePerLifetime; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - foreach (var elem in AdditionalInstruction) { if (elem != null) yield return new ElementValue("additionalInstruction", elem); } - if (PatientInstructionElement != null) yield return new ElementValue("patientInstruction", PatientInstructionElement); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (MaxDosePerPeriod != null) yield return new ElementValue("maxDosePerPeriod", MaxDosePerPeriod); - if (MaxDosePerAdministration != null) yield return new ElementValue("maxDosePerAdministration", MaxDosePerAdministration); - if (MaxDosePerLifetime != null) yield return new ElementValue("maxDosePerLifetime", MaxDosePerLifetime); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs index eb803b6f4..28f01cbc3 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ElementDefinition.cs @@ -423,32 +423,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Discriminator) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (OrderedElement != null) yield return OrderedElement; - if (RulesElement != null) yield return RulesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Discriminator) { if (elem != null) yield return new ElementValue("discriminator", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (OrderedElement != null) yield return new ElementValue("ordered", OrderedElement); - if (RulesElement != null) yield return new ElementValue("rules", RulesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -632,28 +606,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (PathElement != null) yield return PathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -856,30 +808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1161,34 +1089,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (ProfileElement != null) yield return ProfileElement; - if (TargetProfileElement != null) yield return TargetProfileElement; - foreach (var elem in AggregationElement) { if (elem != null) yield return elem; } - if (VersioningElement != null) yield return VersioningElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - if (TargetProfileElement != null) yield return new ElementValue("targetProfile", TargetProfileElement); - foreach (var elem in AggregationElement) { if (elem != null) yield return new ElementValue("aggregation", elem); } - if (VersioningElement != null) yield return new ElementValue("versioning", VersioningElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1361,28 +1261,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1727,38 +1605,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KeyElement != null) yield return KeyElement; - if (RequirementsElement != null) yield return RequirementsElement; - if (SeverityElement != null) yield return SeverityElement; - if (HumanElement != null) yield return HumanElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (XpathElement != null) yield return XpathElement; - if (SourceElement != null) yield return SourceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KeyElement != null) yield return new ElementValue("key", KeyElement); - if (RequirementsElement != null) yield return new ElementValue("requirements", RequirementsElement); - if (SeverityElement != null) yield return new ElementValue("severity", SeverityElement); - if (HumanElement != null) yield return new ElementValue("human", HumanElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (XpathElement != null) yield return new ElementValue("xpath", XpathElement); - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1983,30 +1829,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ValueSet != null) yield return ValueSet; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ValueSet != null) yield return new ElementValue("valueSet", ValueSet); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2252,32 +2074,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentityElement != null) yield return IdentityElement; - if (LanguageElement != null) yield return LanguageElement; - if (MapElement != null) yield return MapElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentityElement != null) yield return new ElementValue("identity", IdentityElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (MapElement != null) yield return new ElementValue("map", MapElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3248,88 +3044,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - foreach (var elem in RepresentationElement) { if (elem != null) yield return elem; } - if (SliceNameElement != null) yield return SliceNameElement; - if (LabelElement != null) yield return LabelElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (Slicing != null) yield return Slicing; - if (ShortElement != null) yield return ShortElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (CommentElement != null) yield return CommentElement; - if (RequirementsElement != null) yield return RequirementsElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (Base != null) yield return Base; - if (ContentReferenceElement != null) yield return ContentReferenceElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (DefaultValue != null) yield return DefaultValue; - if (MeaningWhenMissingElement != null) yield return MeaningWhenMissingElement; - if (OrderMeaningElement != null) yield return OrderMeaningElement; - if (Fixed != null) yield return Fixed; - if (Pattern != null) yield return Pattern; - foreach (var elem in Example) { if (elem != null) yield return elem; } - if (MinValue != null) yield return MinValue; - if (MaxValue != null) yield return MaxValue; - if (MaxLengthElement != null) yield return MaxLengthElement; - foreach (var elem in ConditionElement) { if (elem != null) yield return elem; } - foreach (var elem in Constraint) { if (elem != null) yield return elem; } - if (MustSupportElement != null) yield return MustSupportElement; - if (IsModifierElement != null) yield return IsModifierElement; - if (IsSummaryElement != null) yield return IsSummaryElement; - if (Binding != null) yield return Binding; - foreach (var elem in Mapping) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - foreach (var elem in RepresentationElement) { if (elem != null) yield return new ElementValue("representation", elem); } - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (Slicing != null) yield return new ElementValue("slicing", Slicing); - if (ShortElement != null) yield return new ElementValue("short", ShortElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (RequirementsElement != null) yield return new ElementValue("requirements", RequirementsElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (Base != null) yield return new ElementValue("base", Base); - if (ContentReferenceElement != null) yield return new ElementValue("contentReference", ContentReferenceElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (DefaultValue != null) yield return new ElementValue("defaultValue", DefaultValue); - if (MeaningWhenMissingElement != null) yield return new ElementValue("meaningWhenMissing", MeaningWhenMissingElement); - if (OrderMeaningElement != null) yield return new ElementValue("orderMeaning", OrderMeaningElement); - if (Fixed != null) yield return new ElementValue("fixed", Fixed); - if (Pattern != null) yield return new ElementValue("pattern", Pattern); - foreach (var elem in Example) { if (elem != null) yield return new ElementValue("example", elem); } - if (MinValue != null) yield return new ElementValue("minValue", MinValue); - if (MaxValue != null) yield return new ElementValue("maxValue", MaxValue); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - foreach (var elem in ConditionElement) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Constraint) { if (elem != null) yield return new ElementValue("constraint", elem); } - if (MustSupportElement != null) yield return new ElementValue("mustSupport", MustSupportElement); - if (IsModifierElement != null) yield return new ElementValue("isModifier", IsModifierElement); - if (IsSummaryElement != null) yield return new ElementValue("isSummary", IsSummaryElement); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in Mapping) { if (elem != null) yield return new ElementValue("mapping", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs index d8abb5050..d9b866a8c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityRequest.cs @@ -416,54 +416,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Priority != null) yield return Priority; - if (Patient != null) yield return Patient; - if (Serviced != null) yield return Serviced; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (Insurer != null) yield return Insurer; - if (Facility != null) yield return Facility; - if (Coverage != null) yield return Coverage; - if (BusinessArrangementElement != null) yield return BusinessArrangementElement; - if (BenefitCategory != null) yield return BenefitCategory; - if (BenefitSubCategory != null) yield return BenefitSubCategory; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Facility != null) yield return new ElementValue("facility", Facility); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (BusinessArrangementElement != null) yield return new ElementValue("businessArrangement", BusinessArrangementElement); - if (BenefitCategory != null) yield return new ElementValue("benefitCategory", BenefitCategory); - if (BenefitSubCategory != null) yield return new ElementValue("benefitSubCategory", BenefitSubCategory); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs index 939e8d011..76225c52c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EligibilityResponse.cs @@ -167,30 +167,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - if (Contract != null) yield return Contract; - foreach (var elem in BenefitBalance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - if (Contract != null) yield return new ElementValue("contract", Contract); - foreach (var elem in BenefitBalance) { if (elem != null) yield return new ElementValue("benefitBalance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -499,42 +475,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (SubCategory != null) yield return SubCategory; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Financial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (SubCategory != null) yield return new ElementValue("subCategory", SubCategory); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Financial) { if (elem != null) yield return new ElementValue("financial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -734,30 +674,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -879,26 +795,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1269,50 +1165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (RequestProvider != null) yield return RequestProvider; - if (RequestOrganization != null) yield return RequestOrganization; - if (Request != null) yield return Request; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - if (Insurer != null) yield return Insurer; - if (InforceElement != null) yield return InforceElement; - foreach (var elem in Insurance) { if (elem != null) yield return elem; } - if (Form != null) yield return Form; - foreach (var elem in Error) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - if (RequestOrganization != null) yield return new ElementValue("requestOrganization", RequestOrganization); - if (Request != null) yield return new ElementValue("request", Request); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (InforceElement != null) yield return new ElementValue("inforce", InforceElement); - foreach (var elem in Insurance) { if (elem != null) yield return new ElementValue("insurance", elem); } - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs b/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs index a0b7c64ad..39acf0c15 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Encounter.cs @@ -269,28 +269,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -423,28 +401,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Class != null) yield return Class; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Class != null) yield return new ElementValue("class", Class); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -593,30 +549,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Individual != null) yield return Individual; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Individual != null) yield return new ElementValue("individual", Individual); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -787,30 +719,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Role != null) yield return Role; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Role != null) yield return new ElementValue("role", Role); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1072,42 +980,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PreAdmissionIdentifier != null) yield return PreAdmissionIdentifier; - if (Origin != null) yield return Origin; - if (AdmitSource != null) yield return AdmitSource; - if (ReAdmission != null) yield return ReAdmission; - foreach (var elem in DietPreference) { if (elem != null) yield return elem; } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return elem; } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return elem; } - if (Destination != null) yield return Destination; - if (DischargeDisposition != null) yield return DischargeDisposition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PreAdmissionIdentifier != null) yield return new ElementValue("preAdmissionIdentifier", PreAdmissionIdentifier); - if (Origin != null) yield return new ElementValue("origin", Origin); - if (AdmitSource != null) yield return new ElementValue("admitSource", AdmitSource); - if (ReAdmission != null) yield return new ElementValue("reAdmission", ReAdmission); - foreach (var elem in DietPreference) { if (elem != null) yield return new ElementValue("dietPreference", elem); } - foreach (var elem in SpecialCourtesy) { if (elem != null) yield return new ElementValue("specialCourtesy", elem); } - foreach (var elem in SpecialArrangement) { if (elem != null) yield return new ElementValue("specialArrangement", elem); } - if (Destination != null) yield return new ElementValue("destination", Destination); - if (DischargeDisposition != null) yield return new ElementValue("dischargeDisposition", DischargeDisposition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1325,30 +1197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Location != null) yield return Location; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Location != null) yield return new ElementValue("location", Location); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1824,66 +1672,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - if (Class != null) yield return Class; - foreach (var elem in ClassHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - if (Subject != null) yield return Subject; - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return elem; } - foreach (var elem in IncomingReferral) { if (elem != null) yield return elem; } - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Appointment != null) yield return Appointment; - if (Period != null) yield return Period; - if (Length != null) yield return Length; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - if (Hospitalization != null) yield return Hospitalization; - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (ServiceProvider != null) yield return ServiceProvider; - if (PartOf != null) yield return PartOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - if (Class != null) yield return new ElementValue("class", Class); - foreach (var elem in ClassHistory) { if (elem != null) yield return new ElementValue("classHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in EpisodeOfCare) { if (elem != null) yield return new ElementValue("episodeOfCare", elem); } - foreach (var elem in IncomingReferral) { if (elem != null) yield return new ElementValue("incomingReferral", elem); } - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Appointment != null) yield return new ElementValue("appointment", Appointment); - if (Period != null) yield return new ElementValue("period", Period); - if (Length != null) yield return new ElementValue("length", Length); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - if (Hospitalization != null) yield return new ElementValue("hospitalization", Hospitalization); - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (ServiceProvider != null) yield return new ElementValue("serviceProvider", ServiceProvider); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs b/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs index d6456ad6c..0c5cca3f1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Endpoint.cs @@ -427,46 +427,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ConnectionType != null) yield return ConnectionType; - if (NameElement != null) yield return NameElement; - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - foreach (var elem in PayloadType) { if (elem != null) yield return elem; } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return elem; } - if (AddressElement != null) yield return AddressElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ConnectionType != null) yield return new ElementValue("connectionType", ConnectionType); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in PayloadType) { if (elem != null) yield return new ElementValue("payloadType", elem); } - foreach (var elem in PayloadMimeTypeElement) { if (elem != null) yield return new ElementValue("payloadMimeType", elem); } - if (AddressElement != null) yield return new ElementValue("address", AddressElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs index 0deb5235f..c9d3b9888 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentRequest.cs @@ -277,40 +277,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (Subject != null) yield return Subject; - if (Coverage != null) yield return Coverage; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs index 66f2feb24..1e266b9f5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EnrollmentResponse.cs @@ -310,42 +310,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (RequestProvider != null) yield return RequestProvider; - if (RequestOrganization != null) yield return RequestOrganization; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - if (RequestOrganization != null) yield return new ElementValue("requestOrganization", RequestOrganization); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs b/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs index 3621ecf6c..aa6c868bc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/EpisodeOfCare.cs @@ -220,28 +220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -405,30 +383,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Condition != null) yield return Condition; - if (Role != null) yield return Role; - if (RankElement != null) yield return RankElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Role != null) yield return new ElementValue("role", Role); - if (RankElement != null) yield return new ElementValue("rank", RankElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -752,48 +706,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in StatusHistory) { if (elem != null) yield return elem; } - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (Period != null) yield return Period; - foreach (var elem in ReferralRequest) { if (elem != null) yield return elem; } - if (CareManager != null) yield return CareManager; - foreach (var elem in Team) { if (elem != null) yield return elem; } - foreach (var elem in Account) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in StatusHistory) { if (elem != null) yield return new ElementValue("statusHistory", elem); } - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in ReferralRequest) { if (elem != null) yield return new ElementValue("referralRequest", elem); } - if (CareManager != null) yield return new ElementValue("careManager", CareManager); - foreach (var elem in Team) { if (elem != null) yield return new ElementValue("team", elem); } - foreach (var elem in Account) { if (elem != null) yield return new ElementValue("account", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs b/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs index 56afcc800..8dea4af69 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ExpansionProfile.cs @@ -249,30 +249,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (VersionElement != null) yield return VersionElement; - if (ModeElement != null) yield return ModeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -446,28 +422,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (VersionElement != null) yield return VersionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -596,28 +550,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Include != null) yield return Include; - if (Exclude != null) yield return Exclude; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Include != null) yield return new ElementValue("include", Include); - if (Exclude != null) yield return new ElementValue("exclude", Exclude); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -728,26 +660,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -890,28 +802,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1022,26 +912,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1184,28 +1054,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1953,70 +1801,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in FixedVersion) { if (elem != null) yield return elem; } - if (ExcludedSystem != null) yield return ExcludedSystem; - if (IncludeDesignationsElement != null) yield return IncludeDesignationsElement; - if (Designation != null) yield return Designation; - if (IncludeDefinitionElement != null) yield return IncludeDefinitionElement; - if (ActiveOnlyElement != null) yield return ActiveOnlyElement; - if (ExcludeNestedElement != null) yield return ExcludeNestedElement; - if (ExcludeNotForUIElement != null) yield return ExcludeNotForUIElement; - if (ExcludePostCoordinatedElement != null) yield return ExcludePostCoordinatedElement; - if (DisplayLanguageElement != null) yield return DisplayLanguageElement; - if (LimitedExpansionElement != null) yield return LimitedExpansionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in FixedVersion) { if (elem != null) yield return new ElementValue("fixedVersion", elem); } - if (ExcludedSystem != null) yield return new ElementValue("excludedSystem", ExcludedSystem); - if (IncludeDesignationsElement != null) yield return new ElementValue("includeDesignations", IncludeDesignationsElement); - if (Designation != null) yield return new ElementValue("designation", Designation); - if (IncludeDefinitionElement != null) yield return new ElementValue("includeDefinition", IncludeDefinitionElement); - if (ActiveOnlyElement != null) yield return new ElementValue("activeOnly", ActiveOnlyElement); - if (ExcludeNestedElement != null) yield return new ElementValue("excludeNested", ExcludeNestedElement); - if (ExcludeNotForUIElement != null) yield return new ElementValue("excludeNotForUI", ExcludeNotForUIElement); - if (ExcludePostCoordinatedElement != null) yield return new ElementValue("excludePostCoordinated", ExcludePostCoordinatedElement); - if (DisplayLanguageElement != null) yield return new ElementValue("displayLanguage", DisplayLanguageElement); - if (LimitedExpansionElement != null) yield return new ElementValue("limitedExpansion", LimitedExpansionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs b/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs index 4cc24a202..9ec824d74 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ExplanationOfBenefit.cs @@ -356,30 +356,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Claim != null) yield return Claim; - if (Relationship != null) yield return Relationship; - if (Reference != null) yield return Reference; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Claim != null) yield return new ElementValue("claim", Claim); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (Reference != null) yield return new ElementValue("reference", Reference); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -535,30 +511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceType != null) yield return ResourceType; - if (Party != null) yield return Party; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceType != null) yield return new ElementValue("resourceType", ResourceType); - if (Party != null) yield return new ElementValue("party", Party); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -786,36 +738,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Timing != null) yield return Timing; - if (Value != null) yield return Value; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Timing != null) yield return new ElementValue("timing", Timing); - if (Value != null) yield return new ElementValue("value", Value); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1062,34 +984,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Provider != null) yield return Provider; - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Role != null) yield return Role; - if (Qualification != null) yield return Qualification; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Role != null) yield return new ElementValue("role", Role); - if (Qualification != null) yield return new ElementValue("qualification", Qualification); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1298,32 +1192,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Diagnosis != null) yield return Diagnosis; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (PackageCode != null) yield return PackageCode; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Diagnosis != null) yield return new ElementValue("diagnosis", Diagnosis); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (PackageCode != null) yield return new ElementValue("packageCode", PackageCode); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1524,30 +1392,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (DateElement != null) yield return DateElement; - if (Procedure != null) yield return Procedure; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1704,28 +1548,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Coverage != null) yield return Coverage; - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Coverage != null) yield return new ElementValue("coverage", Coverage); - foreach (var elem in PreAuthRefElement) { if (elem != null) yield return new ElementValue("preAuthRef", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1892,30 +1714,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Type != null) yield return Type; - if (Location != null) yield return Location; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Location != null) yield return new ElementValue("location", Location); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2543,70 +2341,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - foreach (var elem in CareTeamLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in DiagnosisLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureLinkIdElement) { if (elem != null) yield return elem; } - foreach (var elem in InformationLinkIdElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Serviced != null) yield return Serviced; - if (Location != null) yield return Location; - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - foreach (var elem in SubSite) { if (elem != null) yield return elem; } - foreach (var elem in Encounter) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - foreach (var elem in CareTeamLinkIdElement) { if (elem != null) yield return new ElementValue("careTeamLinkId", elem); } - foreach (var elem in DiagnosisLinkIdElement) { if (elem != null) yield return new ElementValue("diagnosisLinkId", elem); } - foreach (var elem in ProcedureLinkIdElement) { if (elem != null) yield return new ElementValue("procedureLinkId", elem); } - foreach (var elem in InformationLinkIdElement) { if (elem != null) yield return new ElementValue("informationLinkId", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Serviced != null) yield return new ElementValue("serviced", Serviced); - if (Location != null) yield return new ElementValue("location", Location); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - foreach (var elem in SubSite) { if (elem != null) yield return new ElementValue("subSite", elem); } - foreach (var elem in Encounter) { if (elem != null) yield return new ElementValue("encounter", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2935,32 +2669,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Reason != null) yield return Reason; - if (Amount != null) yield return Amount; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3381,54 +3089,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Type != null) yield return Type; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in SubDetail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in SubDetail) { if (elem != null) yield return new ElementValue("subDetail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3909,52 +3569,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceElement != null) yield return SequenceElement; - if (Type != null) yield return Type; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - foreach (var elem in ProgramCode) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (UnitPrice != null) yield return UnitPrice; - if (FactorElement != null) yield return FactorElement; - if (Net != null) yield return Net; - foreach (var elem in Udi) { if (elem != null) yield return elem; } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceElement != null) yield return new ElementValue("sequence", SequenceElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ProgramCode) { if (elem != null) yield return new ElementValue("programCode", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (UnitPrice != null) yield return new ElementValue("unitPrice", UnitPrice); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (Net != null) yield return new ElementValue("net", Net); - foreach (var elem in Udi) { if (elem != null) yield return new ElementValue("udi", elem); } - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4324,42 +3938,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in SequenceLinkIdElement) { if (elem != null) yield return elem; } - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Fee != null) yield return Fee; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - foreach (var elem in Detail) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in SequenceLinkIdElement) { if (elem != null) yield return new ElementValue("sequenceLinkId", elem); } - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Fee != null) yield return new ElementValue("fee", Fee); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4642,38 +4220,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Revenue != null) yield return Revenue; - if (Category != null) yield return Category; - if (Service != null) yield return Service; - foreach (var elem in Modifier) { if (elem != null) yield return elem; } - if (Fee != null) yield return Fee; - foreach (var elem in NoteNumberElement) { if (elem != null) yield return elem; } - foreach (var elem in Adjudication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Revenue != null) yield return new ElementValue("revenue", Revenue); - if (Category != null) yield return new ElementValue("category", Category); - if (Service != null) yield return new ElementValue("service", Service); - foreach (var elem in Modifier) { if (elem != null) yield return new ElementValue("modifier", elem); } - if (Fee != null) yield return new ElementValue("fee", Fee); - foreach (var elem in NoteNumberElement) { if (elem != null) yield return new ElementValue("noteNumber", elem); } - foreach (var elem in Adjudication) { if (elem != null) yield return new ElementValue("adjudication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4921,36 +4467,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Adjustment != null) yield return Adjustment; - if (AdjustmentReason != null) yield return AdjustmentReason; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - if (Identifier != null) yield return Identifier; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Adjustment != null) yield return new ElementValue("adjustment", Adjustment); - if (AdjustmentReason != null) yield return new ElementValue("adjustmentReason", AdjustmentReason); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5177,32 +4693,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NumberElement != null) yield return NumberElement; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - if (Language != null) yield return Language; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Language != null) yield return new ElementValue("language", Language); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5515,42 +5005,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (SubCategory != null) yield return SubCategory; - if (ExcludedElement != null) yield return ExcludedElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Network != null) yield return Network; - if (Unit != null) yield return Unit; - if (Term != null) yield return Term; - foreach (var elem in Financial) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (SubCategory != null) yield return new ElementValue("subCategory", SubCategory); - if (ExcludedElement != null) yield return new ElementValue("excluded", ExcludedElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Network != null) yield return new ElementValue("network", Network); - if (Unit != null) yield return new ElementValue("unit", Unit); - if (Term != null) yield return new ElementValue("term", Term); - foreach (var elem in Financial) { if (elem != null) yield return new ElementValue("financial", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5750,30 +5204,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Allowed != null) yield return Allowed; - if (Used != null) yield return Used; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Allowed != null) yield return new ElementValue("allowed", Allowed); - if (Used != null) yield return new ElementValue("used", Used); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6598,102 +6028,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - foreach (var elem in SubType) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (BillablePeriod != null) yield return BillablePeriod; - if (CreatedElement != null) yield return CreatedElement; - if (Enterer != null) yield return Enterer; - if (Insurer != null) yield return Insurer; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (Referral != null) yield return Referral; - if (Facility != null) yield return Facility; - if (Claim != null) yield return Claim; - if (ClaimResponse != null) yield return ClaimResponse; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - foreach (var elem in Related) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - if (OriginalPrescription != null) yield return OriginalPrescription; - if (Payee != null) yield return Payee; - foreach (var elem in Information) { if (elem != null) yield return elem; } - foreach (var elem in CareTeam) { if (elem != null) yield return elem; } - foreach (var elem in Diagnosis) { if (elem != null) yield return elem; } - foreach (var elem in Procedure) { if (elem != null) yield return elem; } - if (PrecedenceElement != null) yield return PrecedenceElement; - if (Insurance != null) yield return Insurance; - if (Accident != null) yield return Accident; - if (EmploymentImpacted != null) yield return EmploymentImpacted; - if (Hospitalization != null) yield return Hospitalization; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in AddItem) { if (elem != null) yield return elem; } - if (TotalCost != null) yield return TotalCost; - if (UnallocDeductable != null) yield return UnallocDeductable; - if (TotalBenefit != null) yield return TotalBenefit; - if (Payment != null) yield return Payment; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in BenefitBalance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in SubType) { if (elem != null) yield return new ElementValue("subType", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (BillablePeriod != null) yield return new ElementValue("billablePeriod", BillablePeriod); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Insurer != null) yield return new ElementValue("insurer", Insurer); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Referral != null) yield return new ElementValue("referral", Referral); - if (Facility != null) yield return new ElementValue("facility", Facility); - if (Claim != null) yield return new ElementValue("claim", Claim); - if (ClaimResponse != null) yield return new ElementValue("claimResponse", ClaimResponse); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - if (OriginalPrescription != null) yield return new ElementValue("originalPrescription", OriginalPrescription); - if (Payee != null) yield return new ElementValue("payee", Payee); - foreach (var elem in Information) { if (elem != null) yield return new ElementValue("information", elem); } - foreach (var elem in CareTeam) { if (elem != null) yield return new ElementValue("careTeam", elem); } - foreach (var elem in Diagnosis) { if (elem != null) yield return new ElementValue("diagnosis", elem); } - foreach (var elem in Procedure) { if (elem != null) yield return new ElementValue("procedure", elem); } - if (PrecedenceElement != null) yield return new ElementValue("precedence", PrecedenceElement); - if (Insurance != null) yield return new ElementValue("insurance", Insurance); - if (Accident != null) yield return new ElementValue("accident", Accident); - if (EmploymentImpacted != null) yield return new ElementValue("employmentImpacted", EmploymentImpacted); - if (Hospitalization != null) yield return new ElementValue("hospitalization", Hospitalization); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in AddItem) { if (elem != null) yield return new ElementValue("addItem", elem); } - if (TotalCost != null) yield return new ElementValue("totalCost", TotalCost); - if (UnallocDeductable != null) yield return new ElementValue("unallocDeductable", UnallocDeductable); - if (TotalBenefit != null) yield return new ElementValue("totalBenefit", TotalBenefit); - if (Payment != null) yield return new ElementValue("payment", Payment); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in BenefitBalance) { if (elem != null) yield return new ElementValue("benefitBalance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs b/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs index 69817cafa..48e878cb3 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/FamilyMemberHistory.cs @@ -219,32 +219,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Outcome != null) yield return Outcome; - if (Onset != null) yield return Onset; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Onset != null) yield return new ElementValue("onset", Onset); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -765,60 +739,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NotDoneElement != null) yield return NotDoneElement; - if (NotDoneReason != null) yield return NotDoneReason; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (NameElement != null) yield return NameElement; - if (Relationship != null) yield return Relationship; - if (GenderElement != null) yield return GenderElement; - if (Born != null) yield return Born; - if (Age != null) yield return Age; - if (EstimatedAgeElement != null) yield return EstimatedAgeElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NotDoneElement != null) yield return new ElementValue("notDone", NotDoneElement); - if (NotDoneReason != null) yield return new ElementValue("notDoneReason", NotDoneReason); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Born != null) yield return new ElementValue("born", Born); - if (Age != null) yield return new ElementValue("age", Age); - if (EstimatedAgeElement != null) yield return new ElementValue("estimatedAge", EstimatedAgeElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs b/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs index 4e798677e..2b6cc9679 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Flag.cs @@ -288,40 +288,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Period != null) yield return Period; - if (Encounter != null) yield return Encounter; - if (Author != null) yield return Author; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Period != null) yield return new ElementValue("period", Period); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (Author != null) yield return new ElementValue("author", Author); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs b/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs index 80b8b993c..913313f7d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Goal.cs @@ -257,30 +257,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -689,54 +665,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Priority != null) yield return Priority; - if (Description != null) yield return Description; - if (Subject != null) yield return Subject; - if (Start != null) yield return Start; - if (Target != null) yield return Target; - if (StatusDateElement != null) yield return StatusDateElement; - if (StatusReasonElement != null) yield return StatusReasonElement; - if (ExpressedBy != null) yield return ExpressedBy; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeCode) { if (elem != null) yield return elem; } - foreach (var elem in OutcomeReference) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Description != null) yield return new ElementValue("description", Description); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Start != null) yield return new ElementValue("start", Start); - if (Target != null) yield return new ElementValue("target", Target); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (StatusReasonElement != null) yield return new ElementValue("statusReason", StatusReasonElement); - if (ExpressedBy != null) yield return new ElementValue("expressedBy", ExpressedBy); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in OutcomeCode) { if (elem != null) yield return new ElementValue("outcomeCode", elem); } - foreach (var elem in OutcomeReference) { if (elem != null) yield return new ElementValue("outcomeReference", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs index 22f35eeff..ddad6dc01 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/GraphDefinition.cs @@ -333,36 +333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PathElement != null) yield return PathElement; - if (SliceNameElement != null) yield return SliceNameElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SliceNameElement != null) yield return new ElementValue("sliceName", SliceNameElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -589,32 +559,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Compartment) { if (elem != null) yield return elem; } - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Compartment) { if (elem != null) yield return new ElementValue("compartment", elem); } - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -864,32 +808,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (RuleElement != null) yield return RuleElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (RuleElement != null) yield return new ElementValue("rule", RuleElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1434,54 +1352,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (StartElement != null) yield return StartElement; - if (ProfileElement != null) yield return ProfileElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (ProfileElement != null) yield return new ElementValue("profile", ProfileElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Group.cs b/src/Hl7.Fhir.STU3/Model/Generated/Group.cs index 4e501c5da..0ea98ad44 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Group.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Group.cs @@ -250,32 +250,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (ExcludeElement != null) yield return ExcludeElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (ExcludeElement != null) yield return new ElementValue("exclude", ExcludeElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -455,30 +429,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Entity != null) yield return Entity; - if (Period != null) yield return Period; - if (InactiveElement != null) yield return InactiveElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Entity != null) yield return new ElementValue("entity", Entity); - if (Period != null) yield return new ElementValue("period", Period); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -810,42 +760,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (TypeElement != null) yield return TypeElement; - if (ActualElement != null) yield return ActualElement; - if (Code != null) yield return Code; - if (NameElement != null) yield return NameElement; - if (QuantityElement != null) yield return QuantityElement; - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in Member) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ActualElement != null) yield return new ElementValue("actual", ActualElement); - if (Code != null) yield return new ElementValue("code", Code); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (QuantityElement != null) yield return new ElementValue("quantity", QuantityElement); - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in Member) { if (elem != null) yield return new ElementValue("member", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs index a015318ca..5c0f6edd1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/GuidanceResponse.cs @@ -448,52 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequestIdElement != null) yield return RequestIdElement; - if (Identifier != null) yield return Identifier; - if (Module != null) yield return Module; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (OccurrenceDateTimeElement != null) yield return OccurrenceDateTimeElement; - if (Performer != null) yield return Performer; - if (Reason != null) yield return Reason; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return elem; } - if (OutputParameters != null) yield return OutputParameters; - if (Result != null) yield return Result; - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequestIdElement != null) yield return new ElementValue("requestId", RequestIdElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Module != null) yield return new ElementValue("module", Module); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (OccurrenceDateTimeElement != null) yield return new ElementValue("occurrenceDateTime", OccurrenceDateTimeElement); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Reason != null) yield return new ElementValue("reason", Reason); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in EvaluationMessage) { if (elem != null) yield return new ElementValue("evaluationMessage", elem); } - if (OutputParameters != null) yield return new ElementValue("outputParameters", OutputParameters); - if (Result != null) yield return new ElementValue("result", Result); - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs b/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs index d7c4786bf..84a253778 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/HealthcareService.cs @@ -251,32 +251,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -438,28 +412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1098,72 +1050,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (ProvidedBy != null) yield return ProvidedBy; - if (Category != null) yield return Category; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - if (ExtraDetailsElement != null) yield return ExtraDetailsElement; - if (Photo != null) yield return Photo; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in CoverageArea) { if (elem != null) yield return elem; } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return elem; } - if (Eligibility != null) yield return Eligibility; - if (EligibilityNoteElement != null) yield return EligibilityNoteElement; - foreach (var elem in ProgramNameElement) { if (elem != null) yield return elem; } - foreach (var elem in Characteristic) { if (elem != null) yield return elem; } - foreach (var elem in ReferralMethod) { if (elem != null) yield return elem; } - if (AppointmentRequiredElement != null) yield return AppointmentRequiredElement; - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (ProvidedBy != null) yield return new ElementValue("providedBy", ProvidedBy); - if (Category != null) yield return new ElementValue("category", Category); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (ExtraDetailsElement != null) yield return new ElementValue("extraDetails", ExtraDetailsElement); - if (Photo != null) yield return new ElementValue("photo", Photo); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in CoverageArea) { if (elem != null) yield return new ElementValue("coverageArea", elem); } - foreach (var elem in ServiceProvisionCode) { if (elem != null) yield return new ElementValue("serviceProvisionCode", elem); } - if (Eligibility != null) yield return new ElementValue("eligibility", Eligibility); - if (EligibilityNoteElement != null) yield return new ElementValue("eligibilityNote", EligibilityNoteElement); - foreach (var elem in ProgramNameElement) { if (elem != null) yield return new ElementValue("programName", elem); } - foreach (var elem in Characteristic) { if (elem != null) yield return new ElementValue("characteristic", elem); } - foreach (var elem in ReferralMethod) { if (elem != null) yield return new ElementValue("referralMethod", elem); } - if (AppointmentRequiredElement != null) yield return new ElementValue("appointmentRequired", AppointmentRequiredElement); - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs b/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs index 1bde0afd1..355ded303 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/HumanName.cs @@ -376,38 +376,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UseElement != null) yield return UseElement; - if (TextElement != null) yield return TextElement; - if (FamilyElement != null) yield return FamilyElement; - foreach (var elem in GivenElement) { if (elem != null) yield return elem; } - foreach (var elem in PrefixElement) { if (elem != null) yield return elem; } - foreach (var elem in SuffixElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (FamilyElement != null) yield return new ElementValue("family", FamilyElement); - foreach (var elem in GivenElement) { if (elem != null) yield return new ElementValue("given", elem); } - foreach (var elem in PrefixElement) { if (elem != null) yield return new ElementValue("prefix", elem); } - foreach (var elem in SuffixElement) { if (elem != null) yield return new ElementValue("suffix", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs index 7358b6729..e054d8dab 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImagingManifest.cs @@ -204,32 +204,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (ImagingStudy != null) yield return ImagingStudy; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Series) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (ImagingStudy != null) yield return new ElementValue("imagingStudy", ImagingStudy); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Series) { if (elem != null) yield return new ElementValue("series", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -412,30 +386,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -610,28 +560,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SopClassElement != null) yield return SopClassElement; - if (UidElement != null) yield return UidElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SopClassElement != null) yield return new ElementValue("sopClass", SopClassElement); - if (UidElement != null) yield return new ElementValue("uid", UidElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -852,36 +780,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Patient != null) yield return Patient; - if (AuthoringTimeElement != null) yield return AuthoringTimeElement; - if (Author != null) yield return Author; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Study) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (AuthoringTimeElement != null) yield return new ElementValue("authoringTime", AuthoringTimeElement); - if (Author != null) yield return new ElementValue("author", Author); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Study) { if (elem != null) yield return new ElementValue("study", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs index f902b6556..7c6af2028 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImagingStudy.cs @@ -462,48 +462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (Modality != null) yield return Modality; - if (DescriptionElement != null) yield return DescriptionElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - if (AvailabilityElement != null) yield return AvailabilityElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Laterality != null) yield return Laterality; - if (StartedElement != null) yield return StartedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in Instance) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (Modality != null) yield return new ElementValue("modality", Modality); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - if (AvailabilityElement != null) yield return new ElementValue("availability", AvailabilityElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Laterality != null) yield return new ElementValue("laterality", Laterality); - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -808,32 +766,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (NumberElement != null) yield return NumberElement; - if (SopClassElement != null) yield return SopClassElement; - if (TitleElement != null) yield return TitleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (NumberElement != null) yield return new ElementValue("number", NumberElement); - if (SopClassElement != null) yield return new ElementValue("sopClass", SopClassElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1371,62 +1303,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UidElement != null) yield return UidElement; - if (Accession != null) yield return Accession; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AvailabilityElement != null) yield return AvailabilityElement; - foreach (var elem in ModalityList) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - if (Context != null) yield return Context; - if (StartedElement != null) yield return StartedElement; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (Referrer != null) yield return Referrer; - foreach (var elem in Interpreter) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - if (NumberOfSeriesElement != null) yield return NumberOfSeriesElement; - if (NumberOfInstancesElement != null) yield return NumberOfInstancesElement; - foreach (var elem in ProcedureReference) { if (elem != null) yield return elem; } - foreach (var elem in ProcedureCode) { if (elem != null) yield return elem; } - if (Reason != null) yield return Reason; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Series) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UidElement != null) yield return new ElementValue("uid", UidElement); - if (Accession != null) yield return new ElementValue("accession", Accession); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AvailabilityElement != null) yield return new ElementValue("availability", AvailabilityElement); - foreach (var elem in ModalityList) { if (elem != null) yield return new ElementValue("modalityList", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Context != null) yield return new ElementValue("context", Context); - if (StartedElement != null) yield return new ElementValue("started", StartedElement); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (Referrer != null) yield return new ElementValue("referrer", Referrer); - foreach (var elem in Interpreter) { if (elem != null) yield return new ElementValue("interpreter", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - if (NumberOfSeriesElement != null) yield return new ElementValue("numberOfSeries", NumberOfSeriesElement); - if (NumberOfInstancesElement != null) yield return new ElementValue("numberOfInstances", NumberOfInstancesElement); - foreach (var elem in ProcedureReference) { if (elem != null) yield return new ElementValue("procedureReference", elem); } - foreach (var elem in ProcedureCode) { if (elem != null) yield return new ElementValue("procedureCode", elem); } - if (Reason != null) yield return new ElementValue("reason", Reason); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Series) { if (elem != null) yield return new ElementValue("series", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs b/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs index 5eff55704..1d9dcaefe 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Immunization.cs @@ -172,28 +172,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -326,28 +304,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ReasonNotGiven) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ReasonNotGiven) { if (elem != null) yield return new ElementValue("reasonNotGiven", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -531,30 +487,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (Detail != null) yield return Detail; - if (ReportedElement != null) yield return ReportedElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (ReportedElement != null) yield return new ElementValue("reported", ReportedElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -865,40 +797,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DoseSequenceElement != null) yield return DoseSequenceElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Authority != null) yield return Authority; - if (SeriesElement != null) yield return SeriesElement; - if (SeriesDosesElement != null) yield return SeriesDosesElement; - foreach (var elem in TargetDisease) { if (elem != null) yield return elem; } - if (DoseStatus != null) yield return DoseStatus; - if (DoseStatusReason != null) yield return DoseStatusReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DoseSequenceElement != null) yield return new ElementValue("doseSequence", DoseSequenceElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - if (SeriesDosesElement != null) yield return new ElementValue("seriesDoses", SeriesDosesElement); - foreach (var elem in TargetDisease) { if (elem != null) yield return new ElementValue("targetDisease", elem); } - if (DoseStatus != null) yield return new ElementValue("doseStatus", DoseStatus); - if (DoseStatusReason != null) yield return new ElementValue("doseStatusReason", DoseStatusReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1491,66 +1389,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NotGivenElement != null) yield return NotGivenElement; - if (VaccineCode != null) yield return VaccineCode; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (PrimarySourceElement != null) yield return PrimarySourceElement; - if (ReportOrigin != null) yield return ReportOrigin; - if (Location != null) yield return Location; - if (Manufacturer != null) yield return Manufacturer; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (DoseQuantity != null) yield return DoseQuantity; - foreach (var elem in Practitioner) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Explanation != null) yield return Explanation; - foreach (var elem in Reaction) { if (elem != null) yield return elem; } - foreach (var elem in VaccinationProtocol) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NotGivenElement != null) yield return new ElementValue("notGiven", NotGivenElement); - if (VaccineCode != null) yield return new ElementValue("vaccineCode", VaccineCode); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PrimarySourceElement != null) yield return new ElementValue("primarySource", PrimarySourceElement); - if (ReportOrigin != null) yield return new ElementValue("reportOrigin", ReportOrigin); - if (Location != null) yield return new ElementValue("location", Location); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (DoseQuantity != null) yield return new ElementValue("doseQuantity", DoseQuantity); - foreach (var elem in Practitioner) { if (elem != null) yield return new ElementValue("practitioner", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Explanation != null) yield return new ElementValue("explanation", Explanation); - foreach (var elem in Reaction) { if (elem != null) yield return new ElementValue("reaction", elem); } - foreach (var elem in VaccinationProtocol) { if (elem != null) yield return new ElementValue("vaccinationProtocol", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs index f631603ea..f6387634b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImmunizationRecommendation.cs @@ -303,42 +303,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DateElement != null) yield return DateElement; - if (VaccineCode != null) yield return VaccineCode; - if (TargetDisease != null) yield return TargetDisease; - if (DoseNumberElement != null) yield return DoseNumberElement; - if (ForecastStatus != null) yield return ForecastStatus; - foreach (var elem in DateCriterion) { if (elem != null) yield return elem; } - if (Protocol != null) yield return Protocol; - foreach (var elem in SupportingImmunization) { if (elem != null) yield return elem; } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (VaccineCode != null) yield return new ElementValue("vaccineCode", VaccineCode); - if (TargetDisease != null) yield return new ElementValue("targetDisease", TargetDisease); - if (DoseNumberElement != null) yield return new ElementValue("doseNumber", DoseNumberElement); - if (ForecastStatus != null) yield return new ElementValue("forecastStatus", ForecastStatus); - foreach (var elem in DateCriterion) { if (elem != null) yield return new ElementValue("dateCriterion", elem); } - if (Protocol != null) yield return new ElementValue("protocol", Protocol); - foreach (var elem in SupportingImmunization) { if (elem != null) yield return new ElementValue("supportingImmunization", elem); } - foreach (var elem in SupportingPatientInformation) { if (elem != null) yield return new ElementValue("supportingPatientInformation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -537,28 +501,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -775,32 +717,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DoseSequenceElement != null) yield return DoseSequenceElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (Authority != null) yield return Authority; - if (SeriesElement != null) yield return SeriesElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DoseSequenceElement != null) yield return new ElementValue("doseSequence", DoseSequenceElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Authority != null) yield return new ElementValue("authority", Authority); - if (SeriesElement != null) yield return new ElementValue("series", SeriesElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -950,30 +866,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Patient != null) yield return Patient; - foreach (var elem in Recommendation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Patient != null) yield return new ElementValue("patient", Patient); - foreach (var elem in Recommendation) { if (elem != null) yield return new ElementValue("recommendation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs b/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs index f0a708cd2..aaf8a8676 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ImplementationGuide.cs @@ -266,28 +266,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UriElement != null) yield return UriElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -470,30 +448,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Resource) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Resource) { if (elem != null) yield return new ElementValue("resource", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -772,36 +726,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ExampleElement != null) yield return ExampleElement; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (AcronymElement != null) yield return AcronymElement; - if (Source != null) yield return Source; - if (ExampleFor != null) yield return ExampleFor; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ExampleElement != null) yield return new ElementValue("example", ExampleElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AcronymElement != null) yield return new ElementValue("acronym", AcronymElement); - if (Source != null) yield return new ElementValue("source", Source); - if (ExampleFor != null) yield return new ElementValue("exampleFor", ExampleFor); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -983,28 +907,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1333,38 +1235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SourceElement != null) yield return SourceElement; - if (TitleElement != null) yield return TitleElement; - if (KindElement != null) yield return KindElement; - foreach (var elem in TypeElement) { if (elem != null) yield return elem; } - foreach (var elem in PackageElement) { if (elem != null) yield return elem; } - if (FormatElement != null) yield return FormatElement; - foreach (var elem in Page) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SourceElement != null) yield return new ElementValue("source", SourceElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - foreach (var elem in TypeElement) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in PackageElement) { if (elem != null) yield return new ElementValue("package", elem); } - if (FormatElement != null) yield return new ElementValue("format", FormatElement); - foreach (var elem in Page) { if (elem != null) yield return new ElementValue("page", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1979,60 +1849,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - if (FhirVersionElement != null) yield return FhirVersionElement; - foreach (var elem in Dependency) { if (elem != null) yield return elem; } - foreach (var elem in Package) { if (elem != null) yield return elem; } - foreach (var elem in Global) { if (elem != null) yield return elem; } - foreach (var elem in BinaryElement) { if (elem != null) yield return elem; } - if (Page != null) yield return Page; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (FhirVersionElement != null) yield return new ElementValue("fhirVersion", FhirVersionElement); - foreach (var elem in Dependency) { if (elem != null) yield return new ElementValue("dependency", elem); } - foreach (var elem in Package) { if (elem != null) yield return new ElementValue("package", elem); } - foreach (var elem in Global) { if (elem != null) yield return new ElementValue("global", elem); } - foreach (var elem in BinaryElement) { if (elem != null) yield return new ElementValue("binary", elem); } - if (Page != null) yield return new ElementValue("page", Page); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Library.cs b/src/Hl7.Fhir.STU3/Model/Generated/Library.cs index b8c8b0114..dc3e41e89 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Library.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Library.cs @@ -785,76 +785,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (Type != null) yield return Type; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - foreach (var elem in Content) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs b/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs index cb9abc280..3ad8f722d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Linkage.cs @@ -196,28 +196,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -367,30 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActiveElement != null) yield return ActiveElement; - if (Author != null) yield return Author; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Author != null) yield return new ElementValue("author", Author); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/List.cs b/src/Hl7.Fhir.STU3/Model/Generated/List.cs index 66d58f595..79c7de9ce 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/List.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/List.cs @@ -247,32 +247,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Flag != null) yield return Flag; - if (DeletedElement != null) yield return DeletedElement; - if (DateElement != null) yield return DateElement; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Flag != null) yield return new ElementValue("flag", Flag); - if (DeletedElement != null) yield return new ElementValue("deleted", DeletedElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -667,50 +641,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ModeElement != null) yield return ModeElement; - if (TitleElement != null) yield return TitleElement; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Encounter != null) yield return Encounter; - if (DateElement != null) yield return DateElement; - if (Source != null) yield return Source; - if (OrderedBy != null) yield return OrderedBy; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Entry) { if (elem != null) yield return elem; } - if (EmptyReason != null) yield return EmptyReason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Source != null) yield return new ElementValue("source", Source); - if (OrderedBy != null) yield return new ElementValue("orderedBy", OrderedBy); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Entry) { if (elem != null) yield return new ElementValue("entry", elem); } - if (EmptyReason != null) yield return new ElementValue("emptyReason", EmptyReason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Location.cs b/src/Hl7.Fhir.STU3/Model/Generated/Location.cs index 4a118ce39..c3a5f2e1d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Location.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Location.cs @@ -268,30 +268,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LongitudeElement != null) yield return LongitudeElement; - if (LatitudeElement != null) yield return LatitudeElement; - if (AltitudeElement != null) yield return AltitudeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LongitudeElement != null) yield return new ElementValue("longitude", LongitudeElement); - if (LatitudeElement != null) yield return new ElementValue("latitude", LatitudeElement); - if (AltitudeElement != null) yield return new ElementValue("altitude", AltitudeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -728,54 +704,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (OperationalStatus != null) yield return OperationalStatus; - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (ModeElement != null) yield return ModeElement; - if (Type != null) yield return Type; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (PhysicalType != null) yield return PhysicalType; - if (Position != null) yield return Position; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (PartOf != null) yield return PartOf; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (OperationalStatus != null) yield return new ElementValue("operationalStatus", OperationalStatus); - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (PhysicalType != null) yield return new ElementValue("physicalType", PhysicalType); - if (Position != null) yield return new ElementValue("position", Position); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs b/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs index e4d0c2025..7fca18080 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Measure.cs @@ -233,34 +233,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Population) { if (elem != null) yield return elem; } - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -514,34 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Code != null) yield return Code; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (CriteriaElement != null) yield return CriteriaElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Code != null) yield return new ElementValue("code", Code); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -743,30 +687,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (CriteriaElement != null) yield return CriteriaElement; - if (PathElement != null) yield return PathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -973,32 +893,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in Usage) { if (elem != null) yield return elem; } - if (CriteriaElement != null) yield return CriteriaElement; - if (PathElement != null) yield return PathElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in Usage) { if (elem != null) yield return new ElementValue("usage", elem); } - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2123,98 +2017,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Library) { if (elem != null) yield return elem; } - if (DisclaimerElement != null) yield return DisclaimerElement; - if (Scoring != null) yield return Scoring; - if (CompositeScoring != null) yield return CompositeScoring; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (RiskAdjustmentElement != null) yield return RiskAdjustmentElement; - if (RateAggregationElement != null) yield return RateAggregationElement; - if (RationaleElement != null) yield return RationaleElement; - if (ClinicalRecommendationStatementElement != null) yield return ClinicalRecommendationStatementElement; - if (ImprovementNotationElement != null) yield return ImprovementNotationElement; - foreach (var elem in DefinitionElement) { if (elem != null) yield return elem; } - if (GuidanceElement != null) yield return GuidanceElement; - if (SetElement != null) yield return SetElement; - foreach (var elem in Group) { if (elem != null) yield return elem; } - foreach (var elem in SupplementalData) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Library) { if (elem != null) yield return new ElementValue("library", elem); } - if (DisclaimerElement != null) yield return new ElementValue("disclaimer", DisclaimerElement); - if (Scoring != null) yield return new ElementValue("scoring", Scoring); - if (CompositeScoring != null) yield return new ElementValue("compositeScoring", CompositeScoring); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (RiskAdjustmentElement != null) yield return new ElementValue("riskAdjustment", RiskAdjustmentElement); - if (RateAggregationElement != null) yield return new ElementValue("rateAggregation", RateAggregationElement); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - if (ClinicalRecommendationStatementElement != null) yield return new ElementValue("clinicalRecommendationStatement", ClinicalRecommendationStatementElement); - if (ImprovementNotationElement != null) yield return new ElementValue("improvementNotation", ImprovementNotationElement); - foreach (var elem in DefinitionElement) { if (elem != null) yield return new ElementValue("definition", elem); } - if (GuidanceElement != null) yield return new ElementValue("guidance", GuidanceElement); - if (SetElement != null) yield return new ElementValue("set", SetElement); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - foreach (var elem in SupplementalData) { if (elem != null) yield return new ElementValue("supplementalData", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs index 1a1867a6b..d9bfbf7b7 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MeasureReport.cs @@ -255,32 +255,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScoreElement != null) yield return MeasureScoreElement; - foreach (var elem in Stratifier) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScoreElement != null) yield return new ElementValue("measureScore", MeasureScoreElement); - foreach (var elem in Stratifier) { if (elem != null) yield return new ElementValue("stratifier", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -476,32 +450,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (Patients != null) yield return Patients; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (Patients != null) yield return new ElementValue("patients", Patients); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -645,28 +593,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in Stratum) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in Stratum) { if (elem != null) yield return new ElementValue("stratum", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -849,30 +775,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValueElement != null) yield return ValueElement; - foreach (var elem in Population) { if (elem != null) yield return elem; } - if (MeasureScoreElement != null) yield return MeasureScoreElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - foreach (var elem in Population) { if (elem != null) yield return new ElementValue("population", elem); } - if (MeasureScoreElement != null) yield return new ElementValue("measureScore", MeasureScoreElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1061,32 +963,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (Code != null) yield return Code; - if (CountElement != null) yield return CountElement; - if (Patients != null) yield return Patients; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (Code != null) yield return new ElementValue("code", Code); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (Patients != null) yield return new ElementValue("patients", Patients); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1414,44 +1290,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (TypeElement != null) yield return TypeElement; - if (Measure != null) yield return Measure; - if (Patient != null) yield return Patient; - if (DateElement != null) yield return DateElement; - if (ReportingOrganization != null) yield return ReportingOrganization; - if (Period != null) yield return Period; - foreach (var elem in Group) { if (elem != null) yield return elem; } - if (EvaluatedResources != null) yield return EvaluatedResources; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (ReportingOrganization != null) yield return new ElementValue("reportingOrganization", ReportingOrganization); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - if (EvaluatedResources != null) yield return new ElementValue("evaluatedResources", EvaluatedResources); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Media.cs b/src/Hl7.Fhir.STU3/Model/Generated/Media.cs index fac66a29a..e47fe1600 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Media.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Media.cs @@ -527,60 +527,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (Subtype != null) yield return Subtype; - if (View != null) yield return View; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - if (Operator != null) yield return Operator; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - if (BodySite != null) yield return BodySite; - if (Device != null) yield return Device; - if (HeightElement != null) yield return HeightElement; - if (WidthElement != null) yield return WidthElement; - if (FramesElement != null) yield return FramesElement; - if (DurationElement != null) yield return DurationElement; - if (Content != null) yield return Content; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Subtype != null) yield return new ElementValue("subtype", Subtype); - if (View != null) yield return new ElementValue("view", View); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Operator != null) yield return new ElementValue("operator", Operator); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Device != null) yield return new ElementValue("device", Device); - if (HeightElement != null) yield return new ElementValue("height", HeightElement); - if (WidthElement != null) yield return new ElementValue("width", WidthElement); - if (FramesElement != null) yield return new ElementValue("frames", FramesElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (Content != null) yield return new ElementValue("content", Content); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs b/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs index ad5144958..a56e84167 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Medication.cs @@ -213,30 +213,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (IsActiveElement != null) yield return IsActiveElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (IsActiveElement != null) yield return new ElementValue("isActive", IsActiveElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -391,30 +367,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Container != null) yield return Container; - foreach (var elem in Content) { if (elem != null) yield return elem; } - foreach (var elem in Batch) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Container != null) yield return new ElementValue("container", Container); - foreach (var elem in Content) { if (elem != null) yield return new ElementValue("content", elem); } - foreach (var elem in Batch) { if (elem != null) yield return new ElementValue("batch", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -554,28 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Item != null) yield return Item; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Item != null) yield return new ElementValue("item", Item); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -740,28 +670,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LotNumberElement != null) yield return LotNumberElement; - if (ExpirationDateElement != null) yield return ExpirationDateElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LotNumberElement != null) yield return new ElementValue("lotNumber", LotNumberElement); - if (ExpirationDateElement != null) yield return new ElementValue("expirationDate", ExpirationDateElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1048,42 +956,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (StatusElement != null) yield return StatusElement; - if (IsBrandElement != null) yield return IsBrandElement; - if (IsOverTheCounterElement != null) yield return IsOverTheCounterElement; - if (Manufacturer != null) yield return Manufacturer; - if (Form != null) yield return Form; - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - if (Package != null) yield return Package; - foreach (var elem in Image) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IsBrandElement != null) yield return new ElementValue("isBrand", IsBrandElement); - if (IsOverTheCounterElement != null) yield return new ElementValue("isOverTheCounter", IsOverTheCounterElement); - if (Manufacturer != null) yield return new ElementValue("manufacturer", Manufacturer); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - if (Package != null) yield return new ElementValue("package", Package); - foreach (var elem in Image) { if (elem != null) yield return new ElementValue("image", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs index 52115c9aa..d22b32271 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationAdministration.cs @@ -198,28 +198,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -435,36 +413,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TextElement != null) yield return TextElement; - if (Site != null) yield return Site; - if (Route != null) yield return Route; - if (Method != null) yield return Method; - if (Dose != null) yield return Dose; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Site != null) yield return new ElementValue("site", Site); - if (Route != null) yield return new ElementValue("route", Route); - if (Method != null) yield return new ElementValue("method", Method); - if (Dose != null) yield return new ElementValue("dose", Dose); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -975,64 +923,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (Effective != null) yield return Effective; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (NotGivenElement != null) yield return NotGivenElement; - foreach (var elem in ReasonNotGiven) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (Prescription != null) yield return Prescription; - foreach (var elem in Device) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - if (Dosage != null) yield return Dosage; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (Effective != null) yield return new ElementValue("effective", Effective); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (NotGivenElement != null) yield return new ElementValue("notGiven", NotGivenElement); - foreach (var elem in ReasonNotGiven) { if (elem != null) yield return new ElementValue("reasonNotGiven", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (Prescription != null) yield return new ElementValue("prescription", Prescription); - foreach (var elem in Device) { if (elem != null) yield return new ElementValue("device", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - if (Dosage != null) yield return new ElementValue("dosage", Dosage); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs index b2ca18dbf..f30ae7564 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationDispense.cs @@ -199,28 +199,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -406,32 +384,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (WasSubstitutedElement != null) yield return WasSubstitutedElement; - if (Type != null) yield return Type; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (WasSubstitutedElement != null) yield return new ElementValue("wasSubstituted", WasSubstitutedElement); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in ResponsibleParty) { if (elem != null) yield return new ElementValue("responsibleParty", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1024,72 +976,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - foreach (var elem in Performer) { if (elem != null) yield return elem; } - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (Quantity != null) yield return Quantity; - if (DaysSupply != null) yield return DaysSupply; - if (WhenPreparedElement != null) yield return WhenPreparedElement; - if (WhenHandedOverElement != null) yield return WhenHandedOverElement; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (Substitution != null) yield return Substitution; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - if (NotDoneElement != null) yield return NotDoneElement; - if (NotDoneReason != null) yield return NotDoneReason; - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - foreach (var elem in AuthorizingPrescription) { if (elem != null) yield return new ElementValue("authorizingPrescription", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (DaysSupply != null) yield return new ElementValue("daysSupply", DaysSupply); - if (WhenPreparedElement != null) yield return new ElementValue("whenPrepared", WhenPreparedElement); - if (WhenHandedOverElement != null) yield return new ElementValue("whenHandedOver", WhenHandedOverElement); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - if (NotDoneElement != null) yield return new ElementValue("notDone", NotDoneElement); - if (NotDoneReason != null) yield return new ElementValue("notDoneReason", NotDoneReason); - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs index b4b91da9f..6c5e17bfd 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationRequest.cs @@ -277,28 +277,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -495,34 +473,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ValidityPeriod != null) yield return ValidityPeriod; - if (NumberOfRepeatsAllowedElement != null) yield return NumberOfRepeatsAllowedElement; - if (Quantity != null) yield return Quantity; - if (ExpectedSupplyDuration != null) yield return ExpectedSupplyDuration; - if (Performer != null) yield return Performer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ValidityPeriod != null) yield return new ElementValue("validityPeriod", ValidityPeriod); - if (NumberOfRepeatsAllowedElement != null) yield return new ElementValue("numberOfRepeatsAllowed", NumberOfRepeatsAllowedElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ExpectedSupplyDuration != null) yield return new ElementValue("expectedSupplyDuration", ExpectedSupplyDuration); - if (Performer != null) yield return new ElementValue("performer", Performer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -692,28 +642,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AllowedElement != null) yield return AllowedElement; - if (Reason != null) yield return Reason; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AllowedElement != null) yield return new ElementValue("allowed", AllowedElement); - if (Reason != null) yield return new ElementValue("reason", Reason); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1297,72 +1225,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (Category != null) yield return Category; - if (PriorityElement != null) yield return PriorityElement; - if (Medication != null) yield return Medication; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - foreach (var elem in SupportingInformation) { if (elem != null) yield return elem; } - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (Recorder != null) yield return Recorder; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in DosageInstruction) { if (elem != null) yield return elem; } - if (DispenseRequest != null) yield return DispenseRequest; - if (Substitution != null) yield return Substitution; - if (PriorPrescription != null) yield return PriorPrescription; - foreach (var elem in DetectedIssue) { if (elem != null) yield return elem; } - foreach (var elem in EventHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (Category != null) yield return new ElementValue("category", Category); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - foreach (var elem in SupportingInformation) { if (elem != null) yield return new ElementValue("supportingInformation", elem); } - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (Recorder != null) yield return new ElementValue("recorder", Recorder); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in DosageInstruction) { if (elem != null) yield return new ElementValue("dosageInstruction", elem); } - if (DispenseRequest != null) yield return new ElementValue("dispenseRequest", DispenseRequest); - if (Substitution != null) yield return new ElementValue("substitution", Substitution); - if (PriorPrescription != null) yield return new ElementValue("priorPrescription", PriorPrescription); - foreach (var elem in DetectedIssue) { if (elem != null) yield return new ElementValue("detectedIssue", elem); } - foreach (var elem in EventHistory) { if (elem != null) yield return new ElementValue("eventHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs b/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs index c0c196ef7..2b6d95c91 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MedicationStatement.cs @@ -573,60 +573,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (Context != null) yield return Context; - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (Medication != null) yield return Medication; - if (Effective != null) yield return Effective; - if (DateAssertedElement != null) yield return DateAssertedElement; - if (InformationSource != null) yield return InformationSource; - if (Subject != null) yield return Subject; - foreach (var elem in DerivedFrom) { if (elem != null) yield return elem; } - if (TakenElement != null) yield return TakenElement; - foreach (var elem in ReasonNotTaken) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Dosage) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (Context != null) yield return new ElementValue("context", Context); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (Medication != null) yield return new ElementValue("medication", Medication); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (DateAssertedElement != null) yield return new ElementValue("dateAsserted", DateAssertedElement); - if (InformationSource != null) yield return new ElementValue("informationSource", InformationSource); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in DerivedFrom) { if (elem != null) yield return new ElementValue("derivedFrom", elem); } - if (TakenElement != null) yield return new ElementValue("taken", TakenElement); - foreach (var elem in ReasonNotTaken) { if (elem != null) yield return new ElementValue("reasonNotTaken", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Dosage) { if (elem != null) yield return new ElementValue("dosage", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs index d93518d85..53217d3f1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MessageDefinition.cs @@ -238,32 +238,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (Profile != null) yield return Profile; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -428,28 +402,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Message != null) yield return Message; - if (SituationElement != null) yield return SituationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Message != null) yield return new ElementValue("message", Message); - if (SituationElement != null) yield return new ElementValue("situation", SituationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1156,70 +1108,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (Base != null) yield return Base; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (Event != null) yield return Event; - if (CategoryElement != null) yield return CategoryElement; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - if (ResponseRequiredElement != null) yield return ResponseRequiredElement; - foreach (var elem in AllowedResponse) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (Base != null) yield return new ElementValue("base", Base); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (Event != null) yield return new ElementValue("event", Event); - if (CategoryElement != null) yield return new ElementValue("category", CategoryElement); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - if (ResponseRequiredElement != null) yield return new ElementValue("responseRequired", ResponseRequiredElement); - foreach (var elem in AllowedResponse) { if (elem != null) yield return new ElementValue("allowedResponse", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs b/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs index bc2dd6c7e..6dcb45fa8 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/MessageHeader.cs @@ -230,30 +230,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Target != null) yield return Target; - if (EndpointElement != null) yield return EndpointElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Target != null) yield return new ElementValue("target", Target); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -510,34 +486,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (SoftwareElement != null) yield return SoftwareElement; - if (VersionElement != null) yield return VersionElement; - if (Contact != null) yield return Contact; - if (EndpointElement != null) yield return EndpointElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (SoftwareElement != null) yield return new ElementValue("software", SoftwareElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (Contact != null) yield return new ElementValue("contact", Contact); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -745,30 +693,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentifierElement != null) yield return IdentifierElement; - if (CodeElement != null) yield return CodeElement; - if (Details != null) yield return Details; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentifierElement != null) yield return new ElementValue("identifier", IdentifierElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (Details != null) yield return new ElementValue("details", Details); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1085,48 +1009,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Event != null) yield return Event; - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Receiver != null) yield return Receiver; - if (Sender != null) yield return Sender; - if (TimestampElement != null) yield return TimestampElement; - if (Enterer != null) yield return Enterer; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - if (Responsible != null) yield return Responsible; - if (Reason != null) yield return Reason; - if (Response != null) yield return Response; - foreach (var elem in Focus) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Event != null) yield return new ElementValue("event", Event); - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Receiver != null) yield return new ElementValue("receiver", Receiver); - if (Sender != null) yield return new ElementValue("sender", Sender); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (Enterer != null) yield return new ElementValue("enterer", Enterer); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - if (Responsible != null) yield return new ElementValue("responsible", Responsible); - if (Reason != null) yield return new ElementValue("reason", Reason); - if (Response != null) yield return new ElementValue("response", Response); - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs b/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs index f412f7b06..019a0e200 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/NamingSystem.cs @@ -333,34 +333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (ValueElement != null) yield return ValueElement; - if (PreferredElement != null) yield return PreferredElement; - if (CommentElement != null) yield return CommentElement; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -846,52 +818,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (ResponsibleElement != null) yield return ResponsibleElement; - if (Type != null) yield return Type; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (UsageElement != null) yield return UsageElement; - foreach (var elem in UniqueId) { if (elem != null) yield return elem; } - if (ReplacedBy != null) yield return ReplacedBy; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (ResponsibleElement != null) yield return new ElementValue("responsible", ResponsibleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - foreach (var elem in UniqueId) { if (elem != null) yield return new ElementValue("uniqueId", elem); } - if (ReplacedBy != null) yield return new ElementValue("replacedBy", ReplacedBy); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs b/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs index aed43586e..1fa6219bc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/NutritionOrder.cs @@ -300,36 +300,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Type) { if (elem != null) yield return elem; } - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - foreach (var elem in Nutrient) { if (elem != null) yield return elem; } - foreach (var elem in Texture) { if (elem != null) yield return elem; } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return elem; } - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - foreach (var elem in Nutrient) { if (elem != null) yield return new ElementValue("nutrient", elem); } - foreach (var elem in Texture) { if (elem != null) yield return new ElementValue("texture", elem); } - foreach (var elem in FluidConsistencyType) { if (elem != null) yield return new ElementValue("fluidConsistencyType", elem); } - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -487,28 +457,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -639,28 +587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Modifier != null) yield return Modifier; - if (FoodType != null) yield return FoodType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Modifier != null) yield return new ElementValue("modifier", Modifier); - if (FoodType != null) yield return new ElementValue("foodType", FoodType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -875,34 +801,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ProductNameElement != null) yield return ProductNameElement; - foreach (var elem in Schedule) { if (elem != null) yield return elem; } - if (Quantity != null) yield return Quantity; - if (InstructionElement != null) yield return InstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ProductNameElement != null) yield return new ElementValue("productName", ProductNameElement); - foreach (var elem in Schedule) { if (elem != null) yield return new ElementValue("schedule", elem); } - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (InstructionElement != null) yield return new ElementValue("instruction", InstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1222,42 +1120,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (BaseFormulaType != null) yield return BaseFormulaType; - if (BaseFormulaProductNameElement != null) yield return BaseFormulaProductNameElement; - if (AdditiveType != null) yield return AdditiveType; - if (AdditiveProductNameElement != null) yield return AdditiveProductNameElement; - if (CaloricDensity != null) yield return CaloricDensity; - if (RouteofAdministration != null) yield return RouteofAdministration; - foreach (var elem in Administration) { if (elem != null) yield return elem; } - if (MaxVolumeToDeliver != null) yield return MaxVolumeToDeliver; - if (AdministrationInstructionElement != null) yield return AdministrationInstructionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (BaseFormulaType != null) yield return new ElementValue("baseFormulaType", BaseFormulaType); - if (BaseFormulaProductNameElement != null) yield return new ElementValue("baseFormulaProductName", BaseFormulaProductNameElement); - if (AdditiveType != null) yield return new ElementValue("additiveType", AdditiveType); - if (AdditiveProductNameElement != null) yield return new ElementValue("additiveProductName", AdditiveProductNameElement); - if (CaloricDensity != null) yield return new ElementValue("caloricDensity", CaloricDensity); - if (RouteofAdministration != null) yield return new ElementValue("routeofAdministration", RouteofAdministration); - foreach (var elem in Administration) { if (elem != null) yield return new ElementValue("administration", elem); } - if (MaxVolumeToDeliver != null) yield return new ElementValue("maxVolumeToDeliver", MaxVolumeToDeliver); - if (AdministrationInstructionElement != null) yield return new ElementValue("administrationInstruction", AdministrationInstructionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1454,30 +1316,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Schedule != null) yield return Schedule; - if (Quantity != null) yield return Quantity; - if (Rate != null) yield return Rate; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Rate != null) yield return new ElementValue("rate", Rate); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1814,48 +1652,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateTimeElement != null) yield return DateTimeElement; - if (Orderer != null) yield return Orderer; - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return elem; } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return elem; } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return elem; } - if (OralDiet != null) yield return OralDiet; - foreach (var elem in Supplement) { if (elem != null) yield return elem; } - if (EnteralFormula != null) yield return EnteralFormula; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateTimeElement != null) yield return new ElementValue("dateTime", DateTimeElement); - if (Orderer != null) yield return new ElementValue("orderer", Orderer); - foreach (var elem in AllergyIntolerance) { if (elem != null) yield return new ElementValue("allergyIntolerance", elem); } - foreach (var elem in FoodPreferenceModifier) { if (elem != null) yield return new ElementValue("foodPreferenceModifier", elem); } - foreach (var elem in ExcludeFoodModifier) { if (elem != null) yield return new ElementValue("excludeFoodModifier", elem); } - if (OralDiet != null) yield return new ElementValue("oralDiet", OralDiet); - foreach (var elem in Supplement) { if (elem != null) yield return new ElementValue("supplement", elem); } - if (EnteralFormula != null) yield return new ElementValue("enteralFormula", EnteralFormula); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs b/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs index fa2ad923a..9fe9f7f13 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Observation.cs @@ -279,36 +279,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Low != null) yield return Low; - if (High != null) yield return High; - if (Type != null) yield return Type; - foreach (var elem in AppliesTo) { if (elem != null) yield return elem; } - if (Age != null) yield return Age; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Low != null) yield return new ElementValue("low", Low); - if (High != null) yield return new ElementValue("high", High); - if (Type != null) yield return new ElementValue("type", Type); - foreach (var elem in AppliesTo) { if (elem != null) yield return new ElementValue("appliesTo", elem); } - if (Age != null) yield return new ElementValue("age", Age); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -489,28 +459,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Target != null) yield return Target; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Target != null) yield return new ElementValue("target", Target); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -695,34 +643,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Code != null) yield return Code; - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - if (Interpretation != null) yield return Interpretation; - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Code != null) yield return new ElementValue("code", Code); - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - if (Interpretation != null) yield return new ElementValue("interpretation", Interpretation); - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1249,66 +1169,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Effective != null) yield return Effective; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Value != null) yield return Value; - if (DataAbsentReason != null) yield return DataAbsentReason; - if (Interpretation != null) yield return Interpretation; - if (CommentElement != null) yield return CommentElement; - if (BodySite != null) yield return BodySite; - if (Method != null) yield return Method; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - foreach (var elem in ReferenceRange) { if (elem != null) yield return elem; } - foreach (var elem in Related) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Effective != null) yield return new ElementValue("effective", Effective); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Value != null) yield return new ElementValue("value", Value); - if (DataAbsentReason != null) yield return new ElementValue("dataAbsentReason", DataAbsentReason); - if (Interpretation != null) yield return new ElementValue("interpretation", Interpretation); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - if (Method != null) yield return new ElementValue("method", Method); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - foreach (var elem in ReferenceRange) { if (elem != null) yield return new ElementValue("referenceRange", elem); } - foreach (var elem in Related) { if (elem != null) yield return new ElementValue("related", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs index 6fc56aeed..2b8c8a567 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/OperationDefinition.cs @@ -436,44 +436,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - if (SearchTypeElement != null) yield return SearchTypeElement; - if (Profile != null) yield return Profile; - if (Binding != null) yield return Binding; - foreach (var elem in Part) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (SearchTypeElement != null) yield return new ElementValue("searchType", SearchTypeElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - if (Binding != null) yield return new ElementValue("binding", Binding); - foreach (var elem in Part) { if (elem != null) yield return new ElementValue("part", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -683,28 +645,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StrengthElement != null) yield return StrengthElement; - if (ValueSet != null) yield return ValueSet; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StrengthElement != null) yield return new ElementValue("strength", StrengthElement); - if (ValueSet != null) yield return new ElementValue("valueSet", ValueSet); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -871,28 +811,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return elem; } - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in ParameterNameElement) { if (elem != null) yield return new ElementValue("parameterName", elem); } - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1669,70 +1587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (KindElement != null) yield return KindElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (IdempotentElement != null) yield return IdempotentElement; - if (CodeElement != null) yield return CodeElement; - if (CommentElement != null) yield return CommentElement; - if (Base != null) yield return Base; - foreach (var elem in ResourceElement) { if (elem != null) yield return elem; } - if (SystemElement != null) yield return SystemElement; - if (TypeElement != null) yield return TypeElement; - if (InstanceElement != null) yield return InstanceElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Overload) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (IdempotentElement != null) yield return new ElementValue("idempotent", IdempotentElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - if (Base != null) yield return new ElementValue("base", Base); - foreach (var elem in ResourceElement) { if (elem != null) yield return new ElementValue("resource", elem); } - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (InstanceElement != null) yield return new ElementValue("instance", InstanceElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Overload) { if (elem != null) yield return new ElementValue("overload", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs b/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs index c6354d7e3..769aa4201 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Organization.cs @@ -180,32 +180,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Purpose != null) yield return Purpose; - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Purpose != null) yield return new ElementValue("purpose", Purpose); - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +502,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Type) { if (elem != null) yield return elem; } - if (NameElement != null) yield return NameElement; - foreach (var elem in AliasElement) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (PartOf != null) yield return PartOf; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Type) { if (elem != null) yield return new ElementValue("type", elem); } - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in AliasElement) { if (elem != null) yield return new ElementValue("alias", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (PartOf != null) yield return new ElementValue("partOf", PartOf); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs index 220a1eace..9c128ed6f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ParameterDefinition.cs @@ -326,38 +326,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (UseElement != null) yield return UseElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (DocumentationElement != null) yield return DocumentationElement; - if (TypeElement != null) yield return TypeElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (UseElement != null) yield return new ElementValue("use", UseElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs b/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs index 1d48b0974..8187fc7f6 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Patient.cs @@ -285,38 +285,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return elem; } - if (Name != null) yield return Name; - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (Address != null) yield return Address; - if (GenderElement != null) yield return GenderElement; - if (Organization != null) yield return Organization; - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Relationship) { if (elem != null) yield return new ElementValue("relationship", elem); } - if (Name != null) yield return new ElementValue("name", Name); - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (Address != null) yield return new ElementValue("address", Address); - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -501,30 +469,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Species != null) yield return Species; - if (Breed != null) yield return Breed; - if (GenderStatus != null) yield return GenderStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Species != null) yield return new ElementValue("species", Species); - if (Breed != null) yield return new ElementValue("breed", Breed); - if (GenderStatus != null) yield return new ElementValue("genderStatus", GenderStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -681,28 +625,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Language != null) yield return Language; - if (PreferredElement != null) yield return PreferredElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Language != null) yield return new ElementValue("language", Language); - if (PreferredElement != null) yield return new ElementValue("preferred", PreferredElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -857,28 +779,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Other != null) yield return Other; - if (TypeElement != null) yield return TypeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Other != null) yield return new ElementValue("other", Other); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1307,58 +1207,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - if (Deceased != null) yield return Deceased; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (MaritalStatus != null) yield return MaritalStatus; - if (MultipleBirth != null) yield return MultipleBirth; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (Animal != null) yield return Animal; - foreach (var elem in Communication) { if (elem != null) yield return elem; } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return elem; } - if (ManagingOrganization != null) yield return ManagingOrganization; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - if (Deceased != null) yield return new ElementValue("deceased", Deceased); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (MaritalStatus != null) yield return new ElementValue("maritalStatus", MaritalStatus); - if (MultipleBirth != null) yield return new ElementValue("multipleBirth", MultipleBirth); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (Animal != null) yield return new ElementValue("animal", Animal); - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - foreach (var elem in GeneralPractitioner) { if (elem != null) yield return new ElementValue("generalPractitioner", elem); } - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs b/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs index d46f01dc0..04e387626 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PaymentNotice.cs @@ -328,44 +328,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (StatusDateElement != null) yield return StatusDateElement; - if (CreatedElement != null) yield return CreatedElement; - if (Target != null) yield return Target; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (PaymentStatus != null) yield return PaymentStatus; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (StatusDateElement != null) yield return new ElementValue("statusDate", StatusDateElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Target != null) yield return new ElementValue("target", Target); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (PaymentStatus != null) yield return new ElementValue("paymentStatus", PaymentStatus); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs b/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs index 4095f0942..58de5b16b 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PaymentReconciliation.cs @@ -254,38 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (Submitter != null) yield return Submitter; - if (Payee != null) yield return Payee; - if (DateElement != null) yield return DateElement; - if (Amount != null) yield return Amount; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (Submitter != null) yield return new ElementValue("submitter", Submitter); - if (Payee != null) yield return new ElementValue("payee", Payee); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (Amount != null) yield return new ElementValue("amount", Amount); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -468,28 +436,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -865,52 +811,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (Request != null) yield return Request; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - if (RequestProvider != null) yield return RequestProvider; - if (RequestOrganization != null) yield return RequestOrganization; - foreach (var elem in Detail) { if (elem != null) yield return elem; } - if (Form != null) yield return Form; - if (Total != null) yield return Total; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Request != null) yield return new ElementValue("request", Request); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - if (RequestOrganization != null) yield return new ElementValue("requestOrganization", RequestOrganization); - foreach (var elem in Detail) { if (elem != null) yield return new ElementValue("detail", elem); } - if (Form != null) yield return new ElementValue("form", Form); - if (Total != null) yield return new ElementValue("total", Total); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Person.cs b/src/Hl7.Fhir.STU3/Model/Generated/Person.cs index 29f72de3f..9133c1db2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Person.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Person.cs @@ -201,28 +201,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Target != null) yield return Target; - if (AssuranceElement != null) yield return AssuranceElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Target != null) yield return new ElementValue("target", Target); - if (AssuranceElement != null) yield return new ElementValue("assurance", AssuranceElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -528,44 +506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (Photo != null) yield return Photo; - if (ManagingOrganization != null) yield return ManagingOrganization; - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Link) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (Photo != null) yield return new ElementValue("photo", Photo); - if (ManagingOrganization != null) yield return new ElementValue("managingOrganization", ManagingOrganization); - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs index 540f98198..8701dd3dc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PlanDefinition.cs @@ -235,38 +235,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Category != null) yield return Category; - if (Description != null) yield return Description; - if (Priority != null) yield return Priority; - if (Start != null) yield return Start; - foreach (var elem in Addresses) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Category != null) yield return new ElementValue("category", Category); - if (Description != null) yield return new ElementValue("description", Description); - if (Priority != null) yield return new ElementValue("priority", Priority); - if (Start != null) yield return new ElementValue("start", Start); - foreach (var elem in Addresses) { if (elem != null) yield return new ElementValue("addresses", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -449,30 +417,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Measure != null) yield return Measure; - if (Detail != null) yield return Detail; - if (Due != null) yield return Due; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Measure != null) yield return new ElementValue("measure", Measure); - if (Detail != null) yield return new ElementValue("detail", Detail); - if (Due != null) yield return new ElementValue("due", Due); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1185,74 +1129,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Reason) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in GoalIdElement) { if (elem != null) yield return elem; } - foreach (var elem in TriggerDefinition) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Definition != null) yield return Definition; - if (Transform != null) yield return Transform; - foreach (var elem in DynamicValue) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in GoalIdElement) { if (elem != null) yield return new ElementValue("goalId", elem); } - foreach (var elem in TriggerDefinition) { if (elem != null) yield return new ElementValue("triggerDefinition", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Definition != null) yield return new ElementValue("definition", Definition); - if (Transform != null) yield return new ElementValue("transform", Transform); - foreach (var elem in DynamicValue) { if (elem != null) yield return new ElementValue("dynamicValue", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1649,32 +1525,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1876,30 +1726,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2057,28 +1883,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (Role != null) yield return Role; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (Role != null) yield return new ElementValue("role", Role); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2311,32 +2115,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (PathElement != null) yield return PathElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3119,76 +2897,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (Type != null) yield return Type; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Library) { if (elem != null) yield return elem; } - foreach (var elem in Goal) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (Type != null) yield return new ElementValue("type", Type); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Library) { if (elem != null) yield return new ElementValue("library", elem); } - foreach (var elem in Goal) { if (elem != null) yield return new ElementValue("goal", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs b/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs index 23014e623..342353d6f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Practitioner.cs @@ -181,32 +181,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Period != null) yield return Period; - if (Issuer != null) yield return Issuer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Period != null) yield return new ElementValue("period", Period); - if (Issuer != null) yield return new ElementValue("issuer", Issuer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -527,44 +501,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in Address) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Photo) { if (elem != null) yield return elem; } - foreach (var elem in Qualification) { if (elem != null) yield return elem; } - foreach (var elem in Communication) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - foreach (var elem in Qualification) { if (elem != null) yield return new ElementValue("qualification", elem); } - foreach (var elem in Communication) { if (elem != null) yield return new ElementValue("communication", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs b/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs index 2d950da41..56d5361d2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/PractitionerRole.cs @@ -254,32 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return elem; } - if (AllDayElement != null) yield return AllDayElement; - if (AvailableStartTimeElement != null) yield return AvailableStartTimeElement; - if (AvailableEndTimeElement != null) yield return AvailableEndTimeElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in DaysOfWeekElement) { if (elem != null) yield return new ElementValue("daysOfWeek", elem); } - if (AllDayElement != null) yield return new ElementValue("allDay", AllDayElement); - if (AvailableStartTimeElement != null) yield return new ElementValue("availableStartTime", AvailableStartTimeElement); - if (AvailableEndTimeElement != null) yield return new ElementValue("availableEndTime", AvailableEndTimeElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -441,28 +415,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (During != null) yield return During; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (During != null) yield return new ElementValue("during", During); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -826,52 +778,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Period != null) yield return Period; - if (Practitioner != null) yield return Practitioner; - if (Organization != null) yield return Organization; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Location) { if (elem != null) yield return elem; } - foreach (var elem in HealthcareService) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - foreach (var elem in AvailableTime) { if (elem != null) yield return elem; } - foreach (var elem in NotAvailable) { if (elem != null) yield return elem; } - if (AvailabilityExceptionsElement != null) yield return AvailabilityExceptionsElement; - foreach (var elem in Endpoint) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Practitioner != null) yield return new ElementValue("practitioner", Practitioner); - if (Organization != null) yield return new ElementValue("organization", Organization); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Location) { if (elem != null) yield return new ElementValue("location", elem); } - foreach (var elem in HealthcareService) { if (elem != null) yield return new ElementValue("healthcareService", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - foreach (var elem in AvailableTime) { if (elem != null) yield return new ElementValue("availableTime", elem); } - foreach (var elem in NotAvailable) { if (elem != null) yield return new ElementValue("notAvailable", elem); } - if (AvailabilityExceptionsElement != null) yield return new ElementValue("availabilityExceptions", AvailabilityExceptionsElement); - foreach (var elem in Endpoint) { if (elem != null) yield return new ElementValue("endpoint", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs b/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs index 16daa128e..415cd81e4 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Procedure.cs @@ -168,30 +168,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Role != null) yield return Role; - if (Actor != null) yield return Actor; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Role != null) yield return new ElementValue("role", Role); - if (Actor != null) yield return new ElementValue("actor", Actor); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -331,28 +307,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Action != null) yield return Action; - if (Manipulated != null) yield return Manipulated; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Action != null) yield return new ElementValue("action", Action); - if (Manipulated != null) yield return new ElementValue("manipulated", Manipulated); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -938,76 +892,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (NotDoneElement != null) yield return NotDoneElement; - if (NotDoneReason != null) yield return NotDoneReason; - if (Category != null) yield return Category; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Performed != null) yield return Performed; - foreach (var elem in Performer) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - if (Outcome != null) yield return Outcome; - foreach (var elem in Report) { if (elem != null) yield return elem; } - foreach (var elem in Complication) { if (elem != null) yield return elem; } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return elem; } - foreach (var elem in FollowUp) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in FocalDevice) { if (elem != null) yield return elem; } - foreach (var elem in UsedReference) { if (elem != null) yield return elem; } - foreach (var elem in UsedCode) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (NotDoneElement != null) yield return new ElementValue("notDone", NotDoneElement); - if (NotDoneReason != null) yield return new ElementValue("notDoneReason", NotDoneReason); - if (Category != null) yield return new ElementValue("category", Category); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Performed != null) yield return new ElementValue("performed", Performed); - foreach (var elem in Performer) { if (elem != null) yield return new ElementValue("performer", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - foreach (var elem in Report) { if (elem != null) yield return new ElementValue("report", elem); } - foreach (var elem in Complication) { if (elem != null) yield return new ElementValue("complication", elem); } - foreach (var elem in ComplicationDetail) { if (elem != null) yield return new ElementValue("complicationDetail", elem); } - foreach (var elem in FollowUp) { if (elem != null) yield return new ElementValue("followUp", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in FocalDevice) { if (elem != null) yield return new ElementValue("focalDevice", elem); } - foreach (var elem in UsedReference) { if (elem != null) yield return new ElementValue("usedReference", elem); } - foreach (var elem in UsedCode) { if (elem != null) yield return new ElementValue("usedCode", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs index 980657cba..84dbebb66 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcedureRequest.cs @@ -152,28 +152,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -814,76 +792,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (Requisition != null) yield return Requisition; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (DoNotPerformElement != null) yield return DoNotPerformElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - if (AsNeeded != null) yield return AsNeeded; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (PerformerType != null) yield return PerformerType; - if (Performer != null) yield return Performer; - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Specimen) { if (elem != null) yield return elem; } - foreach (var elem in BodySite) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (Requisition != null) yield return new ElementValue("requisition", Requisition); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (DoNotPerformElement != null) yield return new ElementValue("doNotPerform", DoNotPerformElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AsNeeded != null) yield return new ElementValue("asNeeded", AsNeeded); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (PerformerType != null) yield return new ElementValue("performerType", PerformerType); - if (Performer != null) yield return new ElementValue("performer", Performer); - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Specimen) { if (elem != null) yield return new ElementValue("specimen", elem); } - foreach (var elem in BodySite) { if (elem != null) yield return new ElementValue("bodySite", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs index f60c98e31..edabb03ea 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcessRequest.cs @@ -183,26 +183,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SequenceLinkIdElement != null) yield return SequenceLinkIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SequenceLinkIdElement != null) yield return new ElementValue("sequenceLinkId", SequenceLinkIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -662,54 +642,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (ActionElement != null) yield return ActionElement; - if (Target != null) yield return Target; - if (CreatedElement != null) yield return CreatedElement; - if (Provider != null) yield return Provider; - if (Organization != null) yield return Organization; - if (Request != null) yield return Request; - if (Response != null) yield return Response; - if (NullifyElement != null) yield return NullifyElement; - if (ReferenceElement != null) yield return ReferenceElement; - foreach (var elem in Item) { if (elem != null) yield return elem; } - foreach (var elem in IncludeElement) { if (elem != null) yield return elem; } - foreach (var elem in ExcludeElement) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ActionElement != null) yield return new ElementValue("action", ActionElement); - if (Target != null) yield return new ElementValue("target", Target); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Provider != null) yield return new ElementValue("provider", Provider); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Request != null) yield return new ElementValue("request", Request); - if (Response != null) yield return new ElementValue("response", Response); - if (NullifyElement != null) yield return new ElementValue("nullify", NullifyElement); - if (ReferenceElement != null) yield return new ElementValue("reference", ReferenceElement); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - foreach (var elem in IncludeElement) { if (elem != null) yield return new ElementValue("include", elem); } - foreach (var elem in ExcludeElement) { if (elem != null) yield return new ElementValue("exclude", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs index 9ef14b0df..224d9b5ee 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ProcessResponse.cs @@ -165,28 +165,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (TextElement != null) yield return TextElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (TextElement != null) yield return new ElementValue("text", TextElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -550,50 +528,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (CreatedElement != null) yield return CreatedElement; - if (Organization != null) yield return Organization; - if (Request != null) yield return Request; - if (Outcome != null) yield return Outcome; - if (DispositionElement != null) yield return DispositionElement; - if (RequestProvider != null) yield return RequestProvider; - if (RequestOrganization != null) yield return RequestOrganization; - if (Form != null) yield return Form; - foreach (var elem in ProcessNote) { if (elem != null) yield return elem; } - foreach (var elem in Error) { if (elem != null) yield return elem; } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (CreatedElement != null) yield return new ElementValue("created", CreatedElement); - if (Organization != null) yield return new ElementValue("organization", Organization); - if (Request != null) yield return new ElementValue("request", Request); - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (DispositionElement != null) yield return new ElementValue("disposition", DispositionElement); - if (RequestProvider != null) yield return new ElementValue("requestProvider", RequestProvider); - if (RequestOrganization != null) yield return new ElementValue("requestOrganization", RequestOrganization); - if (Form != null) yield return new ElementValue("form", Form); - foreach (var elem in ProcessNote) { if (elem != null) yield return new ElementValue("processNote", elem); } - foreach (var elem in Error) { if (elem != null) yield return new ElementValue("error", elem); } - foreach (var elem in CommunicationRequest) { if (elem != null) yield return new ElementValue("communicationRequest", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs b/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs index 741385b69..6ed7d1d52 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Provenance.cs @@ -230,32 +230,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Role) { if (elem != null) yield return elem; } - if (Who != null) yield return Who; - if (OnBehalfOf != null) yield return OnBehalfOf; - if (RelatedAgentType != null) yield return RelatedAgentType; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Role) { if (elem != null) yield return new ElementValue("role", elem); } - if (Who != null) yield return new ElementValue("who", Who); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - if (RelatedAgentType != null) yield return new ElementValue("relatedAgentType", RelatedAgentType); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -440,30 +414,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RoleElement != null) yield return RoleElement; - if (What != null) yield return What; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RoleElement != null) yield return new ElementValue("role", RoleElement); - if (What != null) yield return new ElementValue("what", What); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -760,44 +710,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Target) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (RecordedElement != null) yield return RecordedElement; - foreach (var elem in PolicyElement) { if (elem != null) yield return elem; } - if (Location != null) yield return Location; - foreach (var elem in Reason) { if (elem != null) yield return elem; } - if (Activity != null) yield return Activity; - foreach (var elem in Agent) { if (elem != null) yield return elem; } - foreach (var elem in Entity) { if (elem != null) yield return elem; } - foreach (var elem in Signature) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (RecordedElement != null) yield return new ElementValue("recorded", RecordedElement); - foreach (var elem in PolicyElement) { if (elem != null) yield return new ElementValue("policy", elem); } - if (Location != null) yield return new ElementValue("location", Location); - foreach (var elem in Reason) { if (elem != null) yield return new ElementValue("reason", elem); } - if (Activity != null) yield return new ElementValue("activity", Activity); - foreach (var elem in Agent) { if (elem != null) yield return new ElementValue("agent", elem); } - foreach (var elem in Entity) { if (elem != null) yield return new ElementValue("entity", elem); } - foreach (var elem in Signature) { if (elem != null) yield return new ElementValue("signature", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs b/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs index 90af878cc..969afd901 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Questionnaire.cs @@ -638,54 +638,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - if (PrefixElement != null) yield return PrefixElement; - if (TextElement != null) yield return TextElement; - if (TypeElement != null) yield return TypeElement; - foreach (var elem in EnableWhen) { if (elem != null) yield return elem; } - if (RequiredElement != null) yield return RequiredElement; - if (RepeatsElement != null) yield return RepeatsElement; - if (ReadOnlyElement != null) yield return ReadOnlyElement; - if (MaxLengthElement != null) yield return MaxLengthElement; - if (Options != null) yield return Options; - foreach (var elem in Option) { if (elem != null) yield return elem; } - if (Initial != null) yield return Initial; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - if (PrefixElement != null) yield return new ElementValue("prefix", PrefixElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - foreach (var elem in EnableWhen) { if (elem != null) yield return new ElementValue("enableWhen", elem); } - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (RepeatsElement != null) yield return new ElementValue("repeats", RepeatsElement); - if (ReadOnlyElement != null) yield return new ElementValue("readOnly", ReadOnlyElement); - if (MaxLengthElement != null) yield return new ElementValue("maxLength", MaxLengthElement); - if (Options != null) yield return new ElementValue("options", Options); - foreach (var elem in Option) { if (elem != null) yield return new ElementValue("option", elem); } - if (Initial != null) yield return new ElementValue("initial", Initial); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -964,30 +916,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (QuestionElement != null) yield return QuestionElement; - if (HasAnswerElement != null) yield return HasAnswerElement; - if (Answer != null) yield return Answer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (QuestionElement != null) yield return new ElementValue("question", QuestionElement); - if (HasAnswerElement != null) yield return new ElementValue("hasAnswer", HasAnswerElement); - if (Answer != null) yield return new ElementValue("answer", Answer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1112,26 +1040,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1809,66 +1717,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in SubjectTypeElement) { if (elem != null) yield return new ElementValue("subjectType", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs b/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs index 5692cd751..ae392084c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/QuestionnaireResponse.cs @@ -311,36 +311,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LinkIdElement != null) yield return LinkIdElement; - if (DefinitionElement != null) yield return DefinitionElement; - if (TextElement != null) yield return TextElement; - if (Subject != null) yield return Subject; - foreach (var elem in Answer) { if (elem != null) yield return elem; } - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LinkIdElement != null) yield return new ElementValue("linkId", LinkIdElement); - if (DefinitionElement != null) yield return new ElementValue("definition", DefinitionElement); - if (TextElement != null) yield return new ElementValue("text", TextElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - foreach (var elem in Answer) { if (elem != null) yield return new ElementValue("answer", elem); } - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -503,28 +473,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -839,46 +787,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Parent) { if (elem != null) yield return elem; } - if (Questionnaire != null) yield return Questionnaire; - if (StatusElement != null) yield return StatusElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (AuthoredElement != null) yield return AuthoredElement; - if (Author != null) yield return Author; - if (Source != null) yield return Source; - foreach (var elem in Item) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - if (Questionnaire != null) yield return new ElementValue("questionnaire", Questionnaire); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (AuthoredElement != null) yield return new ElementValue("authored", AuthoredElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Source != null) yield return new ElementValue("source", Source); - foreach (var elem in Item) { if (elem != null) yield return new ElementValue("item", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs b/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs index 5a5978694..0930b1525 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Ratio.cs @@ -130,28 +130,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Numerator != null) yield return Numerator; - if (Denominator != null) yield return Denominator; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Numerator != null) yield return new ElementValue("numerator", Numerator); - if (Denominator != null) yield return new ElementValue("denominator", Denominator); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs index 89ca74ffd..1320b9399 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ReferralRequest.cs @@ -151,28 +151,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -757,70 +735,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (Type != null) yield return Type; - if (PriorityElement != null) yield return PriorityElement; - foreach (var elem in ServiceRequested) { if (elem != null) yield return elem; } - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - if (Specialty != null) yield return Specialty; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - foreach (var elem in ReasonCode) { if (elem != null) yield return elem; } - foreach (var elem in ReasonReference) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in SupportingInfo) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (Type != null) yield return new ElementValue("type", Type); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - foreach (var elem in ServiceRequested) { if (elem != null) yield return new ElementValue("serviceRequested", elem); } - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - if (Specialty != null) yield return new ElementValue("specialty", Specialty); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - foreach (var elem in ReasonCode) { if (elem != null) yield return new ElementValue("reasonCode", elem); } - foreach (var elem in ReasonReference) { if (elem != null) yield return new ElementValue("reasonReference", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in SupportingInfo) { if (elem != null) yield return new ElementValue("supportingInfo", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs b/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs index 67bf204ef..aa507447f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RelatedArtifact.cs @@ -331,36 +331,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (DisplayElement != null) yield return DisplayElement; - if (CitationElement != null) yield return CitationElement; - if (UrlElement != null) yield return UrlElement; - if (Document != null) yield return Document; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - if (CitationElement != null) yield return new ElementValue("citation", CitationElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Document != null) yield return new ElementValue("document", Document); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs b/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs index df67d4d43..b901e245d 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RelatedPerson.cs @@ -341,46 +341,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (Patient != null) yield return Patient; - if (Relationship != null) yield return Relationship; - foreach (var elem in Name) { if (elem != null) yield return elem; } - foreach (var elem in Telecom) { if (elem != null) yield return elem; } - if (GenderElement != null) yield return GenderElement; - if (BirthDateElement != null) yield return BirthDateElement; - foreach (var elem in Address) { if (elem != null) yield return elem; } - foreach (var elem in Photo) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Relationship != null) yield return new ElementValue("relationship", Relationship); - foreach (var elem in Name) { if (elem != null) yield return new ElementValue("name", elem); } - foreach (var elem in Telecom) { if (elem != null) yield return new ElementValue("telecom", elem); } - if (GenderElement != null) yield return new ElementValue("gender", GenderElement); - if (BirthDateElement != null) yield return new ElementValue("birthDate", BirthDateElement); - foreach (var elem in Address) { if (elem != null) yield return new ElementValue("address", elem); } - foreach (var elem in Photo) { if (elem != null) yield return new ElementValue("photo", elem); } - if (Period != null) yield return new ElementValue("period", Period); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs b/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs index 74e586350..b3425ff1f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RequestGroup.cs @@ -587,60 +587,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (TitleElement != null) yield return TitleElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (TextEquivalentElement != null) yield return TextEquivalentElement; - foreach (var elem in Code) { if (elem != null) yield return elem; } - foreach (var elem in Documentation) { if (elem != null) yield return elem; } - foreach (var elem in Condition) { if (elem != null) yield return elem; } - foreach (var elem in RelatedAction) { if (elem != null) yield return elem; } - if (Timing != null) yield return Timing; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Type != null) yield return Type; - if (GroupingBehaviorElement != null) yield return GroupingBehaviorElement; - if (SelectionBehaviorElement != null) yield return SelectionBehaviorElement; - if (RequiredBehaviorElement != null) yield return RequiredBehaviorElement; - if (PrecheckBehaviorElement != null) yield return PrecheckBehaviorElement; - if (CardinalityBehaviorElement != null) yield return CardinalityBehaviorElement; - if (Resource != null) yield return Resource; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (TextEquivalentElement != null) yield return new ElementValue("textEquivalent", TextEquivalentElement); - foreach (var elem in Code) { if (elem != null) yield return new ElementValue("code", elem); } - foreach (var elem in Documentation) { if (elem != null) yield return new ElementValue("documentation", elem); } - foreach (var elem in Condition) { if (elem != null) yield return new ElementValue("condition", elem); } - foreach (var elem in RelatedAction) { if (elem != null) yield return new ElementValue("relatedAction", elem); } - if (Timing != null) yield return new ElementValue("timing", Timing); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Type != null) yield return new ElementValue("type", Type); - if (GroupingBehaviorElement != null) yield return new ElementValue("groupingBehavior", GroupingBehaviorElement); - if (SelectionBehaviorElement != null) yield return new ElementValue("selectionBehavior", SelectionBehaviorElement); - if (RequiredBehaviorElement != null) yield return new ElementValue("requiredBehavior", RequiredBehaviorElement); - if (PrecheckBehaviorElement != null) yield return new ElementValue("precheckBehavior", PrecheckBehaviorElement); - if (CardinalityBehaviorElement != null) yield return new ElementValue("cardinalityBehavior", CardinalityBehaviorElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -988,32 +934,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (KindElement != null) yield return KindElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (LanguageElement != null) yield return LanguageElement; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1214,30 +1134,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ActionIdElement != null) yield return ActionIdElement; - if (RelationshipElement != null) yield return RelationshipElement; - if (Offset != null) yield return Offset; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ActionIdElement != null) yield return new ElementValue("actionId", ActionIdElement); - if (RelationshipElement != null) yield return new ElementValue("relationship", RelationshipElement); - if (Offset != null) yield return new ElementValue("offset", Offset); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1668,54 +1564,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - foreach (var elem in Definition) { if (elem != null) yield return elem; } - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in Replaces) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - if (StatusElement != null) yield return StatusElement; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Author != null) yield return Author; - if (Reason != null) yield return Reason; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - foreach (var elem in Definition) { if (elem != null) yield return new ElementValue("definition", elem); } - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in Replaces) { if (elem != null) yield return new ElementValue("replaces", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Author != null) yield return new ElementValue("author", Author); - if (Reason != null) yield return new ElementValue("reason", Reason); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs b/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs index f791d6201..26cfc2c69 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ResearchStudy.cs @@ -246,30 +246,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -765,64 +741,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TitleElement != null) yield return TitleElement; - foreach (var elem in Protocol) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - foreach (var elem in Focus) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Enrollment) { if (elem != null) yield return elem; } - if (Period != null) yield return Period; - if (Sponsor != null) yield return Sponsor; - if (PrincipalInvestigator != null) yield return PrincipalInvestigator; - foreach (var elem in Site) { if (elem != null) yield return elem; } - if (ReasonStopped != null) yield return ReasonStopped; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in Arm) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - foreach (var elem in Protocol) { if (elem != null) yield return new ElementValue("protocol", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - foreach (var elem in Focus) { if (elem != null) yield return new ElementValue("focus", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Enrollment) { if (elem != null) yield return new ElementValue("enrollment", elem); } - if (Period != null) yield return new ElementValue("period", Period); - if (Sponsor != null) yield return new ElementValue("sponsor", Sponsor); - if (PrincipalInvestigator != null) yield return new ElementValue("principalInvestigator", PrincipalInvestigator); - foreach (var elem in Site) { if (elem != null) yield return new ElementValue("site", elem); } - if (ReasonStopped != null) yield return new ElementValue("reasonStopped", ReasonStopped); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in Arm) { if (elem != null) yield return new ElementValue("arm", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs b/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs index 92bbb0adf..7b3e0a99c 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ResearchSubject.cs @@ -340,40 +340,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Period != null) yield return Period; - if (Study != null) yield return Study; - if (Individual != null) yield return Individual; - if (AssignedArmElement != null) yield return AssignedArmElement; - if (ActualArmElement != null) yield return ActualArmElement; - if (Consent != null) yield return Consent; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Period != null) yield return new ElementValue("period", Period); - if (Study != null) yield return new ElementValue("study", Study); - if (Individual != null) yield return new ElementValue("individual", Individual); - if (AssignedArmElement != null) yield return new ElementValue("assignedArm", AssignedArmElement); - if (ActualArmElement != null) yield return new ElementValue("actualArm", ActualArmElement); - if (Consent != null) yield return new ElementValue("consent", Consent); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs b/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs index 298c2be39..422f81333 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/RiskAssessment.cs @@ -254,36 +254,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Outcome != null) yield return Outcome; - if (Probability != null) yield return Probability; - if (QualitativeRisk != null) yield return QualitativeRisk; - if (RelativeRiskElement != null) yield return RelativeRiskElement; - if (When != null) yield return When; - if (RationaleElement != null) yield return RationaleElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Outcome != null) yield return new ElementValue("outcome", Outcome); - if (Probability != null) yield return new ElementValue("probability", Probability); - if (QualitativeRisk != null) yield return new ElementValue("qualitativeRisk", QualitativeRisk); - if (RelativeRiskElement != null) yield return new ElementValue("relativeRisk", RelativeRiskElement); - if (When != null) yield return new ElementValue("when", When); - if (RationaleElement != null) yield return new ElementValue("rationale", RationaleElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -729,56 +699,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (BasedOn != null) yield return BasedOn; - if (Parent != null) yield return Parent; - if (StatusElement != null) yield return StatusElement; - if (Method != null) yield return Method; - if (Code != null) yield return Code; - if (Subject != null) yield return Subject; - if (Context != null) yield return Context; - if (Occurrence != null) yield return Occurrence; - if (Condition != null) yield return Condition; - if (Performer != null) yield return Performer; - if (Reason != null) yield return Reason; - foreach (var elem in Basis) { if (elem != null) yield return elem; } - foreach (var elem in Prediction) { if (elem != null) yield return elem; } - if (MitigationElement != null) yield return MitigationElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (BasedOn != null) yield return new ElementValue("basedOn", BasedOn); - if (Parent != null) yield return new ElementValue("parent", Parent); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Method != null) yield return new ElementValue("method", Method); - if (Code != null) yield return new ElementValue("code", Code); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (Context != null) yield return new ElementValue("context", Context); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Condition != null) yield return new ElementValue("condition", Condition); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Reason != null) yield return new ElementValue("reason", Reason); - foreach (var elem in Basis) { if (elem != null) yield return new ElementValue("basis", elem); } - foreach (var elem in Prediction) { if (elem != null) yield return new ElementValue("prediction", elem); } - if (MitigationElement != null) yield return new ElementValue("mitigation", MitigationElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs b/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs index b4032448c..89f1266a1 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SampledData.cs @@ -323,38 +323,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Origin != null) yield return Origin; - if (PeriodElement != null) yield return PeriodElement; - if (FactorElement != null) yield return FactorElement; - if (LowerLimitElement != null) yield return LowerLimitElement; - if (UpperLimitElement != null) yield return UpperLimitElement; - if (DimensionsElement != null) yield return DimensionsElement; - if (DataElement != null) yield return DataElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Origin != null) yield return new ElementValue("origin", Origin); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (FactorElement != null) yield return new ElementValue("factor", FactorElement); - if (LowerLimitElement != null) yield return new ElementValue("lowerLimit", LowerLimitElement); - if (UpperLimitElement != null) yield return new ElementValue("upperLimit", UpperLimitElement); - if (DimensionsElement != null) yield return new ElementValue("dimensions", DimensionsElement); - if (DataElement != null) yield return new ElementValue("data", DataElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs b/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs index f71812d1d..4c7ec3975 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Schedule.cs @@ -270,40 +270,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ActiveElement != null) yield return ActiveElement; - if (ServiceCategory != null) yield return ServiceCategory; - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - foreach (var elem in Actor) { if (elem != null) yield return elem; } - if (PlanningHorizon != null) yield return PlanningHorizon; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ActiveElement != null) yield return new ElementValue("active", ActiveElement); - if (ServiceCategory != null) yield return new ElementValue("serviceCategory", ServiceCategory); - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - foreach (var elem in Actor) { if (elem != null) yield return new ElementValue("actor", elem); } - if (PlanningHorizon != null) yield return new ElementValue("planningHorizon", PlanningHorizon); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs b/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs index beb376138..537d4571a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SearchParameter.cs @@ -343,28 +343,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Definition != null) yield return Definition; - if (ExpressionElement != null) yield return ExpressionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Definition != null) yield return new ElementValue("definition", Definition); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1219,72 +1197,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CodeElement != null) yield return CodeElement; - foreach (var elem in BaseElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (DerivedFromElement != null) yield return DerivedFromElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (XpathElement != null) yield return XpathElement; - if (XpathUsageElement != null) yield return XpathUsageElement; - foreach (var elem in TargetElement) { if (elem != null) yield return elem; } - foreach (var elem in ComparatorElement) { if (elem != null) yield return elem; } - foreach (var elem in ModifierElement) { if (elem != null) yield return elem; } - foreach (var elem in ChainElement) { if (elem != null) yield return elem; } - foreach (var elem in Component) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - foreach (var elem in BaseElement) { if (elem != null) yield return new ElementValue("base", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DerivedFromElement != null) yield return new ElementValue("derivedFrom", DerivedFromElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (XpathElement != null) yield return new ElementValue("xpath", XpathElement); - if (XpathUsageElement != null) yield return new ElementValue("xpathUsage", XpathUsageElement); - foreach (var elem in TargetElement) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in ComparatorElement) { if (elem != null) yield return new ElementValue("comparator", elem); } - foreach (var elem in ModifierElement) { if (elem != null) yield return new ElementValue("modifier", elem); } - foreach (var elem in ChainElement) { if (elem != null) yield return new ElementValue("chain", elem); } - foreach (var elem in Component) { if (elem != null) yield return new ElementValue("component", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs b/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs index 5b6358895..74c809ffa 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Sequence.cs @@ -406,40 +406,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Chromosome != null) yield return Chromosome; - if (GenomeBuildElement != null) yield return GenomeBuildElement; - if (ReferenceSeqId != null) yield return ReferenceSeqId; - if (ReferenceSeqPointer != null) yield return ReferenceSeqPointer; - if (ReferenceSeqStringElement != null) yield return ReferenceSeqStringElement; - if (StrandElement != null) yield return StrandElement; - if (WindowStartElement != null) yield return WindowStartElement; - if (WindowEndElement != null) yield return WindowEndElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Chromosome != null) yield return new ElementValue("chromosome", Chromosome); - if (GenomeBuildElement != null) yield return new ElementValue("genomeBuild", GenomeBuildElement); - if (ReferenceSeqId != null) yield return new ElementValue("referenceSeqId", ReferenceSeqId); - if (ReferenceSeqPointer != null) yield return new ElementValue("referenceSeqPointer", ReferenceSeqPointer); - if (ReferenceSeqStringElement != null) yield return new ElementValue("referenceSeqString", ReferenceSeqStringElement); - if (StrandElement != null) yield return new ElementValue("strand", StrandElement); - if (WindowStartElement != null) yield return new ElementValue("windowStart", WindowStartElement); - if (WindowEndElement != null) yield return new ElementValue("windowEnd", WindowEndElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -766,36 +732,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (ObservedAlleleElement != null) yield return ObservedAlleleElement; - if (ReferenceAlleleElement != null) yield return ReferenceAlleleElement; - if (CigarElement != null) yield return CigarElement; - if (VariantPointer != null) yield return VariantPointer; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ObservedAlleleElement != null) yield return new ElementValue("observedAllele", ObservedAlleleElement); - if (ReferenceAlleleElement != null) yield return new ElementValue("referenceAllele", ReferenceAlleleElement); - if (CigarElement != null) yield return new ElementValue("cigar", CigarElement); - if (VariantPointer != null) yield return new ElementValue("variantPointer", VariantPointer); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1347,52 +1283,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (StandardSequence != null) yield return StandardSequence; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (Score != null) yield return Score; - if (Method != null) yield return Method; - if (TruthTPElement != null) yield return TruthTPElement; - if (QueryTPElement != null) yield return QueryTPElement; - if (TruthFNElement != null) yield return TruthFNElement; - if (QueryFPElement != null) yield return QueryFPElement; - if (GtFPElement != null) yield return GtFPElement; - if (PrecisionElement != null) yield return PrecisionElement; - if (RecallElement != null) yield return RecallElement; - if (FScoreElement != null) yield return FScoreElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (StandardSequence != null) yield return new ElementValue("standardSequence", StandardSequence); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (Score != null) yield return new ElementValue("score", Score); - if (Method != null) yield return new ElementValue("method", Method); - if (TruthTPElement != null) yield return new ElementValue("truthTP", TruthTPElement); - if (QueryTPElement != null) yield return new ElementValue("queryTP", QueryTPElement); - if (TruthFNElement != null) yield return new ElementValue("truthFN", TruthFNElement); - if (QueryFPElement != null) yield return new ElementValue("queryFP", QueryFPElement); - if (GtFPElement != null) yield return new ElementValue("gtFP", GtFPElement); - if (PrecisionElement != null) yield return new ElementValue("precision", PrecisionElement); - if (RecallElement != null) yield return new ElementValue("recall", RecallElement); - if (FScoreElement != null) yield return new ElementValue("fScore", FScoreElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1780,36 +1670,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UrlElement != null) yield return UrlElement; - if (NameElement != null) yield return NameElement; - if (DatasetIdElement != null) yield return DatasetIdElement; - if (VariantsetIdElement != null) yield return VariantsetIdElement; - if (ReadsetIdElement != null) yield return ReadsetIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DatasetIdElement != null) yield return new ElementValue("datasetId", DatasetIdElement); - if (VariantsetIdElement != null) yield return new ElementValue("variantsetId", VariantsetIdElement); - if (ReadsetIdElement != null) yield return new ElementValue("readsetId", ReadsetIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2249,54 +2109,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (CoordinateSystemElement != null) yield return CoordinateSystemElement; - if (Patient != null) yield return Patient; - if (Specimen != null) yield return Specimen; - if (Device != null) yield return Device; - if (Performer != null) yield return Performer; - if (Quantity != null) yield return Quantity; - if (ReferenceSeq != null) yield return ReferenceSeq; - foreach (var elem in Variant) { if (elem != null) yield return elem; } - if (ObservedSeqElement != null) yield return ObservedSeqElement; - foreach (var elem in Quality) { if (elem != null) yield return elem; } - if (ReadCoverageElement != null) yield return ReadCoverageElement; - foreach (var elem in Repository) { if (elem != null) yield return elem; } - foreach (var elem in Pointer) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (CoordinateSystemElement != null) yield return new ElementValue("coordinateSystem", CoordinateSystemElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Specimen != null) yield return new ElementValue("specimen", Specimen); - if (Device != null) yield return new ElementValue("device", Device); - if (Performer != null) yield return new ElementValue("performer", Performer); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (ReferenceSeq != null) yield return new ElementValue("referenceSeq", ReferenceSeq); - foreach (var elem in Variant) { if (elem != null) yield return new ElementValue("variant", elem); } - if (ObservedSeqElement != null) yield return new ElementValue("observedSeq", ObservedSeqElement); - foreach (var elem in Quality) { if (elem != null) yield return new ElementValue("quality", elem); } - if (ReadCoverageElement != null) yield return new ElementValue("readCoverage", ReadCoverageElement); - foreach (var elem in Repository) { if (elem != null) yield return new ElementValue("repository", elem); } - foreach (var elem in Pointer) { if (elem != null) yield return new ElementValue("pointer", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs index c44ebd7f4..022606ffc 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ServiceDefinition.cs @@ -768,74 +768,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (PurposeElement != null) yield return PurposeElement; - if (UsageElement != null) yield return UsageElement; - if (ApprovalDateElement != null) yield return ApprovalDateElement; - if (LastReviewDateElement != null) yield return LastReviewDateElement; - if (EffectivePeriod != null) yield return EffectivePeriod; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - foreach (var elem in Topic) { if (elem != null) yield return elem; } - foreach (var elem in Contributor) { if (elem != null) yield return elem; } - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in RelatedArtifact) { if (elem != null) yield return elem; } - foreach (var elem in Trigger) { if (elem != null) yield return elem; } - foreach (var elem in DataRequirement) { if (elem != null) yield return elem; } - if (OperationDefinition != null) yield return OperationDefinition; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (UsageElement != null) yield return new ElementValue("usage", UsageElement); - if (ApprovalDateElement != null) yield return new ElementValue("approvalDate", ApprovalDateElement); - if (LastReviewDateElement != null) yield return new ElementValue("lastReviewDate", LastReviewDateElement); - if (EffectivePeriod != null) yield return new ElementValue("effectivePeriod", EffectivePeriod); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - foreach (var elem in Topic) { if (elem != null) yield return new ElementValue("topic", elem); } - foreach (var elem in Contributor) { if (elem != null) yield return new ElementValue("contributor", elem); } - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in RelatedArtifact) { if (elem != null) yield return new ElementValue("relatedArtifact", elem); } - foreach (var elem in Trigger) { if (elem != null) yield return new ElementValue("trigger", elem); } - foreach (var elem in DataRequirement) { if (elem != null) yield return new ElementValue("dataRequirement", elem); } - if (OperationDefinition != null) yield return new ElementValue("operationDefinition", OperationDefinition); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs b/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs index 5a3d1ad0b..2c2410171 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Slot.cs @@ -418,46 +418,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (ServiceCategory != null) yield return ServiceCategory; - foreach (var elem in ServiceType) { if (elem != null) yield return elem; } - foreach (var elem in Specialty) { if (elem != null) yield return elem; } - if (AppointmentType != null) yield return AppointmentType; - if (Schedule != null) yield return Schedule; - if (StatusElement != null) yield return StatusElement; - if (StartElement != null) yield return StartElement; - if (EndElement != null) yield return EndElement; - if (OverbookedElement != null) yield return OverbookedElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (ServiceCategory != null) yield return new ElementValue("serviceCategory", ServiceCategory); - foreach (var elem in ServiceType) { if (elem != null) yield return new ElementValue("serviceType", elem); } - foreach (var elem in Specialty) { if (elem != null) yield return new ElementValue("specialty", elem); } - if (AppointmentType != null) yield return new ElementValue("appointmentType", AppointmentType); - if (Schedule != null) yield return new ElementValue("schedule", Schedule); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StartElement != null) yield return new ElementValue("start", StartElement); - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (OverbookedElement != null) yield return new ElementValue("overbooked", OverbookedElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs b/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs index dba431b8a..339db2036 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Specimen.cs @@ -234,34 +234,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Collector != null) yield return Collector; - if (Collected != null) yield return Collected; - if (Quantity != null) yield return Quantity; - if (Method != null) yield return Method; - if (BodySite != null) yield return BodySite; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Collector != null) yield return new ElementValue("collector", Collector); - if (Collected != null) yield return new ElementValue("collected", Collected); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Method != null) yield return new ElementValue("method", Method); - if (BodySite != null) yield return new ElementValue("bodySite", BodySite); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -467,32 +439,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (DescriptionElement != null) yield return DescriptionElement; - if (Procedure != null) yield return Procedure; - foreach (var elem in Additive) { if (elem != null) yield return elem; } - if (Time != null) yield return Time; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Procedure != null) yield return new ElementValue("procedure", Procedure); - foreach (var elem in Additive) { if (elem != null) yield return new ElementValue("additive", elem); } - if (Time != null) yield return new ElementValue("time", Time); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -723,36 +669,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - if (Type != null) yield return Type; - if (Capacity != null) yield return Capacity; - if (SpecimenQuantity != null) yield return SpecimenQuantity; - if (Additive != null) yield return Additive; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Capacity != null) yield return new ElementValue("capacity", Capacity); - if (SpecimenQuantity != null) yield return new ElementValue("specimenQuantity", SpecimenQuantity); - if (Additive != null) yield return new ElementValue("additive", Additive); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1107,48 +1023,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (AccessionIdentifier != null) yield return AccessionIdentifier; - if (StatusElement != null) yield return StatusElement; - if (Type != null) yield return Type; - if (Subject != null) yield return Subject; - if (ReceivedTimeElement != null) yield return ReceivedTimeElement; - foreach (var elem in Parent) { if (elem != null) yield return elem; } - foreach (var elem in Request) { if (elem != null) yield return elem; } - if (Collection != null) yield return Collection; - foreach (var elem in Processing) { if (elem != null) yield return elem; } - foreach (var elem in Container) { if (elem != null) yield return elem; } - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (AccessionIdentifier != null) yield return new ElementValue("accessionIdentifier", AccessionIdentifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Type != null) yield return new ElementValue("type", Type); - if (Subject != null) yield return new ElementValue("subject", Subject); - if (ReceivedTimeElement != null) yield return new ElementValue("receivedTime", ReceivedTimeElement); - foreach (var elem in Parent) { if (elem != null) yield return new ElementValue("parent", elem); } - foreach (var elem in Request) { if (elem != null) yield return new ElementValue("request", elem); } - if (Collection != null) yield return new ElementValue("collection", Collection); - foreach (var elem in Processing) { if (elem != null) yield return new ElementValue("processing", elem); } - foreach (var elem in Container) { if (elem != null) yield return new ElementValue("container", elem); } - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs index 60aadaa1b..61c2cb4b2 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/StructureDefinition.cs @@ -335,32 +335,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentityElement != null) yield return IdentityElement; - if (UriElement != null) yield return UriElement; - if (NameElement != null) yield return NameElement; - if (CommentElement != null) yield return CommentElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentityElement != null) yield return new ElementValue("identity", IdentityElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (CommentElement != null) yield return new ElementValue("comment", CommentElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -488,26 +462,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Element) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -614,26 +568,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Element) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Element) { if (elem != null) yield return new ElementValue("element", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1542,80 +1476,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Keyword) { if (elem != null) yield return elem; } - if (FhirVersionElement != null) yield return FhirVersionElement; - foreach (var elem in Mapping) { if (elem != null) yield return elem; } - if (KindElement != null) yield return KindElement; - if (AbstractElement != null) yield return AbstractElement; - if (ContextTypeElement != null) yield return ContextTypeElement; - foreach (var elem in ContextElement) { if (elem != null) yield return elem; } - foreach (var elem in ContextInvariantElement) { if (elem != null) yield return elem; } - if (TypeElement != null) yield return TypeElement; - if (BaseDefinitionElement != null) yield return BaseDefinitionElement; - if (DerivationElement != null) yield return DerivationElement; - if (Snapshot != null) yield return Snapshot; - if (Differential != null) yield return Differential; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Keyword) { if (elem != null) yield return new ElementValue("keyword", elem); } - if (FhirVersionElement != null) yield return new ElementValue("fhirVersion", FhirVersionElement); - foreach (var elem in Mapping) { if (elem != null) yield return new ElementValue("mapping", elem); } - if (KindElement != null) yield return new ElementValue("kind", KindElement); - if (AbstractElement != null) yield return new ElementValue("abstract", AbstractElement); - if (ContextTypeElement != null) yield return new ElementValue("contextType", ContextTypeElement); - foreach (var elem in ContextElement) { if (elem != null) yield return new ElementValue("context", elem); } - foreach (var elem in ContextInvariantElement) { if (elem != null) yield return new ElementValue("contextInvariant", elem); } - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (BaseDefinitionElement != null) yield return new ElementValue("baseDefinition", BaseDefinitionElement); - if (DerivationElement != null) yield return new ElementValue("derivation", DerivationElement); - if (Snapshot != null) yield return new ElementValue("snapshot", Snapshot); - if (Differential != null) yield return new ElementValue("differential", Differential); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs b/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs index fe16c2f9e..917cdfb3a 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/StructureMap.cs @@ -544,32 +544,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (ModeElement != null) yield return ModeElement; - if (AliasElement != null) yield return AliasElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (AliasElement != null) yield return new ElementValue("alias", AliasElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -854,36 +828,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ExtendsElement != null) yield return ExtendsElement; - if (TypeModeElement != null) yield return TypeModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ExtendsElement != null) yield return new ElementValue("extends", ExtendsElement); - if (TypeModeElement != null) yield return new ElementValue("typeMode", TypeModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1149,32 +1093,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (TypeElement != null) yield return TypeElement; - if (ModeElement != null) yield return ModeElement; - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (ModeElement != null) yield return new ElementValue("mode", ModeElement); - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1419,36 +1337,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in Source) { if (elem != null) yield return elem; } - foreach (var elem in Target) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - foreach (var elem in Dependent) { if (elem != null) yield return elem; } - if (DocumentationElement != null) yield return DocumentationElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in Source) { if (elem != null) yield return new ElementValue("source", elem); } - foreach (var elem in Target) { if (elem != null) yield return new ElementValue("target", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - foreach (var elem in Dependent) { if (elem != null) yield return new ElementValue("dependent", elem); } - if (DocumentationElement != null) yield return new ElementValue("documentation", DocumentationElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1897,44 +1785,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (MinElement != null) yield return MinElement; - if (MaxElement != null) yield return MaxElement; - if (TypeElement != null) yield return TypeElement; - if (DefaultValue != null) yield return DefaultValue; - if (ElementElement != null) yield return ElementElement; - if (ListModeElement != null) yield return ListModeElement; - if (VariableElement != null) yield return VariableElement; - if (ConditionElement != null) yield return ConditionElement; - if (CheckElement != null) yield return CheckElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (MinElement != null) yield return new ElementValue("min", MinElement); - if (MaxElement != null) yield return new ElementValue("max", MaxElement); - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (DefaultValue != null) yield return new ElementValue("defaultValue", DefaultValue); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (ListModeElement != null) yield return new ElementValue("listMode", ListModeElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - if (ConditionElement != null) yield return new ElementValue("condition", ConditionElement); - if (CheckElement != null) yield return new ElementValue("check", CheckElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2346,40 +2196,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ContextElement != null) yield return ContextElement; - if (ContextTypeElement != null) yield return ContextTypeElement; - if (ElementElement != null) yield return ElementElement; - if (VariableElement != null) yield return VariableElement; - foreach (var elem in ListModeElement) { if (elem != null) yield return elem; } - if (ListRuleIdElement != null) yield return ListRuleIdElement; - if (TransformElement != null) yield return TransformElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ContextElement != null) yield return new ElementValue("context", ContextElement); - if (ContextTypeElement != null) yield return new ElementValue("contextType", ContextTypeElement); - if (ElementElement != null) yield return new ElementValue("element", ElementElement); - if (VariableElement != null) yield return new ElementValue("variable", VariableElement); - foreach (var elem in ListModeElement) { if (elem != null) yield return new ElementValue("listMode", elem); } - if (ListRuleIdElement != null) yield return new ElementValue("listRuleId", ListRuleIdElement); - if (TransformElement != null) yield return new ElementValue("transform", TransformElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2534,26 +2350,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2710,28 +2506,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - foreach (var elem in VariableElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - foreach (var elem in VariableElement) { if (elem != null) yield return new ElementValue("variable", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3331,60 +3105,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Structure) { if (elem != null) yield return elem; } - foreach (var elem in ImportElement) { if (elem != null) yield return elem; } - foreach (var elem in Group) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Structure) { if (elem != null) yield return new ElementValue("structure", elem); } - foreach (var elem in ImportElement) { if (elem != null) yield return new ElementValue("import", elem); } - foreach (var elem in Group) { if (elem != null) yield return new ElementValue("group", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs b/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs index bbe9e76d2..eb69ab080 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Subscription.cs @@ -328,32 +328,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (EndpointElement != null) yield return EndpointElement; - if (PayloadElement != null) yield return PayloadElement; - foreach (var elem in HeaderElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EndpointElement != null) yield return new ElementValue("endpoint", EndpointElement); - if (PayloadElement != null) yield return new ElementValue("payload", PayloadElement); - foreach (var elem in HeaderElement) { if (elem != null) yield return new ElementValue("header", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -675,40 +649,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (EndElement != null) yield return EndElement; - if (ReasonElement != null) yield return ReasonElement; - if (CriteriaElement != null) yield return CriteriaElement; - if (ErrorElement != null) yield return ErrorElement; - if (Channel != null) yield return Channel; - foreach (var elem in Tag) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (EndElement != null) yield return new ElementValue("end", EndElement); - if (ReasonElement != null) yield return new ElementValue("reason", ReasonElement); - if (CriteriaElement != null) yield return new ElementValue("criteria", CriteriaElement); - if (ErrorElement != null) yield return new ElementValue("error", ErrorElement); - if (Channel != null) yield return new ElementValue("channel", Channel); - foreach (var elem in Tag) { if (elem != null) yield return new ElementValue("tag", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs b/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs index 854431e88..13a163405 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Substance.cs @@ -205,30 +205,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (ExpiryElement != null) yield return ExpiryElement; - if (Quantity != null) yield return Quantity; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (ExpiryElement != null) yield return new ElementValue("expiry", ExpiryElement); - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -369,28 +345,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Substance != null) yield return Substance; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Substance != null) yield return new ElementValue("substance", Substance); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -630,38 +584,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - foreach (var elem in Category) { if (elem != null) yield return elem; } - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Instance) { if (elem != null) yield return elem; } - foreach (var elem in Ingredient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - foreach (var elem in Category) { if (elem != null) yield return new ElementValue("category", elem); } - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Instance) { if (elem != null) yield return new ElementValue("instance", elem); } - foreach (var elem in Ingredient) { if (elem != null) yield return new ElementValue("ingredient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs b/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs index 508bb7d1f..c22818ec5 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SupplyDelivery.cs @@ -206,28 +206,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -524,46 +502,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Type != null) yield return Type; - if (SuppliedItem != null) yield return SuppliedItem; - if (Occurrence != null) yield return Occurrence; - if (Supplier != null) yield return Supplier; - if (Destination != null) yield return Destination; - foreach (var elem in Receiver) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Type != null) yield return new ElementValue("type", Type); - if (SuppliedItem != null) yield return new ElementValue("suppliedItem", SuppliedItem); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (Supplier != null) yield return new ElementValue("supplier", Supplier); - if (Destination != null) yield return new ElementValue("destination", Destination); - foreach (var elem in Receiver) { if (elem != null) yield return new ElementValue("receiver", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs b/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs index abd3fd0d2..250d1cb3f 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/SupplyRequest.cs @@ -200,28 +200,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Quantity != null) yield return Quantity; - if (Item != null) yield return Item; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Quantity != null) yield return new ElementValue("quantity", Quantity); - if (Item != null) yield return new ElementValue("item", Item); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -355,28 +333,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -723,48 +679,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (StatusElement != null) yield return StatusElement; - if (Category != null) yield return Category; - if (PriorityElement != null) yield return PriorityElement; - if (OrderedItem != null) yield return OrderedItem; - if (Occurrence != null) yield return Occurrence; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (Requester != null) yield return Requester; - foreach (var elem in Supplier) { if (elem != null) yield return elem; } - if (Reason != null) yield return Reason; - if (DeliverFrom != null) yield return DeliverFrom; - if (DeliverTo != null) yield return DeliverTo; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Category != null) yield return new ElementValue("category", Category); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (OrderedItem != null) yield return new ElementValue("orderedItem", OrderedItem); - if (Occurrence != null) yield return new ElementValue("occurrence", Occurrence); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in Supplier) { if (elem != null) yield return new ElementValue("supplier", elem); } - if (Reason != null) yield return new ElementValue("reason", Reason); - if (DeliverFrom != null) yield return new ElementValue("deliverFrom", DeliverFrom); - if (DeliverTo != null) yield return new ElementValue("deliverTo", DeliverTo); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Task.cs b/src/Hl7.Fhir.STU3/Model/Generated/Task.cs index 3fe5ce334..0dbb34223 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Task.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Task.cs @@ -230,28 +230,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Agent != null) yield return Agent; - if (OnBehalfOf != null) yield return OnBehalfOf; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Agent != null) yield return new ElementValue("agent", Agent); - if (OnBehalfOf != null) yield return new ElementValue("onBehalfOf", OnBehalfOf); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -417,30 +395,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RepetitionsElement != null) yield return RepetitionsElement; - if (Period != null) yield return Period; - foreach (var elem in Recipient) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RepetitionsElement != null) yield return new ElementValue("repetitions", RepetitionsElement); - if (Period != null) yield return new ElementValue("period", Period); - foreach (var elem in Recipient) { if (elem != null) yield return new ElementValue("recipient", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -581,28 +535,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -736,28 +668,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1418,78 +1328,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (Definition != null) yield return Definition; - foreach (var elem in BasedOn) { if (elem != null) yield return elem; } - if (GroupIdentifier != null) yield return GroupIdentifier; - foreach (var elem in PartOf) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (StatusReason != null) yield return StatusReason; - if (BusinessStatus != null) yield return BusinessStatus; - if (IntentElement != null) yield return IntentElement; - if (PriorityElement != null) yield return PriorityElement; - if (Code != null) yield return Code; - if (DescriptionElement != null) yield return DescriptionElement; - if (Focus != null) yield return Focus; - if (For != null) yield return For; - if (Context != null) yield return Context; - if (ExecutionPeriod != null) yield return ExecutionPeriod; - if (AuthoredOnElement != null) yield return AuthoredOnElement; - if (LastModifiedElement != null) yield return LastModifiedElement; - if (Requester != null) yield return Requester; - foreach (var elem in PerformerType) { if (elem != null) yield return elem; } - if (Owner != null) yield return Owner; - if (Reason != null) yield return Reason; - foreach (var elem in Note) { if (elem != null) yield return elem; } - foreach (var elem in RelevantHistory) { if (elem != null) yield return elem; } - if (Restriction != null) yield return Restriction; - foreach (var elem in Input) { if (elem != null) yield return elem; } - foreach (var elem in Output) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (Definition != null) yield return new ElementValue("definition", Definition); - foreach (var elem in BasedOn) { if (elem != null) yield return new ElementValue("basedOn", elem); } - if (GroupIdentifier != null) yield return new ElementValue("groupIdentifier", GroupIdentifier); - foreach (var elem in PartOf) { if (elem != null) yield return new ElementValue("partOf", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (StatusReason != null) yield return new ElementValue("statusReason", StatusReason); - if (BusinessStatus != null) yield return new ElementValue("businessStatus", BusinessStatus); - if (IntentElement != null) yield return new ElementValue("intent", IntentElement); - if (PriorityElement != null) yield return new ElementValue("priority", PriorityElement); - if (Code != null) yield return new ElementValue("code", Code); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (Focus != null) yield return new ElementValue("focus", Focus); - if (For != null) yield return new ElementValue("for", For); - if (Context != null) yield return new ElementValue("context", Context); - if (ExecutionPeriod != null) yield return new ElementValue("executionPeriod", ExecutionPeriod); - if (AuthoredOnElement != null) yield return new ElementValue("authoredOn", AuthoredOnElement); - if (LastModifiedElement != null) yield return new ElementValue("lastModified", LastModifiedElement); - if (Requester != null) yield return new ElementValue("requester", Requester); - foreach (var elem in PerformerType) { if (elem != null) yield return new ElementValue("performerType", elem); } - if (Owner != null) yield return new ElementValue("owner", Owner); - if (Reason != null) yield return new ElementValue("reason", Reason); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - foreach (var elem in RelevantHistory) { if (elem != null) yield return new ElementValue("relevantHistory", elem); } - if (Restriction != null) yield return new ElementValue("restriction", Restriction); - foreach (var elem in Input) { if (elem != null) yield return new ElementValue("input", elem); } - foreach (var elem in Output) { if (elem != null) yield return new ElementValue("output", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs b/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs index 64005a0de..f9ce25eee 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TestReport.cs @@ -353,30 +353,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (UriElement != null) yield return UriElement; - if (DisplayElement != null) yield return DisplayElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (UriElement != null) yield return new ElementValue("uri", UriElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -494,26 +470,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -636,28 +592,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -859,30 +793,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1091,30 +1001,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (ResultElement != null) yield return ResultElement; - if (MessageElement != null) yield return MessageElement; - if (DetailElement != null) yield return DetailElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (MessageElement != null) yield return new ElementValue("message", MessageElement); - if (DetailElement != null) yield return new ElementValue("detail", DetailElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1300,30 +1186,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1460,28 +1322,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1595,26 +1435,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1722,26 +1542,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2128,48 +1928,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Identifier != null) yield return Identifier; - if (NameElement != null) yield return NameElement; - if (StatusElement != null) yield return StatusElement; - if (TestScript != null) yield return TestScript; - if (ResultElement != null) yield return ResultElement; - if (ScoreElement != null) yield return ScoreElement; - if (TesterElement != null) yield return TesterElement; - if (IssuedElement != null) yield return IssuedElement; - foreach (var elem in Participant) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (TestScript != null) yield return new ElementValue("testScript", TestScript); - if (ResultElement != null) yield return new ElementValue("result", ResultElement); - if (ScoreElement != null) yield return new ElementValue("score", ScoreElement); - if (TesterElement != null) yield return new ElementValue("tester", TesterElement); - if (IssuedElement != null) yield return new ElementValue("issued", IssuedElement); - foreach (var elem in Participant) { if (elem != null) yield return new ElementValue("participant", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs b/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs index cb55ebb55..2e7726dc8 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TestScript.cs @@ -428,28 +428,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -600,28 +578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IndexElement != null) yield return IndexElement; - if (Profile != null) yield return Profile; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IndexElement != null) yield return new ElementValue("index", IndexElement); - if (Profile != null) yield return new ElementValue("profile", Profile); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -752,28 +708,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Link) { if (elem != null) yield return elem; } - foreach (var elem in Capability) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Link) { if (elem != null) yield return new ElementValue("link", elem); } - foreach (var elem in Capability) { if (elem != null) yield return new ElementValue("capability", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -939,28 +873,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (DescriptionElement != null) yield return DescriptionElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1283,38 +1195,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RequiredElement != null) yield return RequiredElement; - if (ValidatedElement != null) yield return ValidatedElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in OriginElement) { if (elem != null) yield return elem; } - if (DestinationElement != null) yield return DestinationElement; - foreach (var elem in LinkElement) { if (elem != null) yield return elem; } - if (Capabilities != null) yield return Capabilities; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RequiredElement != null) yield return new ElementValue("required", RequiredElement); - if (ValidatedElement != null) yield return new ElementValue("validated", ValidatedElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in OriginElement) { if (elem != null) yield return new ElementValue("origin", elem); } - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - foreach (var elem in LinkElement) { if (elem != null) yield return new ElementValue("link", elem); } - if (Capabilities != null) yield return new ElementValue("capabilities", Capabilities); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1532,30 +1412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (AutocreateElement != null) yield return AutocreateElement; - if (AutodeleteElement != null) yield return AutodeleteElement; - if (Resource != null) yield return Resource; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (AutocreateElement != null) yield return new ElementValue("autocreate", AutocreateElement); - if (AutodeleteElement != null) yield return new ElementValue("autodelete", AutodeleteElement); - if (Resource != null) yield return new ElementValue("resource", Resource); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1933,40 +1789,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DefaultValueElement != null) yield return DefaultValueElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (HintElement != null) yield return HintElement; - if (PathElement != null) yield return PathElement; - if (SourceIdElement != null) yield return SourceIdElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DefaultValueElement != null) yield return new ElementValue("defaultValue", DefaultValueElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (HintElement != null) yield return new ElementValue("hint", HintElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2142,28 +1964,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Resource != null) yield return Resource; - foreach (var elem in Param) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Param) { if (elem != null) yield return new ElementValue("param", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2330,28 +2130,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2485,28 +2263,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Resource != null) yield return Resource; - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Resource != null) yield return new ElementValue("resource", Resource); - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2656,28 +2412,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RuleIdElement != null) yield return RuleIdElement; - foreach (var elem in Param) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RuleIdElement != null) yield return new ElementValue("ruleId", RuleIdElement); - foreach (var elem in Param) { if (elem != null) yield return new ElementValue("param", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2844,28 +2578,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2976,26 +2688,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3118,28 +2810,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -3752,56 +3422,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Type != null) yield return Type; - if (ResourceElement != null) yield return ResourceElement; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (AcceptElement != null) yield return AcceptElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (DestinationElement != null) yield return DestinationElement; - if (EncodeRequestUrlElement != null) yield return EncodeRequestUrlElement; - if (OriginElement != null) yield return OriginElement; - if (ParamsElement != null) yield return ParamsElement; - foreach (var elem in RequestHeader) { if (elem != null) yield return elem; } - if (RequestIdElement != null) yield return RequestIdElement; - if (ResponseIdElement != null) yield return ResponseIdElement; - if (SourceIdElement != null) yield return SourceIdElement; - if (TargetIdElement != null) yield return TargetIdElement; - if (UrlElement != null) yield return UrlElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Type != null) yield return new ElementValue("type", Type); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (AcceptElement != null) yield return new ElementValue("accept", AcceptElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (DestinationElement != null) yield return new ElementValue("destination", DestinationElement); - if (EncodeRequestUrlElement != null) yield return new ElementValue("encodeRequestUrl", EncodeRequestUrlElement); - if (OriginElement != null) yield return new ElementValue("origin", OriginElement); - if (ParamsElement != null) yield return new ElementValue("params", ParamsElement); - foreach (var elem in RequestHeader) { if (elem != null) yield return new ElementValue("requestHeader", elem); } - if (RequestIdElement != null) yield return new ElementValue("requestId", RequestIdElement); - if (ResponseIdElement != null) yield return new ElementValue("responseId", ResponseIdElement); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (TargetIdElement != null) yield return new ElementValue("targetId", TargetIdElement); - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4067,28 +3687,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (FieldElement != null) yield return FieldElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (FieldElement != null) yield return new ElementValue("field", FieldElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -4978,72 +4576,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LabelElement != null) yield return LabelElement; - if (DescriptionElement != null) yield return DescriptionElement; - if (DirectionElement != null) yield return DirectionElement; - if (CompareToSourceIdElement != null) yield return CompareToSourceIdElement; - if (CompareToSourceExpressionElement != null) yield return CompareToSourceExpressionElement; - if (CompareToSourcePathElement != null) yield return CompareToSourcePathElement; - if (ContentTypeElement != null) yield return ContentTypeElement; - if (ExpressionElement != null) yield return ExpressionElement; - if (HeaderFieldElement != null) yield return HeaderFieldElement; - if (MinimumIdElement != null) yield return MinimumIdElement; - if (NavigationLinksElement != null) yield return NavigationLinksElement; - if (OperatorElement != null) yield return OperatorElement; - if (PathElement != null) yield return PathElement; - if (RequestMethodElement != null) yield return RequestMethodElement; - if (RequestURLElement != null) yield return RequestURLElement; - if (ResourceElement != null) yield return ResourceElement; - if (ResponseElement != null) yield return ResponseElement; - if (ResponseCodeElement != null) yield return ResponseCodeElement; - if (Rule != null) yield return Rule; - if (Ruleset != null) yield return Ruleset; - if (SourceIdElement != null) yield return SourceIdElement; - if (ValidateProfileIdElement != null) yield return ValidateProfileIdElement; - if (ValueElement != null) yield return ValueElement; - if (WarningOnlyElement != null) yield return WarningOnlyElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LabelElement != null) yield return new ElementValue("label", LabelElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - if (DirectionElement != null) yield return new ElementValue("direction", DirectionElement); - if (CompareToSourceIdElement != null) yield return new ElementValue("compareToSourceId", CompareToSourceIdElement); - if (CompareToSourceExpressionElement != null) yield return new ElementValue("compareToSourceExpression", CompareToSourceExpressionElement); - if (CompareToSourcePathElement != null) yield return new ElementValue("compareToSourcePath", CompareToSourcePathElement); - if (ContentTypeElement != null) yield return new ElementValue("contentType", ContentTypeElement); - if (ExpressionElement != null) yield return new ElementValue("expression", ExpressionElement); - if (HeaderFieldElement != null) yield return new ElementValue("headerField", HeaderFieldElement); - if (MinimumIdElement != null) yield return new ElementValue("minimumId", MinimumIdElement); - if (NavigationLinksElement != null) yield return new ElementValue("navigationLinks", NavigationLinksElement); - if (OperatorElement != null) yield return new ElementValue("operator", OperatorElement); - if (PathElement != null) yield return new ElementValue("path", PathElement); - if (RequestMethodElement != null) yield return new ElementValue("requestMethod", RequestMethodElement); - if (RequestURLElement != null) yield return new ElementValue("requestURL", RequestURLElement); - if (ResourceElement != null) yield return new ElementValue("resource", ResourceElement); - if (ResponseElement != null) yield return new ElementValue("response", ResponseElement); - if (ResponseCodeElement != null) yield return new ElementValue("responseCode", ResponseCodeElement); - if (Rule != null) yield return new ElementValue("rule", Rule); - if (Ruleset != null) yield return new ElementValue("ruleset", Ruleset); - if (SourceIdElement != null) yield return new ElementValue("sourceId", SourceIdElement); - if (ValidateProfileIdElement != null) yield return new ElementValue("validateProfileId", ValidateProfileIdElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - if (WarningOnlyElement != null) yield return new ElementValue("warningOnly", WarningOnlyElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5347,28 +4879,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RuleIdElement != null) yield return RuleIdElement; - foreach (var elem in Param) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RuleIdElement != null) yield return new ElementValue("ruleId", RuleIdElement); - foreach (var elem in Param) { if (elem != null) yield return new ElementValue("param", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5536,28 +5046,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5707,28 +5195,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RulesetIdElement != null) yield return RulesetIdElement; - foreach (var elem in Rule) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RulesetIdElement != null) yield return new ElementValue("rulesetId", RulesetIdElement); - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -5878,28 +5344,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (RuleIdElement != null) yield return RuleIdElement; - foreach (var elem in Param) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (RuleIdElement != null) yield return new ElementValue("ruleId", RuleIdElement); - foreach (var elem in Param) { if (elem != null) yield return new ElementValue("param", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6067,28 +5511,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6267,30 +5689,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6427,28 +5825,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - if (Assert != null) yield return Assert; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - if (Assert != null) yield return new ElementValue("assert", Assert); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6562,26 +5938,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Action) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Action) { if (elem != null) yield return new ElementValue("action", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -6689,26 +6045,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Operation != null) yield return Operation; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Operation != null) yield return new ElementValue("operation", Operation); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -7417,76 +6753,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - if (Identifier != null) yield return Identifier; - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - foreach (var elem in Origin) { if (elem != null) yield return elem; } - foreach (var elem in Destination) { if (elem != null) yield return elem; } - if (Metadata != null) yield return Metadata; - foreach (var elem in Fixture) { if (elem != null) yield return elem; } - foreach (var elem in Profile) { if (elem != null) yield return elem; } - foreach (var elem in Variable) { if (elem != null) yield return elem; } - foreach (var elem in Rule) { if (elem != null) yield return elem; } - foreach (var elem in Ruleset) { if (elem != null) yield return elem; } - if (Setup != null) yield return Setup; - foreach (var elem in Test) { if (elem != null) yield return elem; } - if (Teardown != null) yield return Teardown; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - if (Identifier != null) yield return new ElementValue("identifier", Identifier); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - foreach (var elem in Origin) { if (elem != null) yield return new ElementValue("origin", elem); } - foreach (var elem in Destination) { if (elem != null) yield return new ElementValue("destination", elem); } - if (Metadata != null) yield return new ElementValue("metadata", Metadata); - foreach (var elem in Fixture) { if (elem != null) yield return new ElementValue("fixture", elem); } - foreach (var elem in Profile) { if (elem != null) yield return new ElementValue("profile", elem); } - foreach (var elem in Variable) { if (elem != null) yield return new ElementValue("variable", elem); } - foreach (var elem in Rule) { if (elem != null) yield return new ElementValue("rule", elem); } - foreach (var elem in Ruleset) { if (elem != null) yield return new ElementValue("ruleset", elem); } - if (Setup != null) yield return new ElementValue("setup", Setup); - foreach (var elem in Test) { if (elem != null) yield return new ElementValue("test", elem); } - if (Teardown != null) yield return new ElementValue("teardown", Teardown); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs b/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs index 6c17a002c..13cbede97 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/Timing.cs @@ -800,54 +800,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Bounds != null) yield return Bounds; - if (CountElement != null) yield return CountElement; - if (CountMaxElement != null) yield return CountMaxElement; - if (DurationElement != null) yield return DurationElement; - if (DurationMaxElement != null) yield return DurationMaxElement; - if (DurationUnitElement != null) yield return DurationUnitElement; - if (FrequencyElement != null) yield return FrequencyElement; - if (FrequencyMaxElement != null) yield return FrequencyMaxElement; - if (PeriodElement != null) yield return PeriodElement; - if (PeriodMaxElement != null) yield return PeriodMaxElement; - if (PeriodUnitElement != null) yield return PeriodUnitElement; - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return elem; } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return elem; } - foreach (var elem in WhenElement) { if (elem != null) yield return elem; } - if (OffsetElement != null) yield return OffsetElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Bounds != null) yield return new ElementValue("bounds", Bounds); - if (CountElement != null) yield return new ElementValue("count", CountElement); - if (CountMaxElement != null) yield return new ElementValue("countMax", CountMaxElement); - if (DurationElement != null) yield return new ElementValue("duration", DurationElement); - if (DurationMaxElement != null) yield return new ElementValue("durationMax", DurationMaxElement); - if (DurationUnitElement != null) yield return new ElementValue("durationUnit", DurationUnitElement); - if (FrequencyElement != null) yield return new ElementValue("frequency", FrequencyElement); - if (FrequencyMaxElement != null) yield return new ElementValue("frequencyMax", FrequencyMaxElement); - if (PeriodElement != null) yield return new ElementValue("period", PeriodElement); - if (PeriodMaxElement != null) yield return new ElementValue("periodMax", PeriodMaxElement); - if (PeriodUnitElement != null) yield return new ElementValue("periodUnit", PeriodUnitElement); - foreach (var elem in DayOfWeekElement) { if (elem != null) yield return new ElementValue("dayOfWeek", elem); } - foreach (var elem in TimeOfDayElement) { if (elem != null) yield return new ElementValue("timeOfDay", elem); } - foreach (var elem in WhenElement) { if (elem != null) yield return new ElementValue("when", elem); } - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1087,30 +1039,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return elem; } - if (Repeat != null) yield return Repeat; - if (Code != null) yield return Code; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in EventElement) { if (elem != null) yield return new ElementValue("event", elem); } - if (Repeat != null) yield return new ElementValue("repeat", Repeat); - if (Code != null) yield return new ElementValue("code", Code); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs b/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs index b99d119b5..ab6e4cc02 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/TriggerDefinition.cs @@ -256,32 +256,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (TypeElement != null) yield return TypeElement; - if (EventNameElement != null) yield return EventNameElement; - if (EventTiming != null) yield return EventTiming; - if (EventData != null) yield return EventData; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (TypeElement != null) yield return new ElementValue("type", TypeElement); - if (EventNameElement != null) yield return new ElementValue("eventName", EventNameElement); - if (EventTiming != null) yield return new ElementValue("eventTiming", EventTiming); - if (EventData != null) yield return new ElementValue("eventData", EventData); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs b/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs index c36482980..27e47e3cd 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/ValueSet.cs @@ -216,32 +216,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LockedDateElement != null) yield return LockedDateElement; - if (InactiveElement != null) yield return InactiveElement; - foreach (var elem in Include) { if (elem != null) yield return elem; } - foreach (var elem in Exclude) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LockedDateElement != null) yield return new ElementValue("lockedDate", LockedDateElement); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - foreach (var elem in Include) { if (elem != null) yield return new ElementValue("include", elem); } - foreach (var elem in Exclude) { if (elem != null) yield return new ElementValue("exclude", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -489,34 +463,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (VersionElement != null) yield return VersionElement; - foreach (var elem in Concept) { if (elem != null) yield return elem; } - foreach (var elem in Filter) { if (elem != null) yield return elem; } - foreach (var elem in ValueSetElement) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - foreach (var elem in Concept) { if (elem != null) yield return new ElementValue("concept", elem); } - foreach (var elem in Filter) { if (elem != null) yield return new ElementValue("filter", elem); } - foreach (var elem in ValueSetElement) { if (elem != null) yield return new ElementValue("valueSet", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -721,30 +667,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -935,30 +857,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (LanguageElement != null) yield return LanguageElement; - if (Use != null) yield return Use; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (LanguageElement != null) yield return new ElementValue("language", LanguageElement); - if (Use != null) yield return new ElementValue("use", Use); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1170,30 +1068,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (PropertyElement != null) yield return PropertyElement; - if (OpElement != null) yield return OpElement; - if (ValueElement != null) yield return ValueElement; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (PropertyElement != null) yield return new ElementValue("property", PropertyElement); - if (OpElement != null) yield return new ElementValue("op", OpElement); - if (ValueElement != null) yield return new ElementValue("value", ValueElement); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1470,36 +1344,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (IdentifierElement != null) yield return IdentifierElement; - if (TimestampElement != null) yield return TimestampElement; - if (TotalElement != null) yield return TotalElement; - if (OffsetElement != null) yield return OffsetElement; - foreach (var elem in Parameter) { if (elem != null) yield return elem; } - foreach (var elem in Contains) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (IdentifierElement != null) yield return new ElementValue("identifier", IdentifierElement); - if (TimestampElement != null) yield return new ElementValue("timestamp", TimestampElement); - if (TotalElement != null) yield return new ElementValue("total", TotalElement); - if (OffsetElement != null) yield return new ElementValue("offset", OffsetElement); - foreach (var elem in Parameter) { if (elem != null) yield return new ElementValue("parameter", elem); } - foreach (var elem in Contains) { if (elem != null) yield return new ElementValue("contains", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1678,28 +1522,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (NameElement != null) yield return NameElement; - if (Value != null) yield return Value; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (Value != null) yield return new ElementValue("value", Value); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2034,40 +1856,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (SystemElement != null) yield return SystemElement; - if (AbstractElement != null) yield return AbstractElement; - if (InactiveElement != null) yield return InactiveElement; - if (VersionElement != null) yield return VersionElement; - if (CodeElement != null) yield return CodeElement; - if (DisplayElement != null) yield return DisplayElement; - foreach (var elem in Designation) { if (elem != null) yield return elem; } - foreach (var elem in Contains) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (SystemElement != null) yield return new ElementValue("system", SystemElement); - if (AbstractElement != null) yield return new ElementValue("abstract", AbstractElement); - if (InactiveElement != null) yield return new ElementValue("inactive", InactiveElement); - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (CodeElement != null) yield return new ElementValue("code", CodeElement); - if (DisplayElement != null) yield return new ElementValue("display", DisplayElement); - foreach (var elem in Designation) { if (elem != null) yield return new ElementValue("designation", elem); } - foreach (var elem in Contains) { if (elem != null) yield return new ElementValue("contains", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -2738,62 +2526,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (UrlElement != null) yield return UrlElement; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (VersionElement != null) yield return VersionElement; - if (NameElement != null) yield return NameElement; - if (TitleElement != null) yield return TitleElement; - if (StatusElement != null) yield return StatusElement; - if (ExperimentalElement != null) yield return ExperimentalElement; - if (DateElement != null) yield return DateElement; - if (PublisherElement != null) yield return PublisherElement; - foreach (var elem in Contact) { if (elem != null) yield return elem; } - if (DescriptionElement != null) yield return DescriptionElement; - foreach (var elem in UseContext) { if (elem != null) yield return elem; } - foreach (var elem in Jurisdiction) { if (elem != null) yield return elem; } - if (ImmutableElement != null) yield return ImmutableElement; - if (PurposeElement != null) yield return PurposeElement; - if (CopyrightElement != null) yield return CopyrightElement; - if (ExtensibleElement != null) yield return ExtensibleElement; - if (Compose != null) yield return Compose; - if (Expansion != null) yield return Expansion; - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (UrlElement != null) yield return new ElementValue("url", UrlElement); - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (VersionElement != null) yield return new ElementValue("version", VersionElement); - if (NameElement != null) yield return new ElementValue("name", NameElement); - if (TitleElement != null) yield return new ElementValue("title", TitleElement); - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (ExperimentalElement != null) yield return new ElementValue("experimental", ExperimentalElement); - if (DateElement != null) yield return new ElementValue("date", DateElement); - if (PublisherElement != null) yield return new ElementValue("publisher", PublisherElement); - foreach (var elem in Contact) { if (elem != null) yield return new ElementValue("contact", elem); } - if (DescriptionElement != null) yield return new ElementValue("description", DescriptionElement); - foreach (var elem in UseContext) { if (elem != null) yield return new ElementValue("useContext", elem); } - foreach (var elem in Jurisdiction) { if (elem != null) yield return new ElementValue("jurisdiction", elem); } - if (ImmutableElement != null) yield return new ElementValue("immutable", ImmutableElement); - if (PurposeElement != null) yield return new ElementValue("purpose", PurposeElement); - if (CopyrightElement != null) yield return new ElementValue("copyright", CopyrightElement); - if (ExtensibleElement != null) yield return new ElementValue("extensible", ExtensibleElement); - if (Compose != null) yield return new ElementValue("compose", Compose); - if (Expansion != null) yield return new ElementValue("expansion", Expansion); - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs b/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs index 224846554..d6345d6fe 100644 --- a/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs +++ b/src/Hl7.Fhir.STU3/Model/Generated/VisionPrescription.cs @@ -632,54 +632,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - if (Product != null) yield return Product; - if (EyeElement != null) yield return EyeElement; - if (SphereElement != null) yield return SphereElement; - if (CylinderElement != null) yield return CylinderElement; - if (AxisElement != null) yield return AxisElement; - if (PrismElement != null) yield return PrismElement; - if (BaseElement != null) yield return BaseElement; - if (AddElement != null) yield return AddElement; - if (PowerElement != null) yield return PowerElement; - if (BackCurveElement != null) yield return BackCurveElement; - if (DiameterElement != null) yield return DiameterElement; - if (Duration != null) yield return Duration; - if (ColorElement != null) yield return ColorElement; - if (BrandElement != null) yield return BrandElement; - foreach (var elem in Note) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - if (Product != null) yield return new ElementValue("product", Product); - if (EyeElement != null) yield return new ElementValue("eye", EyeElement); - if (SphereElement != null) yield return new ElementValue("sphere", SphereElement); - if (CylinderElement != null) yield return new ElementValue("cylinder", CylinderElement); - if (AxisElement != null) yield return new ElementValue("axis", AxisElement); - if (PrismElement != null) yield return new ElementValue("prism", PrismElement); - if (BaseElement != null) yield return new ElementValue("base", BaseElement); - if (AddElement != null) yield return new ElementValue("add", AddElement); - if (PowerElement != null) yield return new ElementValue("power", PowerElement); - if (BackCurveElement != null) yield return new ElementValue("backCurve", BackCurveElement); - if (DiameterElement != null) yield return new ElementValue("diameter", DiameterElement); - if (Duration != null) yield return new ElementValue("duration", Duration); - if (ColorElement != null) yield return new ElementValue("color", ColorElement); - if (BrandElement != null) yield return new ElementValue("brand", BrandElement); - foreach (var elem in Note) { if (elem != null) yield return new ElementValue("note", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) @@ -1030,40 +982,6 @@ public override bool IsExactly(IDeepComparable other) return true; } - [IgnoreDataMember] - public override IEnumerable Children - { - get - { - foreach (var item in base.Children) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return elem; } - if (StatusElement != null) yield return StatusElement; - if (Patient != null) yield return Patient; - if (Encounter != null) yield return Encounter; - if (DateWrittenElement != null) yield return DateWrittenElement; - if (Prescriber != null) yield return Prescriber; - if (Reason != null) yield return Reason; - foreach (var elem in Dispense) { if (elem != null) yield return elem; } - } - } - - [IgnoreDataMember] - public override IEnumerable NamedChildren - { - get - { - foreach (var item in base.NamedChildren) yield return item; - foreach (var elem in Identifier) { if (elem != null) yield return new ElementValue("identifier", elem); } - if (StatusElement != null) yield return new ElementValue("status", StatusElement); - if (Patient != null) yield return new ElementValue("patient", Patient); - if (Encounter != null) yield return new ElementValue("encounter", Encounter); - if (DateWrittenElement != null) yield return new ElementValue("dateWritten", DateWrittenElement); - if (Prescriber != null) yield return new ElementValue("prescriber", Prescriber); - if (Reason != null) yield return new ElementValue("reason", Reason); - foreach (var elem in Dispense) { if (elem != null) yield return new ElementValue("dispense", elem); } - } - } - internal protected override bool TryGetValue(string key, out object value) { switch (key) diff --git a/src/Hl7.Fhir.STU3/Specification/Snapshot/ElementIdGenerator.cs b/src/Hl7.Fhir.STU3/Specification/Snapshot/ElementIdGenerator.cs deleted file mode 100644 index 61c79493f..000000000 --- a/src/Hl7.Fhir.STU3/Specification/Snapshot/ElementIdGenerator.cs +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Copyright (c) 2017, Firely (info@fire.ly) and contributors - * See the file CONTRIBUTORS for details. - * - * This file is licensed under the BSD 3-Clause license - * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE - */ - -using Hl7.Fhir.Model; -using Hl7.Fhir.Specification.Navigation; -using Hl7.Fhir.Utility; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; - -namespace Hl7.Fhir.Specification.Snapshot -{ - // [WMR 20160917] STU3: (re-)generate ElementId values - // http://hl7.org/fhir/STU3/elementdefinition.html#id - - // [WMR 20170614] TODO - // - Generate normalized ID for type slices of the form [originalElementName]:[sliceName] - // Tooling convention: initialize sliceName with renamed element, e.g. "valueString" - // Example: Patient.deceased[x]:deceasedBoolean - // - Maintain any existing element IDs in differential - // But generate canonical IDs for child elements without explicit user IDs - // Example: Patient.identifier:ssn : ID = "PatientSsnId" (overridden) - // => Patient.identifier:ssn.system : ID = "Patient.identifier:ssn.system" (NOT "PatientSsnId.system") - // - Expose public utility functions to - // * Generate element id segment from element name and slice name - // * Verify if an element id has the canonical form - - // Syntax: [path[:name][.path[:name]...]] - // - Element.ElementId has the exact same number of components as Element.Path - // - Components are separated by the dot character "." - // - First part of each component equals the local path component, i.e. the FHIR element name - // - Second optional part of each component equals the slice name, if not empty, separated by a semi-colon ":" - // Notes: - // - slice name may not contain dot characters "." ! - // - for re-slicing, the slice name can be of the form "OrignalSlice/Reslice" - // - DSTU2: id has regex [A-Za-z0-9\-\.]{1,64} => cannot use proposed id scheme - - /// Represents a segment of an element Id, derived from the (original) element name and the (optional) slice name. - public struct ElementIdSegment - { - /// Represents an empty segment. - public static readonly ElementIdSegment Empty = new ElementIdSegment(null, null); - - /// Create a new from the specified (original) element name and (optional) slice name. - public static ElementIdSegment Create(string elementName, string sliceName = null) - { - if (string.IsNullOrEmpty(elementName)) { throw Error.ArgumentNull(nameof(elementName)); } - return new ElementIdSegment(elementName, sliceName); - } - - /// Create a new from the specified element definition. - public static ElementIdSegment Create(ElementDefinition elemDef) => new ElementIdSegment(elemDef); - - /// - /// Create a new by parsing the specified id segment string of the form "elementName[:sliceName]". - /// - public static ElementIdSegment Parse(string idSegment) - { - if (string.IsNullOrEmpty(idSegment)) { throw Error.ArgumentNull(nameof(idSegment)); } - if (idSegment.IndexOf(ElementIdGenerator.ElementIdSegmentDelimiter) > -1) { throw Error.Argument(nameof(idSegment), $"The specified element id segment is invalid. A segment cannot contain the segment delimiter character '{ElementIdGenerator.ElementIdSegmentDelimiter}'."); } - - var pos = idSegment.IndexOf(ElementIdGenerator.ElementIdSliceNameDelimiter); - if (pos == -1) { return new ElementIdSegment(idSegment); } - return new ElementIdSegment(idSegment.Substring(0, pos), idSegment.Substring(pos + 1)); - } - - /// Parse the specified element id into a sequence of s. - public static IEnumerable ParseId(string elementId) - { - if (string.IsNullOrEmpty(elementId)) { throw Error.ArgumentNull(nameof(elementId)); } - var segments = ElementIdGenerator.ParseId(elementId); - return segments.Select(s => ElementIdSegment.Parse(s)); - } - - ElementIdSegment(string elementName, string sliceName = null) - { - ElementName = elementName; - SliceName = sliceName; - } - - ElementIdSegment(ElementDefinition elemDef) - { - elemDef.ThrowIfNullOrEmptyPath(nameof(elemDef)); - - var basePath = elemDef.Base?.Path; - var elemPath = basePath != null && ElementDefinitionNavigator.IsChoiceTypeElement(basePath) ? basePath : elemDef.Path; - ElementName = ProfileNavigationExtensions.GetNameFromPath(elemPath); - SliceName = elemDef.SliceName; - } - - /// Returns the (original) element name. - public readonly string ElementName; - - /// Returns the (optional) slice name, or null. - public readonly string SliceName; - - /// Determines if this instance represents an empty segment, i.e. if the equals null. - public bool IsEmpty => ElementName == null; - - /// Returns a formatted element id segment of the form "ElementName[:SliceName]". - public override string ToString() - { - return string.IsNullOrEmpty(SliceName) - ? ElementName - : ElementName + ElementIdGenerator.ElementIdSliceNameDelimiter + SliceName; - } - } - - /// For generating unique element IDs according to the standardized default format. - public static class ElementIdGenerator - { - #region Public interface - - /// Delimiter inbetween segments of an element id. - public const char ElementIdSegmentDelimiter = '.'; - - /// Delimiter inbetween path segment and (optional) element slice name. - public const char ElementIdSliceNameDelimiter = ':'; - - /// - /// Generate an element ID segment for the specified - /// by concatenating the (original) element name and the slice name (if not empty). - /// For choice type elements, the element ID segment is always generated from the original - /// element name (ending with "[x]") as specified by , - /// concatenated with the sliceName, which by convention should be initialized to the renamed element name. - /// - /// A string that represents an element id segment of the form "elementName[:sliceName]". - /// To generate the full element id, traverse the element hierarchy and concatenate the associated element id segments. - /// value[x]:valueString - public static string GenerateIdSegment(ElementDefinition elemDef) => ElementIdSegment.Create(elemDef).ToString(); - - /// Generate a segment of a standardized element ID from the specified element path and slice name. - /// A string that represents an standardized element id segment of the form "elementName[:sliceName]". - public static string GenerateIdSegment(string elementPath, string sliceName) - { - var elementName = ProfileNavigationExtensions.GetNameFromPath(elementPath); - return ElementIdSegment.Create(elementName, sliceName).ToString(); - } - - /// Parse a standardized element id into an array of segments of the form "elementName[:sliceName]". - /// An element id. - /// An array of element id segments of the form "elementName[:sliceName]". - public static string[] ParseId(string elementId) - { - if (elementId == null) { throw Error.ArgumentNull(nameof(elementId)); } - return elementId.Split(ElementIdSegmentDelimiter); - } - - /// Generate a standard element ID for the specified instance. - /// An instance. - /// The (generated) element id of the associated parent element, or null. - /// A string that represents the full element ID. - public static string GenerateId(ElementDefinition elemDef, string parentElementId) - { - // GenerateIdSegment method will verify the elemDef argument - var idSegment = GenerateIdSegment(elemDef); - - return !string.IsNullOrEmpty(parentElementId) - ? parentElementId + ElementIdSegmentDelimiter + idSegment - : idSegment; - } - - /// - /// Generate a standard element ID for the current element of the specified - /// instance, by recursively traversing all the (grand)parent elements. - /// - /// A string that represents the full element ID. - public static string GenerateId(ElementDefinitionNavigator nav) - { - nav.ThrowIfNullOrNotPositioned(nameof(nav)); - - var bm = nav.Bookmark(); - string parentId = ""; - if (nav.MoveToParent()) - { - if (!nav.AtRoot) { parentId = GenerateId(nav); } - nav.ReturnToBookmark(bm); - } - return GenerateId(nav.Current, parentId); - } - - /// - /// Generate and assign standard element IDs to the current element of the specified - /// instance and it's children, recursively. - /// - /// An instance. - /// Determines wether to regenerate (true) or maintain (false) any existing element IDs. - /// Determines wether to only update child element ids (true) or also update the id of the current element (false). - public static void Update(ElementDefinitionNavigator nav, bool force = false, bool onlyChildren = false) - { - var bm = nav.Bookmark(); - - var parentId = ""; - if (onlyChildren) - { - // Note: cannot rely on nav.Current.ElementId as it may represent a custom id value - // Instead, always recalculate full parent id - if (!nav.AtRoot) - { - parentId = GenerateId(nav); - } - if (nav.MoveToFirstChild()) - { - generate(nav, parentId, force); - nav.ReturnToBookmark(bm); - } - } - else - { - if (nav.MoveToParent()) - { - // Parent may have a custom element Id value - // => must always (re-)generate full id by traversing parent hierarchy - // Possible optimization: caller could specify parent id - if (!nav.AtRoot) - { - parentId = GenerateId(nav); - } - nav.ReturnToBookmark(bm); - } - generate(nav, parentId, force); - nav.ReturnToBookmark(bm); - } - } - - /// - /// Generate and assign unique element IDs in standardized default format - /// for all the items in the snapshot - /// component of the specified instance. - /// - /// A instance. - /// Determines wether to regenerate (true) or maintain (false) any existing element IDs. - public static void Update(StructureDefinition structure, bool force = false) - { - structure.ThrowIfNullOrNoSnapshot(nameof(structure)); - - Update(structure.Snapshot.Element, force); - } - - /// - /// Generate and assign unique element IDs in standardized default format - /// for a list of instances. - /// - /// A list of s. - /// Determines wether to regenerate (true) or maintain (false) any existing element IDs. - public static void Update(IList elements, bool force = false) - { - if (elements == null) { throw new ArgumentNullException(nameof(elements)); } - - var nav = new ElementDefinitionNavigator(elements); - if (nav.MoveToFirstChild()) - { - generate(nav, "", force); - } - } - - /// Clear all the existing element IDs in the snapshot component. - public static void Clear(StructureDefinition structure) - { - structure.ThrowIfNullOrNoSnapshot(nameof(structure)); - - Clear(structure.Snapshot.Element); - } - - /// Clear all the existing element IDs. - /// A list of instances. - public static void Clear(IList elements) - { - if (elements == null) { throw new ArgumentNullException(nameof(elements)); } - - foreach (var elem in elements) - { - elem.ElementId = null; - } - } - - /// Clear the element IDs of the current element and it's children, recursively. - /// An instance that is positioned on a specific element. - /// Determines wether to only clear child element ids (true) or also clear the id of the current element (false). - public static void Clear(ElementDefinitionNavigator nav, bool onlyChildren) - { - nav.ThrowIfNullOrNotPositioned(nameof(nav)); - if (onlyChildren) - { - clearChildren(nav); - } - else - { - clear(nav); - } - } - - static void clear(ElementDefinitionNavigator nav) - { - nav.Current.ElementId = null; - clearChildren(nav); - } - - static void clearChildren(ElementDefinitionNavigator nav) - { - var bm = nav.Bookmark(); - if (nav.MoveToFirstChild()) - { - do - { - clear(nav); - } while (nav.MoveToNext()); - nav.ReturnToBookmark(bm); - } - } - - #endregion - - #region Private interface - - static void generate(ElementDefinitionNavigator nav, string parentElemId, bool force) - { - nav.ThrowIfNullOrNotPositioned(nameof(nav)); - - do - { - var id = generate(nav.Current, parentElemId, force); - var bm = nav.Bookmark(); - if (nav.MoveToFirstChild()) - { - // Recurse child elements - generate(nav, id, force); - nav.ReturnToBookmark(bm); - } - } while (nav.MoveToNext()); - } - - static string generate(ElementDefinition elemDef, string parentElemId, bool force) - { - elemDef.ThrowIfNullOrEmptyPath(nameof(elemDef)); - - var id = GenerateId(elemDef, parentElemId); - - // Don't replace existing IDs, unless force = true - if (force || elemDef.ElementId == null) - { - // Debug.WriteLine($"[{nameof(ElementIdGenerator)}.{nameof(generate)}] Path: {elemDef.Path}:{elemDef.SliceName} Id: {elemDef.ElementId} => {id}"); - elemDef.ElementId = id; - } - - // Always return the generated ID value, as prefix for child element IDs - return id; - } - - #endregion - - } -} diff --git a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorAnnotations.cs b/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorAnnotations.cs deleted file mode 100644 index be4257bf0..000000000 --- a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorAnnotations.cs +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright (c) 2017, Firely (info@fire.ly) and contributors - * See the file CONTRIBUTORS for details. - * - * This file is licensed under the BSD 3-Clause license - * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE - */ - -#define DEBUG_SNAP_ELEM_ANNOTATIONS - -using Hl7.Fhir.Model; -using Hl7.Fhir.Utility; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; - -namespace Hl7.Fhir.Specification.Snapshot -{ - /// Provides support for custom annotation types used by the . - public static class SnapshotGeneratorAnnotations - { - #region Annotation: Created By Snapshot Generator - - /// Annotation to mark a generated element, so we can prevent duplicate re-generation. - [Serializable] - sealed class CreatedBySnapshotGeneratorAnnotation - { - public DateTimeOffset Created { get; } - public CreatedBySnapshotGeneratorAnnotation() { Created = DateTimeOffset.UtcNow; } - } - - /// Marks the specified element as generated by the . - internal static void SetCreatedBySnapshotGenerator(this Element elem) { elem?.AddAnnotation(new CreatedBySnapshotGeneratorAnnotation()); } - - /// Determines if the specified element was created by the . - /// A FHIR . - /// true if the element was created by the , or false otherwise. - public static bool IsCreatedBySnapshotGenerator(this Element elem) => elem != null && elem.HasAnnotation(); - - #endregion - - #region Annotation: Differential Constraint - - /// - /// Custom annotation for elements and properties in the - /// that are constrained by the . - /// - [Serializable] - sealed class ConstrainedByDiffAnnotation - { - // - } - - /// Annotate the specified snapshot element to indicate that it is constrained by the differential. - internal static void SetConstrainedByDiffAnnotation(this Base element) - { - if (element == null) { throw Error.ArgumentNull(nameof(element)); } - element.AddAnnotation(new ConstrainedByDiffAnnotation()); - } - - /// Remove any existing differential constraint annotation from the specified snapshot element. - internal static void RemoveConstrainedByDiffAnnotation(this Base element) - { - if (element == null) { throw Error.ArgumentNull(nameof(element)); } - element.RemoveAnnotations(); - } - - /// Recursively remove any existing differential constraint annotations from the specified snapshot element and all it's children. - internal static void RemoveAllConstrainedByDiffAnnotations(this Base element) - { - if (element == null) { throw Error.ArgumentNull(nameof(element)); } - element.RemoveConstrainedByDiffAnnotation(); - foreach (var child in element.Children) - { - child.RemoveAllConstrainedByDiffAnnotations(); - } - } - - /// Recursively remove any existing differential constraint annotations from the specified snapshot elements and all their children. - internal static void RemoveAllConstrainedByDiffAnnotations(this IEnumerable elements) where T : Base - { - if (elements == null) { throw Error.ArgumentNull(nameof(elements)); } - foreach (var elem in elements) - { - elem.RemoveAllConstrainedByDiffAnnotations(); - } - } - - /// - /// Determines if the specified element is annotated as being constrained by the differential. - /// Note that this method is non-recursive; only the specified element itself is inspected, child element annotations are ignored. - /// Use to perform a recursive check. - /// - public static bool IsConstrainedByDiff(this Base elem) => elem != null && elem.HasAnnotation(); - - /// Determines if the specified element or any of it's children is annotated as being constrained by the differential. - public static bool HasDiffConstraintAnnotations(this Base elem) - => elem != null && ( - elem.HasAnnotation() - || elem.Children.Any(e => e.HasDiffConstraintAnnotations()) - ); - - #endregion - - - #region Annotation: Snapshot ElementDefinition - - // [WMR 20190806] Special internal annotation to save temporary reference to generated snapshot (root) element - // Used for handling recursive profiles, e.g. Element & Extension - // 1. Generate the new snapshot root element - // 2. Temporarily annotate original diff root element with reference to generated snapshot root - // 3. Generate the remaining snapshot elements - // 4. When having to resolve a recursive reference to currently generated snapshot, - // retrieve the generated snapshot root element from the annotation, for merging - // e.g. Element.id => Element, Extension.extension => Extension - // 5. Finally, remove temporary annotation from diff root element before returning result to caller - // Annotation class is internal; must explicitly clean up all instances ourselves - // WARNING: DeepCopy() also copies annotations, take care... - - /// For annotating a differential element definition with a reference to the associated generated snapshot element definition. - [Serializable] - sealed class SnapshotElementDefinitionAnnotation - { - /// - /// Custom annotation type for instances in the component. - /// Returns a reference to the associated instance in the component. - /// - public ElementDefinition SnapshotElement { get; } - - public SnapshotElementDefinitionAnnotation(ElementDefinition snapshotElement -#if DEBUG_SNAP_ELEM_ANNOTATIONS - , ElementDefinition diffElement -#endif - ) - { - if (snapshotElement is null) { throw Error.ArgumentNull(nameof(snapshotElement)); } - SnapshotElement = snapshotElement; - -#if DEBUG_SNAP_ELEM_ANNOTATIONS - if (diffElement is null) { throw Error.ArgumentNull(nameof(diffElement)); } - DiffElement = diffElement; -#endif - } - -#if DEBUG_SNAP_ELEM_ANNOTATIONS - // [WMR 20190806] Custom property for detecting annotations on cloned elements - - /// - /// DEBUGGING - /// Returns a reference to the original parent that owns the annotation. - /// Should be equal to the actual owner. - /// Otherwise, indicates that the element has been cloned (with annotations). - /// - public ElementDefinition DiffElement { get; } -#endif - } - - /// - /// Annotate the root instance in the component - /// with a reference to the associated root instance in the component. - /// - internal static void SetSnapshotRootElementAnnotation(this StructureDefinition sd, ElementDefinition rootElemDef) - { - sd?.Differential?.Element[0]?.SetSnapshotElementAnnotation(rootElemDef); - } - - /// - /// Annotate the specified instance in the component - /// with a reference to the associated instance in the component. - /// - /// - /// - static void SetSnapshotElementAnnotation(this ElementDefinition diffElemDef, ElementDefinition snapElemDef) - { -#if DEBUG_SNAP_ELEM_ANNOTATIONS - Debug.WriteLine($"[{nameof(SnapshotGeneratorAnnotations)}.{nameof(SetSnapshotElementAnnotation)}] #{diffElemDef.GetHashCode()}"); -#endif - diffElemDef?.SetAnnotation(new SnapshotElementDefinitionAnnotation(snapElemDef -#if DEBUG_SNAP_ELEM_ANNOTATIONS - , diffElemDef -#endif - )); - } - - /// - /// Return the annotated reference to the associated root instance - /// in the component, if it exists, or null otherwise. - /// - internal static ElementDefinition GetSnapshotRootElementAnnotation(this StructureDefinition sd) - => sd?.Differential?.Element[0]?.GetSnapshotElementAnnotation(); - - /// - /// Return the annotated reference to the associated instance - /// in the component, if it exists, or null otherwise. - /// - internal static ElementDefinition GetSnapshotElementAnnotation(this ElementDefinition ed) -#if DEBUG_SNAP_ELEM_ANNOTATIONS - { - var ann = ed?.Annotation(); - - // If the element has been cloned, the annotation no longer applies - if (!(ann is null)) - { - if (object.ReferenceEquals(ed, ann.DiffElement)) - { - return ann.SnapshotElement; - } - Debug.WriteLine($"[{nameof(SnapshotGeneratorAnnotations)}.{nameof(GetSnapshotElementAnnotation)}] Detected cloned annotation, removing..."); - ed?.RemoveSnapshotElementAnnotations(); - } - return null; - } - - /// - /// DEBUGGING - /// Indicates if the specified is annotated - /// with a reference to the associated snapshot element definition. - /// - internal static bool HasSnapshotElementAnnotation(this ElementDefinition ed) - => !(ed?.Annotation() is null); -#else - => ed?.Annotation()?.SnapshotElement; -#endif - - /// Remove all instances from the root . - internal static void RemoveSnapshotRootElementAnnotation(this StructureDefinition sd) => sd?.Differential?.Element[0]?.RemoveSnapshotElementAnnotations(); - - /// Remove all instances from the specified . - internal static void RemoveSnapshotElementAnnotations(this ElementDefinition ed) { ed?.RemoveAnnotations(); } - - #endregion - - } -} diff --git a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorErrors.cs b/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorErrors.cs deleted file mode 100644 index 3af046aa9..000000000 --- a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorErrors.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Hl7.Fhir.Model; -using Hl7.Fhir.Specification.Navigation; -using Hl7.Fhir.Utility; -using System; - -namespace Hl7.Fhir.Specification.Snapshot -{ - internal static class SnapshotGeneratorErrors - { - public const string Error_Navigator_Position = "Error! The specified element definition navigator is not positioned on an element."; - public const string Error_ElementDefinition_Path = "Error! The specified element definition has no path."; - public const string Error_StructureDefinition_Snapshot = "Error! The specified structure definition has no snapshot."; - - /// - /// Throw a runtime exception if the specified instance - /// is null or if it is not positioned on an element. - /// - public static void ThrowIfNullOrNotPositioned(this ElementDefinitionNavigator nav, string paramName) - { - if (nav == null) { throw Error.ArgumentNull(nameof(nav)); } - if (nav.AtRoot) { throw Error.Argument(nameof(nav), Error_Navigator_Position); } - } - - /// - /// Throw a runtime exception if the specified instance is null, - /// or if the property is null or empty. - /// - public static void ThrowIfNullOrEmptyPath(this ElementDefinition elemDef, string paramName) - { - if (elemDef == null) { throw Error.ArgumentNull(paramName); } - if (string.IsNullOrEmpty(elemDef.Path)) { throw Error.Argument(paramName, Error_ElementDefinition_Path); } - } - - /// - /// Throw a runtime exception if the specified instance is null, - /// or if the component is null or empty. - /// - public static void ThrowIfNullOrNoSnapshot(this StructureDefinition structDef, string paramName) - { - if (structDef == null) { throw Error.ArgumentNull(paramName); } - if (!structDef.HasSnapshot) { throw Error.Argument(paramName, Error_StructureDefinition_Snapshot); } - } - - } -} diff --git a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorEvents.cs b/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorEvents.cs deleted file mode 100644 index def29b926..000000000 --- a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotGeneratorEvents.cs +++ /dev/null @@ -1,209 +0,0 @@ -/* - * Copyright (c) 2017, Firely (info@fire.ly) and contributors - * See the file CONTRIBUTORS for details. - * - * This file is licensed under the BSD 3-Clause license - * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE - */ - -using System; -using Hl7.Fhir.Model; - -namespace Hl7.Fhir.Specification.Snapshot -{ - // Event declarations for the SnapshotGenerator class - - public partial class SnapshotGenerator - { - /// - /// An event that notifies clients when a differential constraint has been processed. - /// The specified instance is the result of merging the base - /// element with the associated differential constraint(s). - /// The event handler can inspect and optionally modify the element. - /// The result will be included in the snapshot. - /// - public event SnapshotConstraintHandler Constraint; - - /// Raise the event to notify the client that a differential constraint has been processed. - /// A reference to the snapshot element with merged differential constraints. - internal void OnConstraint(Element element) - { - if (element == null) { throw new ArgumentNullException(nameof(element)); } - - // Configurable default behavior: mark changed elements - // [WMR 20160915] Mark element as chaged - markChangedByDiff(element); - - var handler = Constraint; - if (handler != null) - { - var args = new SnapshotConstraintEventArgs(element); - handler(this, args); - } - } - - /// - /// An event that notifies clients when a base profile has been resolved. - /// - /// - /// The event argument returns a - /// reference to the original base profile instance as returned by the artifact source. - /// Modifications to this instance will affect the original cached artifact - /// and will be visible to other consumers of the artifact source. - /// - public event SnapshotBaseProfileHandler PrepareBaseProfile; - - /// - /// Raise the event to notify the client - /// when the associated base profile has been resolved and prepared for merging. - /// - /// A profile instance. - /// The associated base profile instance. - internal void OnPrepareBaseProfile(StructureDefinition profile, StructureDefinition baseProfile) - { - if (profile == null) { throw new ArgumentNullException(nameof(profile)); } - if (baseProfile == null) { throw new ArgumentNullException(nameof(baseProfile)); } - var handler = PrepareBaseProfile; - if (handler != null) - { - var args = new SnapshotBaseProfileEventArgs(profile, baseProfile); - handler(this, args); - } - } - - /// - /// An event that notifies clients when the generator initializes a new snapshot element. - /// The specified element is cloned from the base profile and the base path has been fixed. - /// The event handler can inspect and optionally modify the element. - /// After the event handler returns, the snapshot generator merges the associated - /// differential constraints, if they exist. - /// - public event SnapshotElementHandler PrepareElement; - - /// Raise the event to notify the client when an element definition is being prepared for merging. - internal void OnPrepareElement(ElementDefinition element, StructureDefinition baseStructure, ElementDefinition baseElement) - { - if (element == null) { throw new ArgumentNullException(nameof(element)); } - var handler = PrepareElement; - if (handler != null) - { - var args = new SnapshotElementEventArgs(element, baseStructure, baseElement); - handler(this, args); - } - } - - /// Indicates if the event has any active subscribers. - bool MustRaisePrepareElement => PrepareElement != null; - - // [WMR 20170105] NEW - - /// - /// An event that notifies clients when the snapshot generator must determine wether to expand a specific profile element. - /// The event handler can inspect and optionally modify the flag. - /// If the flag equals true, then the snapshot generator will expand the current element. - /// - public event SnapshotExpandElementHandler BeforeExpandElement; - - /// - /// Raise the event to notify the client when deciding wether to expand the current element. - /// The client can modify the value of the parameter to control expansion of specific elements. - /// Warning: recursively expanding all profile elements may cause infinite recursion! - /// - internal void OnBeforeExpandElement(ElementDefinition element, bool hasChildren, ref bool mustExpand) - { - if (element == null) { throw new ArgumentNullException(nameof(element)); } - - var handler = BeforeExpandElement; - if (handler != null) - { - var args = new SnapshotExpandElementEventArgs(element, hasChildren, mustExpand); - handler(this, args); - mustExpand = args.MustExpand; - } - } - } - - - /// Event arguments for the event delegate. - public sealed class SnapshotConstraintEventArgs : EventArgs - { - internal SnapshotConstraintEventArgs(Element element) : base() { Element = element; } - - /// Returns a reference to a constrained snapshot element definition or property. - public Element Element { get; } - } - - /// A delegate type for hooking up events. - public delegate void SnapshotConstraintHandler(object sender, SnapshotConstraintEventArgs e); - - - /// Event arguments for the event delegate. - public sealed class SnapshotBaseProfileEventArgs : EventArgs - { - internal SnapshotBaseProfileEventArgs(StructureDefinition profile, StructureDefinition baseProfile) : base() - { - Profile = profile; - BaseProfile = baseProfile; - } - - /// Returns a reference to a profile. - public StructureDefinition Profile { get; } - - /// Returns a reference to the associated base profile. - public StructureDefinition BaseProfile { get; } - - } - - /// A delegate type for hooking up events. - public delegate void SnapshotBaseProfileHandler(object sender, SnapshotBaseProfileEventArgs e); - - - /// Event arguments for the event delegate. - public sealed class SnapshotElementEventArgs : EventArgs - { - internal SnapshotElementEventArgs(ElementDefinition element, StructureDefinition baseStructure, ElementDefinition baseElement) : base() - { - Element = element; - BaseElement = baseElement; - BaseStructure = baseStructure; - } - - /// Returns a reference to an element definition. - public ElementDefinition Element { get; } - - /// Returns a reference to the associated base element definition. - public ElementDefinition BaseElement { get; } - - /// Returns a reference to the associated base structure definition. The snapshot component contains the instance. - public StructureDefinition BaseStructure { get; } - } - - /// A delegate type for hooking up events. - public delegate void SnapshotElementHandler(object sender, SnapshotElementEventArgs e); - - - /// Event arguments for the event delegate. - public sealed class SnapshotExpandElementEventArgs : EventArgs - { - internal SnapshotExpandElementEventArgs(ElementDefinition element, bool hasChildren, bool mustExpand) : base() - { - Element = element; - HasChildren = hasChildren; - MustExpand = mustExpand; - } - - /// Returns a reference to the current element. - public ElementDefinition Element { get; } - - /// Indicates wether the current element has any child elements. - public bool HasChildren { get; } - - /// Gets or sets a boolean value that determines wether the snapshot generator should expand children of the current element. - public bool MustExpand { get; set; } - } - - /// A delegate type for hooking up events. - public delegate void SnapshotExpandElementHandler(object sender, SnapshotExpandElementEventArgs e); - - -} diff --git a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotRecursionStack.cs b/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotRecursionStack.cs deleted file mode 100644 index 4d422c458..000000000 --- a/src/Hl7.Fhir.STU3/Specification/Snapshot/SnapshotRecursionStack.cs +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright (c) 2017, Firely (info@fire.ly) and contributors - * See the file CONTRIBUTORS for details. - * - * This file is licensed under the BSD 3-Clause license - * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE - */ - -using Hl7.Fhir.Specification.Navigation; -using Hl7.Fhir.Support; -using Hl7.Fhir.Utility; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; - -namespace Hl7.Fhir.Specification.Snapshot -{ - /// Internal helper class to detect and prevent recursive snapshot generation. - sealed class SnapshotRecursionStack - { - Stack _stack; - - sealed class SnapshotRecursionStackState - { - public SnapshotRecursionStackState(string profileUri) - { - if (profileUri == null) { throw Error.ArgumentNull(nameof(profileUri)); } - ProfileUri = profileUri; - Navigator = null; - } - /// Canonical uri of a profile for which the snapshot is being generated. - public readonly string ProfileUri; - - /// - /// Reference to the that is generating the snapshot. - /// Allows access to already generated elements. - /// - public ElementDefinitionNavigator Navigator { get; internal set; } - } - - /// Initialize the recursion stack before generating a single snapshot element. - public void OnStartRecursion() - { - if (_stack != null) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(OnStartRecursion)}). Cannot start a new snapshot generation. The previous operation has not finished."); - } - _stack = new Stack(); - } - - /// Verify and clear the recursion stack after generating a single snapshot element. - public void OnFinishRecursion() - { - if (_stack == null) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(OnFinishRecursion)}). Cannot finish snapshot generation. No snapshot is currently being generated."); - } - if (_stack.Count > 0) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(OnFinishRecursion)}). Cannot finish the operation while snapshots are still being generated."); - } - _stack = null; - } - - /// Initialize the recursion stack before generating a full snapshot. - public void OnBeforeGenerateSnapshot(string profileUri) - { - // Debug.Print($"[{nameof(SnapshotRecursionStack)}.{nameof(OnBeforeGenerateSnapshot)}] '{profileUri}'"); - OnStartRecursion(); - _stack.Push(new SnapshotRecursionStackState(profileUri)); - } - - /// Verify and clear the recursion stack after generating a full snapshot. - public void OnAfterGenerateSnapshot(string profileUri) - { - validateStackIsNotEmpty(nameof(OnAfterGenerateSnapshot)); - var currentState = _stack.Pop(); - var currentProfileUri = currentState.ProfileUri; - // Debug.Print($"[{nameof(SnapshotRecursionStack)}.{nameof(OnAfterGenerateSnapshot)}] '{profileUri}'"); - if (profileUri != currentProfileUri) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(OnAfterGenerateSnapshot)}). The specified profile Uri '{profileUri}' does not match the current state: '{CurrentProfileUri}'"); - } - OnFinishRecursion(); - } - - /// Verify recursive snapshot generation of the external profile with the specified url. - /// Thrown when detecting recursive snapshot generation. - public void OnBeforeExpandTypeProfile(string typeProfileUri, string path) - { - if (IsGenerating(typeProfileUri)) - { - throw Error.NotSupported( - $"Error generating snapshot. Recursive profile dependency detected for profile '{typeProfileUri}' on element '{path}'.\r\nProfile url stack:\r\n{string.Join("\r\n", this)}" - ); - } - // Debug.Print($"[{nameof(SnapshotRecursionStack)}.{nameof(OnBeforeExpandTypeProfile)}] '{typeProfileUri}'"); - _stack.Push(new SnapshotRecursionStackState(typeProfileUri)); - - } - - /// Signal that recursive snapshot generation of an external profile has finished. - public void OnAfterExpandTypeProfile(string typeProfileUri, string path) - { - // Debug.Print($"[{nameof(SnapshotRecursionStack)}.{nameof(OnAfterExpandTypeProfile)}] '{typeProfileUri}'"); - validateStackIsNotEmpty(nameof(OnAfterExpandTypeProfile)); - var currentState = _stack.Pop(); - var currentProfileUri = currentState.ProfileUri; - if (currentProfileUri != typeProfileUri) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(OnAfterExpandTypeProfile)}). The profile url '{typeProfileUri}' of the completed snapshot does not match the current state '{currentProfileUri}'."); - } - - } - - /// Returns the uri of the profile for which the snapshot component is currently being generated, or null. - public string CurrentProfileUri => _stack.Count > 0 ? _stack.Peek().ProfileUri : null; - - public void RegisterSnapshotNavigator(string profileUri, ElementDefinitionNavigator navigator) - { - if (navigator == null) { throw Error.ArgumentNull(nameof(navigator)); } - validateStackIsNotEmpty(nameof(RegisterSnapshotNavigator)); - var state = _stack.Peek(); - if (state.ProfileUri != profileUri) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(RegisterSnapshotNavigator)}). The profile url '{profileUri}' of the completed snapshot does not match the current state '{state.ProfileUri}'."); - } - // Navigator reference is write-once - if (state.Navigator != null) { throw Error.InvalidOperation($"Invalid snapshot generator state ({nameof(RegisterSnapshotNavigator)}): The navigator for profile '{profileUri}' is already initialized."); } - state.Navigator = navigator; - } - - public ElementDefinitionNavigator ResolveSnapshotNavigator(string profileUri) - { - var match = _stack.FirstOrDefault(state => state.ProfileUri == profileUri); - return match?.Navigator; // Returns null for default state (no match) - } - - /// Determines if the snapshot of the profile with the specified uri is being generated. - public bool IsGenerating(string profileUri) => _stack.Any(state => state.ProfileUri == profileUri); - - public int RecursionDepth => _stack.Count; - - void validateStackIsNotEmpty([CallerMemberName] string memberName = "") - { - if (_stack == null || _stack.Count == 0) - { - throw Error.InvalidOperation($"Invalid snapshot generator state ({memberName}). Cannot operate on empty recursion stack."); - } - } - - } - -} diff --git a/src/Hl7.Fhir.Shared.Tests/Model/NullExtensionsTest.cs b/src/Hl7.Fhir.Shared.Tests/Model/NullExtensionsTest.cs index b60b76a1f..eb887c01c 100644 --- a/src/Hl7.Fhir.Shared.Tests/Model/NullExtensionsTest.cs +++ b/src/Hl7.Fhir.Shared.Tests/Model/NullExtensionsTest.cs @@ -47,22 +47,22 @@ public void TestIsNullOrEmpty_Extension() [TestMethod] public void TestIsNullOrEmpty_FhirUri() => testIsNullOrEmpty_StringPrimitive("http://example.org"); - void testIsNullOrEmpty_Primitive(V testValue, V emptyValue) where T : PrimitiveType, IValue, new() + private static void testIsNullOrEmpty_Primitive(V testValue, V emptyValue) where T : PrimitiveType, IValue, new() { var elem = new T(); Assert.IsTrue(elem.IsNullOrEmpty()); elem.Value = emptyValue; Assert.IsFalse(elem.IsNullOrEmpty()); - Assert.IsFalse((elem as Base).IsNullOrEmpty()); + Assert.IsFalse(elem.IsNullOrEmpty()); elem.Value = testValue; Assert.IsFalse(elem.IsNullOrEmpty()); - Assert.IsFalse((elem as Base).IsNullOrEmpty()); + Assert.IsFalse(elem.IsNullOrEmpty()); elem.Value = default; Assert.IsTrue(elem.IsNullOrEmpty()); - Assert.IsTrue((elem as Base).IsNullOrEmpty()); + Assert.IsTrue(elem.IsNullOrEmpty()); var extension = new Extension(); Assert.IsTrue(extension.IsNullOrEmpty()); @@ -74,7 +74,7 @@ public void TestIsNullOrEmpty_Extension() extension.Value = extensionValue; Assert.IsFalse(extension.IsNullOrEmpty()); Assert.IsFalse(elem.IsNullOrEmpty()); - Assert.IsFalse((elem as Base).IsNullOrEmpty()); + Assert.IsFalse(elem.IsNullOrEmpty()); extensionValue.Value = null; Assert.IsTrue(extensionValue.IsNullOrEmpty()); @@ -85,23 +85,20 @@ public void TestIsNullOrEmpty_Extension() Assert.IsTrue(elem.IsNullOrEmpty()); } - void testIsNullOrEmpty_StringPrimitive(string exampleValue = "test") where T : PrimitiveType, IValue, new() + private static void testIsNullOrEmpty_StringPrimitive(string exampleValue = "test") where T : PrimitiveType, IValue, new() { var elem = new T(); Assert.IsTrue(elem.IsNullOrEmpty()); elem.Value = string.Empty; Assert.IsTrue(elem.IsNullOrEmpty()); - Assert.IsTrue((elem as Base).IsNullOrEmpty()); Assert.IsFalse(string.IsNullOrEmpty(exampleValue)); elem.Value = exampleValue; Assert.IsFalse(elem.IsNullOrEmpty()); - Assert.IsFalse((elem as Base).IsNullOrEmpty()); elem.Value = null; Assert.IsTrue(elem.IsNullOrEmpty()); - Assert.IsTrue((elem as Base).IsNullOrEmpty()); var extension = new Extension(); Assert.IsTrue(extension.IsNullOrEmpty()); @@ -113,7 +110,6 @@ public void TestIsNullOrEmpty_Extension() extension.Value = extensionValue; Assert.IsFalse(extension.IsNullOrEmpty()); Assert.IsFalse(elem.IsNullOrEmpty()); - Assert.IsFalse((elem as Base).IsNullOrEmpty()); extensionValue.Value = null; Assert.IsTrue(extensionValue.IsNullOrEmpty()); @@ -188,4 +184,4 @@ public void TestIsNullOrEmpty_List() // Assert.IsTrue(codings.IsNullOrEmpty()); } } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Shared.Tests/Serialization/SummarySerializationTests.cs b/src/Hl7.Fhir.Shared.Tests/Serialization/SummarySerializationTests.cs index a288407ba..e85bfca12 100644 --- a/src/Hl7.Fhir.Shared.Tests/Serialization/SummarySerializationTests.cs +++ b/src/Hl7.Fhir.Shared.Tests/Serialization/SummarySerializationTests.cs @@ -6,6 +6,7 @@ * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE */ +using FluentAssertions; using Hl7.Fhir.ElementModel; using Hl7.Fhir.Model; using Hl7.Fhir.Rest; @@ -314,7 +315,7 @@ public async Tasks.Task TestBundleWithSummaryJson() var actualData = inJson ? await FhirJsonSerializer.SerializeToStringAsync(bundle, mode) : await FhirXmlSerializer.SerializeToStringAsync(bundle, mode); var expectedData = TestDataHelper.ReadTestData(expectedFile); - Assert.AreEqual(actualData, expectedData); + actualData.Should().Be(expectedData); } } diff --git a/src/Hl7.Fhir.Shims.Base/Hl7.Fhir.Shims.Base.projitems b/src/Hl7.Fhir.Shims.Base/Hl7.Fhir.Shims.Base.projitems index a39943ed7..f6a98a1b7 100644 --- a/src/Hl7.Fhir.Shims.Base/Hl7.Fhir.Shims.Base.projitems +++ b/src/Hl7.Fhir.Shims.Base/Hl7.Fhir.Shims.Base.projitems @@ -10,7 +10,12 @@ + + + + + diff --git a/src/Hl7.Fhir.Conformance/Specification/Snapshot/ElementIdGenerator.cs b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/ElementIdGenerator.cs similarity index 100% rename from src/Hl7.Fhir.Conformance/Specification/Snapshot/ElementIdGenerator.cs rename to src/Hl7.Fhir.Shims.Base/Specification/Snapshot/ElementIdGenerator.cs diff --git a/src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorAnnotations.cs b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorAnnotations.cs similarity index 96% rename from src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorAnnotations.cs rename to src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorAnnotations.cs index be4257bf0..da82506c3 100644 --- a/src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorAnnotations.cs +++ b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorAnnotations.cs @@ -71,7 +71,9 @@ internal static void RemoveAllConstrainedByDiffAnnotations(this Base element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveConstrainedByDiffAnnotation(); - foreach (var child in element.Children) +#pragma warning disable CS0618 // Type or member is obsolete + foreach (var child in element.Children()) +#pragma warning restore CS0618 // Type or member is obsolete { child.RemoveAllConstrainedByDiffAnnotations(); } @@ -98,7 +100,9 @@ internal static void RemoveAllConstrainedByDiffAnnotations(this IEnumerable elem != null && ( elem.HasAnnotation() - || elem.Children.Any(e => e.HasDiffConstraintAnnotations()) +#pragma warning disable CS0618 // Type or member is obsolete + || elem.Children().Any(e => e.HasDiffConstraintAnnotations()) +#pragma warning restore CS0618 // Type or member is obsolete ); #endregion @@ -232,4 +236,4 @@ internal static bool HasSnapshotElementAnnotation(this ElementDefinition ed) #endregion } -} +} \ No newline at end of file diff --git a/src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorErrors.cs b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorErrors.cs similarity index 100% rename from src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorErrors.cs rename to src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorErrors.cs diff --git a/src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorEvents.cs b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorEvents.cs similarity index 100% rename from src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotGeneratorEvents.cs rename to src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotGeneratorEvents.cs diff --git a/src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotRecursionStack.cs b/src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotRecursionStack.cs similarity index 100% rename from src/Hl7.Fhir.Conformance/Specification/Snapshot/SnapshotRecursionStack.cs rename to src/Hl7.Fhir.Shims.Base/Specification/Snapshot/SnapshotRecursionStack.cs diff --git a/src/Hl7.Fhir.Support.Poco.Tests/Model/ModelTests.cs b/src/Hl7.Fhir.Support.Poco.Tests/Model/ModelTests.cs index e58b18dff..d161ca30b 100644 --- a/src/Hl7.Fhir.Support.Poco.Tests/Model/ModelTests.cs +++ b/src/Hl7.Fhir.Support.Poco.Tests/Model/ModelTests.cs @@ -6,6 +6,7 @@ * available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE */ +using FluentAssertions; using Hl7.Fhir.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; @@ -13,417 +14,431 @@ using System.Linq; using System.Xml.Linq; -namespace Hl7.Fhir.Tests.Model +namespace Hl7.Fhir.Tests.Model; + +[TestClass] +public class ModelTests { - [TestClass] - public class ModelTests + [TestMethod] + public void ValidateElementAssertions() { - [TestMethod] - public void ValidateElementAssertions() - { - XElement xr = new XElement("root", - new XElement("child", "value"), - new XElement("child", "value2")); + XElement xr = new XElement("root", + new XElement("child", "value"), + new XElement("child", "value2")); - Assert.IsNull(xr.Element("childx")); - Assert.AreEqual(0, xr.Elements("childx").Count()); - Assert.AreEqual("value", xr.Element("child").Value); - } + Assert.IsNull(xr.Element("childx")); + Assert.AreEqual(0, xr.Elements("childx").Count()); + Assert.AreEqual("value", xr.Element("child")?.Value); + } - [TestMethod] - public void OperationOutcomeExpression() + [TestMethod] + public void OperationOutcomeExpression() + { + var oo = new OperationOutcome(); + oo.Issue.Add(new OperationOutcome.IssueComponent() { - OperationOutcome oo = new OperationOutcome(); - oo.Issue.Add(new OperationOutcome.IssueComponent() - { - Expression = new string[] { "this" } - }); - Assert.AreEqual(1, oo.Issue[0].Expression.Count()); - } + Expression = ["this"] + }); + Assert.AreEqual(1, oo.Issue[0].Expression.Count()); + } - [TestMethod] - public void Uri_Canonical() - { - var identifier = new Identifier("http://nhi.health.nz", "123"); - Assert.AreEqual("123", identifier.Value); - Assert.AreEqual("http://nhi.health.nz", identifier.System); - } + [TestMethod] + public void Uri_Canonical() + { + var identifier = new Identifier("http://nhi.health.nz", "123"); + Assert.AreEqual("123", identifier.Value); + Assert.AreEqual("http://nhi.health.nz", identifier.System); + } + + [TestMethod] + public void TestBundleLinkEncoding() + { + test("http://foo/bar?param1={0}¶m2={1}"); + test("http://foo/bar/../bar?param1={0}¶m2={1}"); + test("bar?param1={0}¶m2={1}"); + test("bar/../bar?param1={0}¶m2={1}"); + return; - [TestMethod] - public void TestBundleLinkEncoding() + static void test(string urlFormat) { - Action test = (urlFormat) => + var param1 = "baz/123"; + var param2 = "qux:456"; + var manuallyEncodedUrl = string.Format(urlFormat, "baz%2F123", "qux%3A456"); + var uriEncodedUrl = string.Format(urlFormat, Uri.EscapeDataString(param1), Uri.EscapeDataString(param2)); + Assert.AreEqual(manuallyEncodedUrl, uriEncodedUrl); + var uri = new Uri(manuallyEncodedUrl, UriKind.RelativeOrAbsolute); + var bundle = new Bundle { SelfLink = uri }; + if (uri.IsAbsoluteUri) { - var param1 = "baz/123"; - var param2 = "qux:456"; - var manuallyEncodedUrl = string.Format(urlFormat, "baz%2F123", "qux%3A456"); - var uriEncodedUrl = string.Format(urlFormat, Uri.EscapeDataString(param1), Uri.EscapeDataString(param2)); - Assert.AreEqual(manuallyEncodedUrl, uriEncodedUrl); - var uri = new Uri(manuallyEncodedUrl, UriKind.RelativeOrAbsolute); - var bundle = new Bundle { SelfLink = uri }; - if (uri.IsAbsoluteUri) - { - Assert.AreEqual(uri.AbsoluteUri, bundle.SelfLink.AbsoluteUri); - } - else - { - Assert.AreEqual(uri.OriginalString, bundle.SelfLink.OriginalString); - } - }; - - test("http://foo/bar?param1={0}¶m2={1}"); - test("http://foo/bar/../bar?param1={0}¶m2={1}"); - test("bar?param1={0}¶m2={1}"); - test("bar/../bar?param1={0}¶m2={1}"); + Assert.AreEqual(uri.AbsoluteUri, bundle.SelfLink.AbsoluteUri); + } + else + { + Assert.AreEqual(uri.OriginalString, bundle.SelfLink.OriginalString); + } } + } - [TestMethod] - public void SimpleValueSupport() - { - Bundle b = new(); - - Assert.IsNull(b.Total); - b.Total = 10; - Assert.AreEqual(10, b.Total.GetValueOrDefault()); - Assert.IsNotNull(b.Total); - - OperationOutcome.IssueComponent ic = new(); - - ic.DiagnosticsElement = new FhirString("Furore"); - Assert.AreEqual("Furore", ic.Diagnostics); - ic.Diagnostics = null; - Assert.IsNull(ic.DiagnosticsElement); - ic.Diagnostics = "Furore"; - Assert.IsNotNull(ic.DiagnosticsElement); - - ic.Expression = new string[] { "json", "xml" }; - Assert.IsNotNull(ic.ExpressionElement); - Assert.AreEqual(2, ic.ExpressionElement.Count); - Assert.AreEqual("json", ic.ExpressionElement.First().Value); - - ic.ExpressionElement = new List(); - ic.ExpressionElement.Add(new FhirString("csv")); - Assert.IsNotNull(ic.Expression); - Assert.AreEqual(1, ic.Expression.Count()); - } + [TestMethod] + public void SimpleValueSupport() + { + Bundle b = new(); + + Assert.IsNull(b.Total); + b.Total = 10; + Assert.AreEqual(10, b.Total.GetValueOrDefault()); + Assert.IsNotNull(b.Total); + + OperationOutcome.IssueComponent ic = new() { DiagnosticsElement = new FhirString("Furore") }; + Assert.AreEqual("Furore", ic.Diagnostics); + ic.Diagnostics = null; + Assert.IsNull(ic.DiagnosticsElement); + ic.Diagnostics = "Furore"; + Assert.IsNotNull(ic.DiagnosticsElement); + + ic.Expression = new string[] { "json", "xml" }; + Assert.IsNotNull(ic.ExpressionElement); + Assert.AreEqual(2, ic.ExpressionElement.Count); + Assert.AreEqual("json", ic.ExpressionElement.First().Value); + + ic.ExpressionElement = new List(); + ic.ExpressionElement.Add(new FhirString("csv")); + Assert.IsNotNull(ic.Expression); + Assert.AreEqual(1, ic.Expression.Count()); + } - [TestMethod] - public void ExtensionManagement() - { - Patient p = new(); - var u1 = "http://fhir.org/ext/ext-test"; - Assert.IsNull(p.GetExtension("http://fhir.org/ext/ext-test")); + [TestMethod] + public void ExtensionManagement() + { + Patient p = new(); + var u1 = "http://fhir.org/ext/ext-test"; + Assert.IsNull(p.GetExtension("http://fhir.org/ext/ext-test")); - Extension newEx = p.SetExtension(u1, new FhirBoolean(true)); - Assert.AreSame(newEx, p.GetExtension(u1)); + Extension newEx = p.SetExtension(u1, new FhirBoolean(true)); + Assert.AreSame(newEx, p.GetExtension(u1)); - p.AddExtension("http://fhir.org/ext/ext-test2", new FhirString("Ewout")); - Assert.AreSame(newEx, p.GetExtension(u1)); + p.AddExtension("http://fhir.org/ext/ext-test2", new FhirString("Ewout")); + Assert.AreSame(newEx, p.GetExtension(u1)); - p.RemoveExtension(u1); - Assert.IsNull(p.GetExtension(u1)); + p.RemoveExtension(u1); + Assert.IsNull(p.GetExtension(u1)); - p.SetExtension("http://fhir.org/ext/ext-test2", new FhirString("Ewout Kramer")); - var ew = p.GetExtensions("http://fhir.org/ext/ext-test2"); - Assert.AreEqual(1, ew.Count()); + p.SetExtension("http://fhir.org/ext/ext-test2", new FhirString("Ewout Kramer")); + var ew = p.GetExtensions("http://fhir.org/ext/ext-test2"); + Assert.AreEqual(1, ew.Count()); - p.AddExtension("http://fhir.org/ext/ext-test2", new FhirString("Wouter Kramer")); + p.AddExtension("http://fhir.org/ext/ext-test2", new FhirString("Wouter Kramer")); - ew = p.GetExtensions("http://fhir.org/ext/ext-test2"); - Assert.AreEqual(2, ew.Count()); + ew = p.GetExtensions("http://fhir.org/ext/ext-test2"); + Assert.AreEqual(2, ew.Count()); - Assert.AreEqual(0, p.ModifierExtension.Count()); - var me = p.AddExtension("http://fhir.org/ext/ext-test3", new FhirString("bla"), isModifier: true); - Assert.AreEqual(1, p.ModifierExtension.Count()); - Assert.AreEqual(me, p.GetExtension("http://fhir.org/ext/ext-test3")); - Assert.AreEqual(me, p.GetExtensions("http://fhir.org/ext/ext-test3").Single()); - Assert.AreEqual(3, p.AllExtensions().Count()); + Assert.AreEqual(0, p.ModifierExtension.Count()); + var me = p.AddExtension("http://fhir.org/ext/ext-test3", new FhirString("bla"), isModifier: true); + Assert.AreEqual(1, p.ModifierExtension.Count()); + Assert.AreEqual(me, p.GetExtension("http://fhir.org/ext/ext-test3")); + Assert.AreEqual(me, p.GetExtensions("http://fhir.org/ext/ext-test3").Single()); + Assert.AreEqual(3, p.AllExtensions().Count()); - var code = new Code("test"); - p.AddExtension("http://fhir.org/ext/code", code); - Assert.AreEqual(code, p.GetExtensionValue("http://fhir.org/ext/code")); + var code = new Code("test"); + p.AddExtension("http://fhir.org/ext/code", code); + Assert.AreEqual(code, p.GetExtensionValue("http://fhir.org/ext/code")); - var text = new FhirString("test"); - p.AddExtension("http://fhir.org/ext/string", text); - Assert.AreEqual(text, p.GetExtensionValue("http://fhir.org/ext/string")); + var text = new FhirString("test"); + p.AddExtension("http://fhir.org/ext/string", text); + Assert.AreEqual(text, p.GetExtensionValue("http://fhir.org/ext/string")); - var fhirbool = new FhirBoolean(true); - p.AddExtension("http://fhir.org/ext/bool", fhirbool); - Assert.AreEqual(fhirbool, p.GetExtensionValue("http://fhir.org/ext/bool")); + var fhirbool = new FhirBoolean(true); + p.AddExtension("http://fhir.org/ext/bool", fhirbool); + Assert.AreEqual(fhirbool, p.GetExtensionValue("http://fhir.org/ext/bool")); - } + } - [TestMethod] - public void RecognizeContainedReference() - { - var rref = new ResourceReference() { Reference = "#patient2223432" }; + [TestMethod] + public void RecognizeContainedReference() + { + var rref = new ResourceReference() { Reference = "#patient2223432" }; - Assert.IsTrue(rref.IsContainedReference); + Assert.IsTrue(rref.IsContainedReference); - rref.Reference = "http://somehwere.nl/Patient/1"; - Assert.IsFalse(rref.IsContainedReference); + rref.Reference = "http://somehwere.nl/Patient/1"; + Assert.IsFalse(rref.IsContainedReference); - rref.Reference = "Patient/1"; - Assert.IsFalse(rref.IsContainedReference); - } + rref.Reference = "Patient/1"; + Assert.IsFalse(rref.IsContainedReference); + } - [TestMethod] - public void FindContainedResource() + [TestMethod] + public void FindContainedResource() + { + var cPat1 = new Patient() { Id = "pat1" }; + var cPat2 = new Patient() { Id = "pat2" }; + var pat = new Patient { - var cPat1 = new Patient() { Id = "pat1" }; - var cPat2 = new Patient() { Id = "pat2" }; - var pat = new Patient - { - Contained = new List { cPat1, cPat2 } - }; + Contained = [cPat1, cPat2] + }; - var rref = new ResourceReference() { Reference = "#pat2" }; + var rref = new ResourceReference() { Reference = "#pat2" }; - Assert.IsNotNull(pat.FindContainedResource(rref), "#pat2 should be in the contained resources"); - Assert.IsNotNull(pat.FindContainedResource("#pat1"), "#pat1 should be in the contained resources"); + Assert.IsNotNull(pat.FindContainedResource(rref), "#pat2 should be in the contained resources"); + Assert.IsNotNull(pat.FindContainedResource("#pat1"), "#pat1 should be in the contained resources"); - rref.Reference = "#pat3"; - Assert.IsNull(pat.FindContainedResource(rref)); + rref.Reference = "#pat3"; + Assert.IsNull(pat.FindContainedResource(rref)); - Assert.AreEqual(pat, pat.FindContainedResource("#")); + Assert.AreEqual(pat, pat.FindContainedResource("#")); - var pat2 = new Patient(); - Assert.IsNull(pat2.FindContainedResource("#pat1")); - } + var pat2 = new Patient(); + Assert.IsNull(pat2.FindContainedResource("#pat1")); + } - [TestMethod] - [ExpectedException(typeof(ArgumentNullException))] - public void FindContainedResourceExceptionExpected() + [TestMethod] + [ExpectedException(typeof(ArgumentNullException))] + public void FindContainedResourceExceptionExpected() + { + var cPat1 = new Patient() { Id = "pat1" }; + var cPat2 = new Patient() { Id = "pat2" }; + var pat = new Patient { - var cPat1 = new Patient() { Id = "pat1" }; - var cPat2 = new Patient() { Id = "pat2" }; - var pat = new Patient - { - Contained = new List { cPat1, cPat2 } - }; + Contained = [cPat1, cPat2] + }; - pat.FindContainedResource((ResourceReference)null); - } + pat.FindContainedResource((ResourceReference)null); + } - [TestMethod] - public void TestListDeepCopy() - { - var x = new List(); - x.Add(new Patient()); - x.Add(new Patient()); - - var y = new List(x.DeepCopy()); - Assert.IsTrue(x[0] is Patient); - Assert.AreNotEqual(x[0], y[0]); - Assert.AreNotEqual(x[1], y[1]); - } + [TestMethod] + public void TestListDeepCopy() + { + var x = new List { new(), new() }; + var y = new List(x.DeepCopy()); + Assert.IsTrue(x[0] != null); + Assert.AreNotEqual(x[0], y[0]); + Assert.AreNotEqual(x[1], y[1]); + } - [TestMethod] - public void TestLazyCreatedLists() - { - var p = new Patient(); - p.Name.Add(new HumanName()); - } + [TestMethod] + public void TestLazyCreatedLists() + { + var p = new Patient(); + p.Name.Add(new HumanName()); + } - [TestMethod] - public void TestStringValueInterface() - { - IValue sv = new FhirString("test"); - Assert.IsNotNull(sv); - sv.Value = "string"; - Assert.AreEqual(sv.Value, "string"); - - sv = new FhirUri("test"); - Assert.IsNotNull(sv); - sv.Value = "http://example.org"; - Assert.AreEqual(sv.Value, "http://example.org"); - - sv = new Uuid("test"); - Assert.IsNotNull(sv); - sv.Value = "550e8400-e29b-41d4-a716-446655440000"; - Assert.AreEqual(sv.Value, "550e8400-e29b-41d4-a716-446655440000"); - - sv = new Oid("test"); - Assert.IsNotNull(sv); - sv.Value = "2.16.840.1.113883"; - Assert.AreEqual(sv.Value, "2.16.840.1.113883"); - - sv = new Markdown("test"); - Assert.IsNotNull(sv); - sv.Value = "Hello World!"; - Assert.AreEqual(sv.Value, "Hello World!"); - - sv = new Date(); - Assert.IsNotNull(sv); - sv.Value = "20161201"; - Assert.AreEqual(sv.Value, "20161201"); - - sv = new Time(); - Assert.IsNotNull(sv); - sv.Value = "23:59:00"; - Assert.AreEqual(sv.Value, "23:59:00"); - - sv = new FhirDateTime(DateTimeOffset.UtcNow); - Assert.IsNotNull(sv); - sv.Value = "20161201 23:59:00"; - Assert.AreEqual(sv.Value, "20161201 23:59:00"); - } + [TestMethod] + public void TestStringValueInterface() + { + IValue sv = new FhirString("test"); + Assert.IsNotNull(sv); + sv.Value = "string"; + Assert.AreEqual(sv.Value, "string"); + + sv = new FhirUri("test"); + Assert.IsNotNull(sv); + sv.Value = "http://example.org"; + Assert.AreEqual(sv.Value, "http://example.org"); + + sv = new Uuid("test"); + Assert.IsNotNull(sv); + sv.Value = "550e8400-e29b-41d4-a716-446655440000"; + Assert.AreEqual(sv.Value, "550e8400-e29b-41d4-a716-446655440000"); + + sv = new Oid("test"); + Assert.IsNotNull(sv); + sv.Value = "2.16.840.1.113883"; + Assert.AreEqual(sv.Value, "2.16.840.1.113883"); + + sv = new Markdown("test"); + Assert.IsNotNull(sv); + sv.Value = "Hello World!"; + Assert.AreEqual(sv.Value, "Hello World!"); + + sv = new Date(); + Assert.IsNotNull(sv); + sv.Value = "20161201"; + Assert.AreEqual(sv.Value, "20161201"); + + sv = new Time(); + Assert.IsNotNull(sv); + sv.Value = "23:59:00"; + Assert.AreEqual(sv.Value, "23:59:00"); + + sv = new FhirDateTime(DateTimeOffset.UtcNow); + Assert.IsNotNull(sv); + sv.Value = "20161201 23:59:00"; + Assert.AreEqual(sv.Value, "20161201 23:59:00"); + } - [TestMethod] - public void TestIntegerValueInterface() - { - INullableValue iv = new Integer(null); - Assert.IsNotNull(iv); - iv.Value = 12345; - Assert.AreEqual(iv.Value, 12345); - - iv = new UnsignedInt(0); - Assert.IsNotNull(iv); - iv.Value = 12345; - Assert.AreEqual(iv.Value, 12345); - - iv = new PositiveInt(1); - Assert.IsNotNull(iv); - iv.Value = 12345; - Assert.AreEqual(iv.Value, 12345); - } - [TestMethod] - public void TestChildren_EmptyPatient() - { - var patient = new Patient(); - var children = patient.Children.ToArray(); - Base[] expected = { }; - Assert.IsTrue(expected.SequenceEqual(children)); - } + [TestMethod] + public void TestIntegerValueInterface() + { + INullableValue iv = new Integer(null); + Assert.IsNotNull(iv); + iv.Value = 12345; + Assert.AreEqual(iv.Value, 12345); + + iv = new UnsignedInt(0); + Assert.IsNotNull(iv); + iv.Value = 12345; + Assert.AreEqual(iv.Value, 12345); + + iv = new PositiveInt(1); + Assert.IsNotNull(iv); + iv.Value = 12345; + Assert.AreEqual(iv.Value, 12345); + } - [TestMethod] - public void TestChildren_EmptyHumanName() - { - var timing = new HumanName(); - var children = timing.Children.ToArray(); - Base[] expected = { }; - Assert.IsTrue(expected.SequenceEqual(children)); - } + [TestMethod] + public void ToStringHandlesNullObjectValue() + { + var s = new FhirString(null); + Assert.IsNull(s.ToString()); - [TestMethod] - public void ToStringHandlesNullObjectValue() - { - var s = new FhirString(null); - Assert.IsNull(s.ToString()); + var i = new FhirBoolean(null); + Assert.IsNull(i.ToString()); + } - var i = new FhirBoolean(null); - Assert.IsNull(i.ToString()); - } +#pragma warning disable CS0618 // Type or member is obsolete + [TestMethod] + public void ChildrenHandlesExceptionCasesCorrectly() + { + //"Narrative.div" => $"new FhirString({info.PropertyName}.Value)", + // "Element.id" => $"new FhirString({info.PropertyName})", + // "Extension.url" => $"new FhirUri({info.PropertyName})", + var n = new Narrative("

bla

") { ElementId = "id1", Status = Narrative.NarrativeStatus.Additional }; + + n.Children().IsExactly([new FhirString("id1"), new Code(Narrative.NarrativeStatus.Additional), new FhirString("

bla

") ]) + .Should().BeTrue(); + + var e = new Extension("http://nu.nl", new FhirBoolean(true)); + e.Children().IsExactly([new FhirUri("http://nu.nl"), new FhirBoolean(true)]).Should().BeTrue(); + } + + [TestMethod] + public void TestChildren_EmptyResource() + { + var oo = new OperationOutcome(); + var children = oo.Children().ToArray(); + Base[] expected = []; + Assert.IsTrue(expected.SequenceEqual(children)); + } - [TestMethod] - public void TestChildren_Patient() + [TestMethod] + public void TestChildren_EmptyDataType() + { + var timing = new Identifier(); + var children = timing.Children().ToArray(); + Base[] expected = []; + Assert.IsTrue(expected.SequenceEqual(children)); + } + + [TestMethod] + public void TestChildren_Patient() + { + var patient = new Patient { - var patient = new Patient() + Name = { - Name = + new HumanName() { - new HumanName() - { - Given = new string[] { "John" }, - Family = "Doe" - }, - new HumanName() - { - Given = new string[] { "Alias" }, - Family = "Alternate" - } + Given = ["John"], + Family = "Doe" }, - Address = + new HumanName() { - new Address() - { - City = "Amsterdam", - Line = new string[] { "Rokin" } - } + Given = ["Alias"], + Family = "Alternate" } - }; - var children = patient.Children.ToArray(); - Base[] expected = - { - // ===== Resource elements ===== - // patient.IdElement, patient.Meta, patient.ImplicitRulesElement, patient.LanguageElement, - - // ===== DomainResource elements ===== - // patient.Text, - // patient.Contained = empty collection - // patient.Extension = empty collection - // patient.ModifierExtension = empty collection - - // ===== Patient elements ===== - // patient.Identifier = empty collection - // patient.ActiveElement, - patient.Name[0], - patient.Name[1], - // patient.Telecom = empty collection - // patient.GenderElement, - // patient.BirthDateElement, - // patient.Deceased, - patient.Address[0], - // patient.MaritalStatus, - // patient.MultipleBirth, - // patient.Photo = empty collection - // patient.Contact = empty collection - // patient.Animal, - // patient.Communication = empty collection - // patient.CareProvider = empty collection - // patient.ManagingOrganization - // patient.Link = empty collection - }; - Assert.IsTrue(expected.SequenceEqual(children)); - - var name = patient.Name[0]; - children = name.Children.ToArray(); - expected = new Base[] + }, + Address = { - // ===== Element elements ===== - // name.Extension = empty collection - - // ===== HumanName elements ===== - // name.UseElement, - // name.TextElement, - name.FamilyElement, - name.GivenElement[0], - // name.Period - }; - Assert.IsTrue(expected.SequenceEqual(children)); - - var address = patient.Address[0]; - children = address.Children.ToArray(); - expected = new Base[] - { - // ===== Element elements ===== - // name.Extension = empty collection - - // ===== Address elements ===== - // address.UseElement, - // address.TypeElement, - // address.TextElement, - address.LineElement[0], - address.CityElement, - // address.DistrictElement, - // address.StateElement, - // address.PostalCodeElement, - // address.CountryElement, - // address.Period - }; - Assert.IsTrue(expected.SequenceEqual(children)); - } + new Address() + { + City = "Amsterdam", + Line = ["Rokin"] + } + } + }; + var children = patient.Children().ToArray(); + Base[] expected = + [ + // ===== Resource elements ===== + // patient.IdElement, patient.Meta, patient.ImplicitRulesElement, patient.LanguageElement, + + // ===== DomainResource elements ===== + // patient.Text, + // patient.Contained = empty collection + // patient.Extension = empty collection + // patient.ModifierExtension = empty collection + + // ===== Patient elements ===== + // patient.Identifier = empty collection + // patient.ActiveElement, + patient.Name[0], + patient.Name[1], + // patient.Telecom = empty collection + // patient.GenderElement, + // patient.BirthDateElement, + // patient.Deceased, + patient.Address[0] + // patient.MaritalStatus, + // patient.MultipleBirth, + // patient.Photo = empty collection + // patient.Contact = empty collection + // patient.Animal, + // patient.Communication = empty collection + // patient.CareProvider = empty collection + // patient.ManagingOrganization + // patient.Link = empty collection + ]; + Assert.IsTrue(expected.SequenceEqual(children)); + + var name = patient.Name[0]; + children = name.Children().ToArray(); + expected = + [ + // ===== Element elements ===== + // name.Extension = empty collection + + // ===== HumanName elements ===== + // name.UseElement, + // name.TextElement, + name.FamilyElement, + name.GivenElement[0] + // name.Period + ]; + Assert.IsTrue(expected.SequenceEqual(children)); + + var address = patient.Address[0]; + children = address.Children().ToArray(); + expected = + [ + // ===== Element elements ===== + // name.Extension = empty collection + + // ===== Address elements ===== + // address.UseElement, + // address.TypeElement, + // address.TextElement, + address.LineElement[0], + address.CityElement + // address.DistrictElement, + // address.StateElement, + // address.PostalCodeElement, + // address.CountryElement, + // address.Period + ]; + Assert.IsTrue(expected.SequenceEqual(children)); } -} \ No newline at end of file +} + +#pragma warning restore CS0618 // Type or member is obsolete \ No newline at end of file From 1cd2505ea3c3d3149f36b245e2b23cdfd1589a88 Mon Sep 17 00:00:00 2001 From: Ewout Kramer Date: Tue, 19 Nov 2024 18:14:30 +0100 Subject: [PATCH 4/5] Added compat suppressions. --- .../CompatibilitySuppressions.xml | 427 ++++++++++++++++++ 1 file changed, 427 insertions(+) diff --git a/src/Hl7.Fhir.Base/CompatibilitySuppressions.xml b/src/Hl7.Fhir.Base/CompatibilitySuppressions.xml index beb25c62e..661e3f71a 100644 --- a/src/Hl7.Fhir.Base/CompatibilitySuppressions.xml +++ b/src/Hl7.Fhir.Base/CompatibilitySuppressions.xml @@ -162,6 +162,34 @@ lib/net8.0/Hl7.Fhir.Base.dll true + + CP0002 + M:Hl7.Fhir.Model.Attachment.get_UrlElement + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0002 + M:Hl7.Fhir.Model.Base.AsReadOnlyDictionary + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0002 + M:Hl7.Fhir.Model.Base.get_Children + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0002 + M:Hl7.Fhir.Model.Base.get_NamedChildren + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + CP0002 M:Hl7.Fhir.Model.Parameters.get_Item(System.String) @@ -323,6 +351,405 @@ lib/net8.0/Hl7.Fhir.Base.dll true + + CP0008 + T:Hl7.Fhir.Model.Attachment + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.BackboneElement + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.BackboneType + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Base + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Base64Binary + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Binary + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle.EntryComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle.LinkComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle.RequestComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle.ResponseComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Bundle.SearchComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Canonical + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Code + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Code`1 + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.CodeableConcept + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.CodeableReference + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Coding + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.ContactDetail + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.ContactPoint + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.DataType + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Date + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.DomainResource + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Element + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Extension + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirBoolean + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirDateTime + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirDecimal + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirString + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirUri + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.FhirUrl + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Id + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Identifier + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Instant + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Integer + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Integer64 + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Markdown + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Meta + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Narrative + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Oid + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.OperationOutcome + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.OperationOutcome.IssueComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Parameters + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Parameters.ParameterComponent + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Period + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.PositiveInt + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.PrimitiveType + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Quantity + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Range + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Resource + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.ResourceReference + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Signature + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Time + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.UnsignedInt + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.UsageContext + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.Uuid + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + + + CP0008 + T:Hl7.Fhir.Model.XHtml + lib/net8.0/Hl7.Fhir.Base.dll + lib/net8.0/Hl7.Fhir.Base.dll + true + CP0008 T:Hl7.Fhir.Serialization.BaseTypedElement From 196ea32f10e5e963a30ff63b7086b3d327301fcb Mon Sep 17 00:00:00 2001 From: Ewout Kramer Date: Wed, 20 Nov 2024 09:12:22 +0100 Subject: [PATCH 5/5] More unit tests to fix. --- .../Terminology/LocalTerminologyServiceTests.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Hl7.Fhir.Specification.STU3.Tests/Terminology/LocalTerminologyServiceTests.cs b/src/Hl7.Fhir.Specification.STU3.Tests/Terminology/LocalTerminologyServiceTests.cs index 830ca49c4..c9b334857 100644 --- a/src/Hl7.Fhir.Specification.STU3.Tests/Terminology/LocalTerminologyServiceTests.cs +++ b/src/Hl7.Fhir.Specification.STU3.Tests/Terminology/LocalTerminologyServiceTests.cs @@ -36,7 +36,10 @@ public async Task CodeNotFoundMessageTest(string valueset, string code, string c var withSystem = string.IsNullOrEmpty(system) ? string.Empty : $" from system '{system}'"; var result = await _service.ValueSetValidateCode(parameters.Build()); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"Code '{code}'{withSystem} does not exist in the value set '{valuesetTitle}' ({valueset})")); + .Subject.Value + .IsExactly(new FhirString( + $"Code '{code}'{withSystem} does not exist in the value set '{valuesetTitle}' ({valueset})")) + .Should().BeTrue(); } [DataTestMethod] @@ -50,7 +53,8 @@ public async Task CodingWithValuesetAsSystem(string valueset, string code, strin var result = await _service.ValueSetValidateCode(parameters.Build()); result.Parameter.Should().Contain(p => p.Name == "message") - .Subject.Value.Should().BeEquivalentTo(new FhirString($"The Coding references a value set, not a code system ('{system}')")); + .Subject.Value.IsExactly(new FhirString($"The Coding references a value set, not a code system ('{system}')")) + .Should().BeTrue(); } [TestMethod] @@ -67,7 +71,7 @@ public async Task DefaultCoreServiceTest() var result = await service.ValueSetValidateCode(parameters); result.Parameter.Should().Contain(p => p.Name == "result") - .Subject.Value.Should().BeEquivalentTo(new FhirBoolean(true)); + .Subject.Value.IsExactly(new FhirBoolean(true)).Should().BeTrue(); } } -} +} \ No newline at end of file